Closed elkhasa closed 3 months ago
Example code:
<?php declare(strict_types=1); class A { public function art(): mixed { $a = $aq->withRow($q)->name; $b = $aq->withRow($q)->getName($s); $c = $aq->withRow($q)->withOtherRow($s)->name; return $a + $b - $c; } }
Expected result after running MethodChainingNewLineFixer:
<?php declare(strict_types=1); class A { public function art(): mixed { $a = $aq->withRow($q) ->name; $b = $aq->withRow($q) ->getName($s); $c = $aq->withRow($q) ->withOtherRow($s) ->name; return $a + $b - $c; } }
Reality:
Example code:
Expected result after running MethodChainingNewLineFixer:
Reality: