
method_chaining_indentation
¶Method chaining MUST be properly indented. Method chaining with different levels of indentation is not supported.
--- Original
+++ New
@@ -1,3 +1,3 @@
<?php
$user->setEmail('[email protected]')
- ->setPassword('233434');
+ ->setPassword('233434');
The rule is part of the following rule set:
Using the @PhpCsFixer rule set will enable the method_chaining_indentation
rule.