PHP CS Fixer v3.9.1 Release Notes
-
- ๐ bug: Add attributes support to
statement_indentation
(#6429) - ๐ bug: BinaryOperatorSpacesFixer - Allow to align
=
inside array definitions (#6444) - ๐ bug: BinaryOperatorSpacesFixer - Fix align of operator with function declaration (#6445)
- ๐ bug: ConstantCaseFixer - Do not touch enum case (#6367)
- ๐ bug: CurlyBracesPositionFixer - multiple elseifs (#6459)
- ๐ bug: Fix #6439 issue in
StaticLambda
fixer (#6440) - ๐ bug: FullOpeningTagFixer - fix substr check for pre PHP8 (#6388)
- ๐ bug: IncrementStyleFixer - NoSpacesInsideParenthesisFixer - prio (#6416)
- ๐ bug: LambdaNotUsedImportFixer must run before MethodArgumentSpaceFixer (#6453)
- ๐ bug: MethodArgumentSpaceFixer - first element in same line, space before comma and inconsistent indent (#6438)
- ๐ bug: NoSuperfluousPhpdocTagsFixer - fix for promoted properties (#6403)
- ๐ bug: StatementIndentationFixer - Fix indentation for multiline traits use (#6402)
- ๐ bug: StrictComparisonFixer must rune before ModernizeStrposFixer (#6455)
- ๐ bug: TokensAnalyzer - fix intersection types considered as binary operator (#6414)
- DX:
ISSUE_TEMPLATE
hints to check applied rules (#6398) - DX: Add more type hints (#6383)
- DX: Fix CI/CD issues (#6411)
- โ DX: cleanup test (#6410)
- ๐ DX: integrate PRLint (#6406)
- ๐ feature: BlankLineBetweenImportGroupsFixer - Introduction (#6365)
- ๐ feature: DateTimeCreateFromFormatCallFixer - Add DateTimeImmutable support (#6350)
- ๐ feature: Extract StatementIndentationFixer from BracesFixer (#5960)
- ๐ feature: ModernizeStrposFixer - fix leading backslash with yoda (#6377)
- ๐ feature: NoExtraBlankLinesFixer - Add
attributes
option - Fix support forenum
case
(#6426) - ๐ feature: NoUnneededControlParenthesesFixer - Fix more cases (#6409)
- ๐ feature: NoUselessNullsafeOperatorFixer - Introduction (#6425)
- ๐ feature: OrderedTrait - Move Phpdoc with trait import (#6361)
- ๐ feature: PhpdocOrderByValueFixer - Allow sorting of mixin annotations by value (#6446)
- ๐ feature: TrailingCommaInMultiline - Add
match
support (#6381) - ๐ minor: Allow Composer Normalize plugin (#6454)
- minor: ExplicitStringVariableFixer - Fix to PHP8.2 compat code (#6424)
- minor: Extract ControlStructureBracesFixer from BracesFixer (#6399)
- minor: NoBinaryStringFixer - Fix more cases (#6442)
- minor: NoSuperfluousPhpdocTagsFixer - Attribute handling (#6382)
- minor: PhpCsFixerSet - Update blank_line_before_statement config (#6389)
- ๐ minor: Remove unnecessary PHP version constraints (#6461)
- minor: SingleImportPerStatementFixer - fix PSR12 set (#6415)
- minor: SingleSpaceAfterConstructFixer - add option
type_colon
(#6434) - minor: SymfonySet - Add SimpleToComplexStringVariableFixer (#6423)
- โก๏ธ minor: Update PHPStan (#6467)
- minor: extract CurlyBracesPositionFixer from BracesFixer (#6452)
- ๐ bug: Add attributes support to