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