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

Bug #16450 Constant PHP_CODESNIFFER_VERBOSITY already defined (unit tests)
Submitted: 2009-07-18 18:06 UTC
From: doconnor Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version CVS)
PHP Version: 5.2.5 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2009-07-18 18:06 UTC] doconnor (Daniel O'Connor)
Description: ------------ See http://www.lauken.com/doconnor/phpunit_results.txt Test script: --------------- Run unit tests on trunk Expected result: ---------------- Tests pass Actual result: -------------- 1) testSupressSomeErrors(Core_ErrorSupressionTest) Constant PHP_CODESNIFFER_VERBOSITY already defined /home/clockwerx/pear-svn/packages/PHP_CodeSniffer/trunk/CodeSniffer.php:165 /home/clockwerx/pear-svn/packages/PHP_CodeSniffer/trunk/tests/Core/ErrorSupressionTest.php:78 /home/clockwerx/pear-svn/packages/PHP_CodeSniffer/trunk/tests/TestSuite.php:48 /home/clockwerx/pear-svn/packages/PHP_CodeSniffer/trunk/tests/AllTests.php:60 /home/clockwerx/pear-svn/packages/PHP_CodeSniffer/trunk/tests/AllTests.php:92 and 165 friends

Comments

 [2009-07-18 19:26 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
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. My new dev setup didn't have error reporting set to E_ALL :) Thanks for picking this up.