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

Request #8445 Typo and unreachable code
Submitted: 2006-08-15 12:52 UTC
From: stefanvalouch at googlemail dot com Assigned: jystewart
Status: Closed Package: XML_Feed_Parser (version 1.0.0RC1)
PHP Version: 5.1.4 OS: Debian/GNU Linux Etch
Roadmaps: (Not assigned)    

 [2006-08-15 12:52 UTC] stefanvalouch at googlemail dot com (Stefan Valouch)
Description: ------------ Hi, there is a typo in XML/Feed/Parser/Type.php Line: 53: * Peoxy to allow use of element names as method names should be: * Proxy to allow use of element names as method names then, there is unreachable code in the same file, function combineBases() line 158: [...] return $base . $link; } return $combinedBase; //<--- this return cannever be reached... } File: XML/Feed/Parser.php line : function getEntryById() [...] return $this->feed->getEntryById($id); return false; //<-- unreachable [...] HTH Stefan


 [2006-08-15 13:02 UTC] jystewart at php dot net (James Stewart)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.