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

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)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 40 - 12 = ?

 [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.


 [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 by the end of next Sunday (CET). If this was a problem with the 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.