Bug #15910 [Asn->Csd]: Object operator indention not calculated correctly

From: Date: Fri, 11 Sep 2009 00:47:30 +0000
Subject: Bug #15910 [Asn->Csd]: Object operator indention not calculated correctly
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-1602@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=15910&edit=1 ID: 15910 Updated by: gsherwood@squiz.net Reported By: pear at sebastianmendel dot de Summary: Object operator indention not calculated correctly -Status: Assigned +Status: Closed Type: Bug Package: PHP_CodeSniffer PHP Version: 5.2.8 Assigned To: squiz Roadmap Versions: New Comment: -Status: Assigned +Status: Closed Cause of this issue is different. Moving this to a new bug report: bug #16592 Previous Comments: ------------------------------------------------------------------------ [2009-09-11 01:37:29] squiz The accepted changes to the PEAR standard (http://pear.php.net/pepr/pepr-proposal-show.php?id=538) show an example where the first object operator immediately follows the variable. This is assumed by the sniff, which is why it is causing an indentation error. ------------------------------------------------------------------------ [2009-09-10 16:21:34] ricson Code like this: $object ->setBar($foo) ->setFoo($bar); Results in errors like: Object operator not indented correctly; expected 16 spaces but found 12 ------------------------------------------------------------------------ [2009-09-10 16:16:35] cweiske -Status: Closed +Status: Open ------------------------------------------------------------------------ [2009-02-20 00:26:23] squiz -Status: Assigned +Status: Closed This bug has been fixed in CVS. 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. ------------------------------------------------------------------------ [2009-02-19 22:44:52] squiz -Assigned To: +Assigned To: squiz ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://pear.php.net/bugs/bug.php?id=15910 -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=15910&edit=1

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