Skip to content

v0.4.91

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Feb 00:27
v0.4.91
31f416c

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