Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.4.2

Bug #17823 Notice: Please no longer include "PHPUnit/Framework.php".
Submitted: 2010-08-26 15:15 UTC
From: konafets Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.3.0a1)
PHP Version: 5.3.3 OS: OSX 10.6
Roadmaps: (Not assigned)    
Subscription  


 [2010-08-26 15:15 UTC] konafets (Stefano Kowalke)
Description: ------------ I use PHPCS together with the PHPUnit 3.5.0RC1 and got this error: Notice: Please no longer include "PHPUnit/Framework.php". in /usr/lib/php/PHPUnit/Framework.php on line 51 I remove the inlude in PHP_CodeSniffer/tests/TestSuite.php and the error is gone. I am not sure what happens if you remove this in PHPCS and use this togehter with PHPUnit 3.4.x. so I assume you have to implement an detection for the PHPUnit version.

Comments

 [2010-08-27 03:54 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
This bug has been fixed in SVN. 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. It does not appear to cause any issues in the current stable version, so I just removed it.