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

Request #14647 Zend standard does not distinguish opening brace on function declarations
Submitted: 2008-09-14 23:40 UTC
From: lucholaf Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.1.0)
PHP Version: 5.2.6 OS: Arch Linux
Roadmaps: (Not assigned)    
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 : 47 + 27 = ?

 
 [2008-09-14 23:40 UTC] lucholaf (Luis Floreani)
Description: ------------ it should alert when the opening brace is on the same line as the function name but doesn't. I Fixed it adding 'Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php' into getIncludedSniffs() on ZendCodingStandard.php

Comments

 [2008-10-23 04:51 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.