Skip to content

v0.4.87

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jan 05:20
· 51 commits to main since this release
v0.4.87
5af7575

Changed

  • Don't place coalesce operators (??) at the end of the line when --operators-last is given

Fixed

  • Fix issue where newlines are not suppressed inside parentheses in DNF types

  • Fix issue where code from adjacent scopes may have the same indentation

    <?php
    
    // Before:
    $foo = bar('foo',
        'bar')
        ->baz();
    
    function ($foo,
        $bar) {
        baz();
    };
    
    // After:
    $foo = bar('foo',
            'bar')
        ->baz();
    
    function ($foo,
            $bar) {
        baz();
    };
  • Fix issue where only the last constructor in the document with a promoted parameter is formatted correctly

  • Fix issue where lists with leading delimiters may not be aligned when align-lists is enabled