This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189359 - PHPUnit 3.5 not recognised
Summary: PHPUnit 3.5 not recognised
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: PHPUnit (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 16:46 UTC by mbeccati
Modified: 2011-07-28 11:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch (1.82 KB, patch)
2011-03-04 14:00 UTC, OndrejBrejla
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mbeccati 2010-08-10 16:46:17 UTC
I'm currently testing PHPUnit 3.5.0RC1 and netbeans integration stopped working since the upgrade. The error message reports that the version is too old and suggests to upgrade to 3.4. 

My guess is that beta or rc tags are breaking the version parser, but of course that's just a guess, I haven't checked the actual code.
Comment 1 Tomas Mysik 2010-08-10 21:16:33 UTC
What's the output of 'phpunit --version' please? Just reopen this issue, do not file a new one.

Thanks.
Comment 2 mbeccati 2010-08-11 21:31:21 UTC
Output is:

PHPUnit 3.5.0RC1 by Sebastian Bergmann.

I can confirm that adding modifying PHPUnit itself to output a space between 3.5.0 and RC1 makes Netbeans happy.

Of course the same issue happens with "3.5.0beta1", etc.
Comment 3 Filip Zamboj 2010-09-15 12:37:56 UTC
batch reassigning
Comment 4 Nox 2010-12-06 21:01:43 UTC
Same for PHPUnit 3.5.5; same OS, PHP 5.3.3 (yay, numbers), PEAR 1.9.0 (I think)
Comment 5 Nox 2011-01-02 17:37:22 UTC
(In reply to comment #4)
> Same for PHPUnit 3.5.5; same OS, PHP 5.3.3 (yay, numbers), PEAR 1.9.0 (I think)

I apologize, my bad, PHPUnit was installed incorrectly
Comment 6 OndrejBrejla 2011-03-04 14:00:24 UTC
Created attachment 106713 [details]
Patch
Comment 7 Petr Pisl 2011-03-04 15:34:56 UTC
The patch was applied.
Comment 8 Quality Engineering 2011-03-08 05:47:02 UTC
Integrated into 'main-golden', will be available in build *201103080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5cab02dc57b5
User: Petr Pisl <ppisl@netbeans.org>
Log: #189359 - PHPUnit 3.5 not recognised