Bug #16592 [Asn]: Object operator indentation incorrect when first operator is on a new line

From: Date: Fri, 11 Sep 2009 00:50:04 +0000
Subject: Bug #16592 [Asn]: Object operator indentation incorrect when first operator is on a new line
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-1604@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 +Summary: Object operator indentation incorrect when first operator is on a new line Status: Assigned Type: Bug Package: PHP_CodeSniffer Package Version: 1.2.0 PHP Version: Irrelevant Assigned To: squiz Roadmap Versions: New Comment: -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 Previous Comments: ------------------------------------------------------------------------ [2009-09-11 01:48:08] squiz -Assigned To: +Assigned To: squiz Originally reported as bug #15910 ------------------------------------------------------------------------ [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

« previous php.pear.bugs (#1604) next »