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

Bug #12909 Default generateDocs function does not work under linux
Submitted: 2008-01-15 00:10 UTC
From: thing2b Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.0.0)
PHP Version: Irrelevant OS: Linux
Roadmaps: 1.0.1    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 18 + 47 = ?

 
 [2008-01-15 00:10 UTC] thing2b (Paul Smith)
Description: ------------ Default generateDocs function does not work under linux. This is because Linux files are case sensitive. The following: public function generateDocs($standard, array $sniffs=array(), $generator='text') Should be replaced with the following: public function generateDocs($standard, array $sniffs=array(), $generator='Text') This is bacause the file is CodeSniffer\DocGenerators\Test.php not CodeSniffer\DocGenerators\test.php Actual result: -------------- The class PHP_CodeSniffer_DocGenerators_Text

Comments

 [2008-01-19 09:45 UTC] squiz (Greg Sherwood)
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.