| 123456789101112131415161718192021222324252627282930 |
- ====================================
- Rule ``method_chaining_indentation``
- ====================================
- Method chaining MUST be properly indented. Method chaining with different levels
- of indentation is not supported.
- Examples
- --------
- Example #1
- ~~~~~~~~~~
- .. code-block:: diff
- --- Original
- +++ New
- @@ -1,3 +1,3 @@
- <?php
- $user->setEmail('voff.web@gmail.com')
- - ->setPassword('233434');
- + ->setPassword('233434');
- Rule sets
- ---------
- The rule is part of the following rule set:
- @PhpCsFixer
- Using the ``@PhpCsFixer`` rule set will enable the ``method_chaining_indentation`` rule.
|