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

Bug #19005 remove error_reporting (for PEAR QA team)
Submitted: 2011-11-14 23:57 UTC
From: danielc Assigned: danielc
Status: Closed Package: HTML_Progress2 (version SVN)
PHP Version: 5.4.0alpha1 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-11-14 23:57 UTC] danielc (Daniel Convissor)
Description: ------------ Hi: The PEAR Quality Assurance team is working to get all unit tests passing in all PEAR packages. We will then collaborate with the PHP QA team to get PEAR's unit tests onto PHP's Continuous Integration server, which will be running the latest versions of PHP 5.3, 5.4 and trunk. The goal is to improve PHP's stability and quality. Your help is needed, please. In a moment I will attach a patch removing error_reporting settings from your package. Please apply this patch as soon as possible. These changes are necessary for several reasons, some of which include: * What is contained in E_ALL shifts over time. * Some test runs need to suppress deprecated behaviors. * Some test runs seek deprecated and or strict errors. Error reporting levels should be set when executing the test suite. Here are examples: PEAR RUN-TEST: cd /path/to/package pear run-tests -i "-d error_reporting=22527" -r tests PHPUNIT: cd /path/to/package phpunit -d error_reporting=22527 tests/AllTests PHP RUN-TESTS: cd /path/to/package php /path/to/run-tests.php -d error_reporting=22527 tests Thank you for making PEAR and PHP better, --Dan

Comments

 [2011-11-14 23:58 UTC] danielc (Daniel Convissor)
Added patch qa.
 [2011-11-16 19:20 UTC] doconnor (Daniel O'Connor)
This one is unmaintained, feel free to apply / migrate to github
 [2011-11-16 19:31 UTC] danielc (Daniel Convissor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: danielc