PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Testing » PHPUnit2 » Bug #5860

missing parse errors after lint

Details

Request #5860missing parse errors after lint
Submitted2005-11-03 22:52 UTC
Fromghostwwinside at gmx dot net
Assignedsebastian
StatusClosed
PackagePHPUnit2
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2005-11-03 22:52 UTC] ghostwwinside at gmx dot net

Description:
------------
if one of the test cases fails the lint check (php -l),
the error messages are suppressed.
(see PHPUnit2\Util\Fileloader.php for details)
please add them to the output, for my part is a option ok too.
thx.

[2005-12-01 13:55 UTC] kodmasin at gmail dot com

I also had this problem. From my point of view fix is easy but maybe am I missing something. Just throw exception with $output variable as message.

Also in my case I had to change 'php -l' to 'php -ln' (-n - do not use php.ini) to get errors. There is also problem with right path because you have just 'php' in shell_execute.

I have also added "-n" to first line phpunit (#!/usr/local/bin/php -n).

[2005-12-29 10:09 UTC] sebastian at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.