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

Bug #15129 Assorted parse errors in tests
Submitted: 2008-11-22 22:45 UTC Modified: 2008-12-16 06:53 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: XML_Feed_Parser (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-11-22 22:45 UTC] doconnor (Daniel O'Connor)
Description: ------------ Parse errors exist in the convertedtests. Test script: --------------- php -l XML_Feed_Parser/tests/convertedtests/atom.php php -l XML_Feed_Parser/tests/convertedtests/date.php php -l XML_Feed_Parser/tests/convertedtests/rss.php php -l XML_Feed_Parser/tests/convertedtests/itunes.php php -l XML_Feed_Parser/tests/convertedtests/lang.php php -l XML_Feed_Parser/tests/convertedtests/encoding.php Actual result: -------------- Parse error: syntax error, unexpected ',', expecting ')' in ./XML_Feed_Parser/tests/convertedtests/encoding.php on line 15 Errors parsing ./XML_Feed_Parser/tests/convertedtests/encoding.php Parse error: syntax error, unexpected ',', expecting ')' in ./XML_Feed_Parser/tests/convertedtests/lang.php on line 422 Errors parsing ./XML_Feed_Parser/tests/convertedtests/lang.php Parse error: syntax error, unexpected T_OBJECT_OPERATOR in ./XML_Feed_Parser/tests/convertedtests/itunes.php on line 202 Errors parsing ./XML_Feed_Parser/tests/convertedtests/itunes.php Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in ./XML_Feed_Parser/tests/convertedtests/rss.php on line 664 Errors parsing ./XML_Feed_Parser/tests/convertedtests/rss.php Parse error: syntax error, unexpected '-', expecting '(' in ./XML_Feed_Parser/tests/convertedtests/date.php on line 1173 Errors parsing ./XML_Feed_Parser/tests/convertedtests/date.php Parse error: syntax error, unexpected ',', expecting ')' in ./XML_Feed_Parser/tests/convertedtests/atom.php on line 147 Errors parsing ./XML_Feed_Parser/tests/convertedtests/atom.php

Comments

 [2008-12-16 06:38 UTC] doconnor (Daniel O'Connor)
Argh, convert-tests!
 [2008-12-16 06:53 UTC] doconnor (Daniel O'Connor)
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. Well, the test data convert-tests used to create unit tests is not in CVS; so I've removed that too