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

Bug #16592 Object operator indentation incorrect when first operator is on a new line
Submitted: 2009-09-11 05:47 UTC
From: squiz Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version 1.2.0)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2009-09-11 05:47 UTC] squiz (Greg Sherwood)
Description: ------------ The indentation of the object operator is not checked if it is on a different line than the variable it references. In this case, indentation rules are also checked incorrectly for subsequent object operators because the sniff assumes the first in the chain is always on the same line as the variable.

Comments

 [2009-09-11 05:48 UTC] squiz (Greg Sherwood)
-Assigned To: +Assigned To: squiz
Originally reported as bug #15910
 [2009-09-11 05:50 UTC] squiz (Greg Sherwood)
-Summary: Object operator indention incorrect when first operator is on a new line +Summary: Object operator indentation incorrect when first operator is on a new line
 [2009-09-29 09:07 UTC] squiz (Greg Sherwood)
-Status: Assigned +Status: Closed
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.