github lkrms/pretty-php v0.4.13

latest releases: v0.4.72, v0.4.71, v0.4.70...
15 months ago

Removed

  • Remove Laravel-specific formatting rules (--preset laravel output is unchanged):
    • space-after-fn
    • space-after-not
    • no-concat-spaces

Fixed

  • Fix undesirable output when preserving newlines between brackets

    Previously:

    <?php
    $a = $b->c
        ($d);

    Became:

    $a = $b->c(
        $d
    );

    And with --preset laravel, this:

    <?php
    function a($b)
    {
        c();
    }

    Became:

    <?php
    function a($b
    ) {
        c();
    }
  • Fix issue where indentation settings are not printed by --print-config

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.