Skip to content

v0.4.92

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 27 Feb 11:40
v0.4.92
49e5dcd

Fixed

  • Fix issue where newlines adjacent to boolean operators are propagated across closure and ternary boundaries

    Input:

    <?php
    $a = $foo && $bar
        ? $foo($long, $list, $of, $arguments) &&
            $bar($long, $list, $of, $arguments)
        : $b;

    Output (before fix):

    <?php
    $a = $foo &&
        $bar
            ? $foo($long, $list, $of, $arguments) &&
                $bar($long, $list, $of, $arguments)
            : $b;