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

Bug #19530 Array to string conversion
Submitted: 2012-07-27 13:37 UTC
From: remicollet Assigned: doconnor
Status: Closed Package: File_Find (version 1.3.1)
PHP Version: 5.4.5 OS: GNU/Linux (Fedora 16)
Roadmaps: (Not assigned)    
Subscription  


 [2012-07-27 13:37 UTC] remicollet (Remi Collet)
Description: ------------ Lot of notices as cast Notice: Array to string conversion in /usr/share/pear/File/Find.php on line 208 It breaks test suite. Trivial patch attached solves this issue. Test script: --------------- pear run-tests -p File_Find Expected result: ---------------- Running 7 tests PASS File_Find::glob()[test/File_Find/tests/01glob.phpt] PASS File_Find::mapTree()[test/File_Find/tests/02maptree.phpt] PASS File_Find::mapTreeMultiple()[test/File_Find/tests/03maptreemultiple.phpt] PASS File_Find::search()[test/File_Find/tests/04search.phpt] PASS File_Find::search() inside another object[test/File_Find/tests/05search_inside.phpt] PASS File_Find::test 'shell' mode patterns[test/File_Find/tests/06match_shell.phpt] PASS File_Find bug #2773[test/File_Find/tests/bug2773.phpt] TOTAL TIME: 00:02 7 PASSED TESTS 0 SKIPPED TESTS Actual result: -------------- Running 7 tests PASS File_Find::glob()[tests/01glob.phpt] PASS File_Find::mapTree()[tests/02maptree.phpt] FAIL File_Find::mapTreeMultiple()[tests/03maptreemultiple.phpt] PASS File_Find::search()[tests/04search.phpt] PASS File_Find::search() inside another object[tests/05search_inside.phpt] PASS File_Find::test 'shell' mode patterns[tests/06match_shell.phpt] FAIL File_Find bug #2773[tests/bug2773.phpt] wrote log to "/home/extras/BUILD/php-pear-File-Find-1.3.1/File_Find-1.3.1/run-tests.log" TOTAL TIME: 00:02 5 PASSED TESTS 0 SKIPPED TESTS 2 FAILED TESTS:

Comments

 [2012-07-27 13:37 UTC] remicollet (Remi Collet)
 [2012-10-23 07:23 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
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.