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

Bug #18657 anonymous functions wrongly indented
Submitted: 2011-07-08 17:17 UTC
From: cweiske Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.3.0)
PHP Version: 5.3.6 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-07-08 17:17 UTC] cweiske (Christian Weiske)
Description: ------------ When using anonymous functions, they are shown as wrongly indented: class a function c() { $this->doSomething( function () { echo 123; } ); } } This is related to bug #16961. Actual result: -------------- error - Line indented incorrectly; expected 8 spaces, found 12

Comments

 [2011-08-05 09:41 UTC] squiz (Greg Sherwood)
-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.