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

Bug #19536 Test suite fails with PHP 5.4
Submitted: 2012-07-31 13:40 UTC
From: remicollet Assigned: alan_k
Status: Closed Package: Mail_mimeDecode
PHP Version: 5.4.5 OS: GNU/Linux (Fedora 17)
Roadmaps: (Not assigned)    
Subscription  


 [2012-07-31 13:40 UTC] remicollet (Remi Collet)
Description: ------------ As E_STRICT is now included in E_ALL, test suite fails. Trivial attached patch solves this minor issue Test script: --------------- pear run-tests -p Mail_mimeDecode Expected result: ---------------- Running 2 tests PASS Tests for _parseHeaderValue[tests/parse_header_value.phpt] PASS Bug #1724 Quoted Semicolons in Content-Type[tests/semicolon_content_type_bug1724.phpt] TOTAL TIME: 00:00 2 PASSED TESTS 0 SKIPPED TESTS Actual result: -------------- Running 2 tests FAIL Tests for _parseHeaderValue[/usr/share/pear/test/Mail_mimeDecode/tests/parse_header_value.phpt] FAIL Bug #1724 Quoted Semicolons in Content-Type[/usr/share/pear/test/Mail_mimeDecode/tests/semicolon_content_type_bug1724.phpt] wrote log to "/root/run-tests.log" TOTAL TIME: 00:01 0 PASSED TESTS 0 SKIPPED TESTS 2 FAILED TESTS: /usr/share/pear/test/Mail_mimeDecode/tests/parse_header_value.phpt /usr/share/pear/test/Mail_mimeDecode/tests/semicolon_content_type_bug1724.phpt

Comments

 [2012-07-31 13:42 UTC] remicollet (Remi Collet)
 [2013-08-05 13:42 UTC] remicollet (Remi Collet)
Note : E_DEPRECATED should also be silent because of preg_replace with /e option used and deprecated in php 5.5
 [2013-08-05 14:16 UTC] alan_k (Alan Knowles)
-Status: Open +Status: Closed -Assigned To: +Assigned To: alan_k
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. see Bug #20027