github lkrms/pretty-php v0.4.41

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

Added

  • Add experimental drupal preset (available via --preset drupal)

Changed

  • Review files excluded by default when running from the command line
    • The default regex is now case sensitive: /\/(\.git|\.hg|\.svn|_?build|dist|vendor)\/$/
    • Files in **/tests*/ and **/var/ are no longer excluded by default

Fixed

  • Fix issue where indentation is incorrect when arguments to new static(... break over multiple lines

  • Fix same issue with isset() lists

    Before:

    <?php
    isset($a,
    $b);

    After:

    <?php
    isset($a,
        $b);

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.