Fork me on GitHub
a Sensio Labs Product

7th Gear (v3.59.3) edition

Rule method_chaining_indentation

Method chaining MUST be properly indented. Method chaining with different levels of indentation is not supported.


Example #1

--- Original
+++ New
-         ->setPassword('233434');
+    ->setPassword('233434');

Rule sets

The rule is part of the following rule set:


The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.