Edit report at http://pear.php.net/bugs/bug.php?id=18135&edit=1

ID: 18135
Updated by: gsherwood@squiz.net
Reported By: gerald dot buchgraber at gmail dot com
Summary: Generic FunctionCallArgumentSpacingSniff reports
function declaration errors
-Status: Open
+Status: Closed
Type: Bug
Package: PHP_CodeSniffer
Package Version: 1.3.0RC1
PHP Version: Irrelevant
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: squiz
This bug has been fixed in SVN.

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.

Previous Comments:

[2010-12-22 11:39:26] buchi

The sniff "Generic_Sniffs_Functions_FunctionCallArgumentSpacingSniff"
reports missing spaces around "=" for lines like:

protected function &_myFunc($arg=null) {

but this sniff shall just check function calls and NOT function
declarations. obviously the "&" before the function name is the problem.


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedJan 10, '11 at 5:59a
activeJan 10, '11 at 5:59a

1 user in discussion

Gsherwood: 1 post



site design / logo © 2022 Grokbase