Bug #16592 [Opn]: Object operator indention incorrect when first operator is on a new line
| From: | gsherwood at squiz dot net | Date: | Fri, 11 Sep 2009 00:48:08 +0000 |
| Subject: | Bug #16592 [Opn]: Object operator indention incorrect when first operator is on a new line | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1603@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16592&edit=1
ID: 16592
Updated by: gsherwood@squiz.net
Reported By: gsherwood at squiz dot net
Summary: Object operator indention incorrect when first
operator is on a new line
Status: Open
Type: Bug
Package: PHP_CodeSniffer
Package Version: 1.2.0
PHP Version: Irrelevant
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: squiz
Originally reported as bug #15910
Previous Comments:
------------------------------------------------------------------------
[2009-09-11 01:47:01] squiz
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.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16592&edit=1