Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.4.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  


 [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.