github lkrms/pretty-php v0.4.91

one day ago

Changed

  • If preserve-one-line is enabled, format multi-line control structures where every if/elseif/else or try/catch/finally statement starts and ends on the same line as follows:

    <?php
    if ($foo) { foo(); }
    elseif ($bar) { bar(); }
    else { baz(); }
  • In pretty-php, use friendly rule names when reporting incompatible rules

Fixed

  • Fix issue where invalid arguments to pretty-php may not be reported if every input file has an associated config file
  • Adopt upstream fix for issue where tabs in the input may not be expanded correctly

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.