Repository navigation
New Features 🎉
- NoExtraBlankLines: support
parenthesis_brace_block,square_brace_blockandattributetokens in blink (#430), thanks to @Arkounay - Run each of the 132 fixable slevomat sniffs in blink against the PHP engine in parity CI (#427)
Bugfixes 🐛
Blink parity fixes - identical output to the PHP engine on a 10,390-file Symfony project with PHP-CS-Fixer's @Symfony rules, thanks to @Arkounay
- ClassAttributesSeparation: move a member written on the line of its attribute or docblock below it, like PHP-CS-Fixer (#429)
- PhpdocAlign: read tag types with PHP-CS-Fixer's
TypeExpressionregex; unmatched lines are left alone and end the aligned group (#431) - NoWhitespaceBeforeCommaInArray, MethodArgumentSpace: treat array destructuring like PHP-CS-Fixer (#432)
- NoSuperfluousPhpdocTags: remove untyped tags and tags that only lack
nullagainst the native type (#433) - SwitchCaseSpace: fix the cases of a switch even when its
defaultis already tidy (#434) - NoUnneededControlParentheses: check every parenthesis pair, not only the whole operand (#435)
Blink slevomat fixes, thanks to @mwernaert
- NullableTypeForNullDefaultValue, ParameterTypeHintSpacing: no more panic on
use functionimports (#424, #422) - UselessSemicolon: keep the semicolon after
new readonly class {}and attributed anonymous classes (#425, #423) - ClassConstantTypeHint, UnusedUses and other sniffs: find the body of a backed enum (#426)