github lkrms/pretty-php v0.4.46

latest releases: v0.4.74, v0.4.73, v0.4.72...
10 months ago

Changed

  • Remove align-lists from the laravel preset

  • Don't force newlines between boolean operators and negated expressions

    Before:

    <?php
    foo(bar() &&
        qux() &&
        quux() &&
        !(
            quuux() ||
            quuuux()
        ));

    After:

    <?php
    foo(bar() &&
        qux() &&
        quux() && !(
            quuux() ||
            quuuux()
        ));

Fixed

  • Fix sort-imports issue where traits inserted into enums are sorted in error

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.