PHP CS Fixer v2.17.1 Release Notes

Release Date: 2020-12-08 // 3 months ago
    • πŸ› bug #5325 NoBreakCommentFixer - better throw handling (SpacePossum)
    • πŸ› bug #5327 StaticLambdaFixer - fix for arrow function used in class with $this (kubawerlos, SpacePossum)
    • πŸ› bug #5332 Fix file missing for php8 (jderusse)
    • πŸ› bug #5333 Fix file missing for php8 (jderusse)
    • πŸ—„ minor #5328 Fixed deprecation message version (GrahamCampbell)
    • minor #5330 DX: cleanup Github Actions configs (kubawerlos)

Previous changes from v2.17.0

    • πŸ› bug #4752 SimpleLambdaCallFixer - bug fixes (SpacePossum)
    • πŸ› bug #4794 TernaryToElvisOperatorFixer - fix open tag with echo (SpacePossum)
    • bug #5084 Fix for variables within string interpolation in lambda_not_used_import (GrahamCampbell)
    • πŸ› bug #5094 SwitchContinueToBreakFixer - do not support alternative syntax (SpacePossum)
    • πŸ”‹ feature #2619 PSR-5 @inheritdoc support (julienfalque)
    • πŸ”‹ feature #3253 Add SimplifiedIfReturnFixer (Slamdunk, SpacePossum)
    • πŸ”‹ feature #4005 GroupImportFixer - introduction (greeflas)
    • feature #4012 BracesFixer - add "allow_single_line_anonymous_class_with_empty_body" option (kubawerlos)
    • πŸ”‹ feature #4021 OperatorLinebreakFixer - Introduction (kubawerlos, SpacePossum)
    • πŸ”‹ feature #4259 PsrAutoloadingFixer - introduction (kubawerlos)
    • πŸ”‹ feature #4375 extend ruleset "@PHP73Migration" (gharlan)
    • πŸ”‹ feature #4435 SingleSpaceAfterConstructFixer - Introduction (localheinz)
    • 🏷 feature #4493 Add echo_tag_syntax rule (mlocati, kubawerlos)
    • πŸ”‹ feature #4544 SimpleLambdaCallFixer - introduction (keradus)
    • πŸ”‹ feature #4569 PhpdocOrderByValueFixer - Introduction (localheinz)
    • πŸ”‹ feature #4590 SwitchContinueToBreakFixer - Introduction (SpacePossum)
    • πŸ”‹ feature #4679 NativeConstantInvocationFixer - add "strict" flag (kubawerlos)
    • πŸ”‹ feature #4701 OrderedTraitsFixer - introduction (julienfalque)
    • πŸ”‹ feature #4704 LambdaNotUsedImportFixer - introduction (SpacePossum)
    • πŸ”‹ feature #4740 NoAliasLanguageConstructCallFixer - introduction (SpacePossum)
    • πŸ”‹ feature #4741 TernaryToElvisOperatorFixer - introduction (SpacePossum)
    • πŸ”‹ feature #4778 UseArrowFunctionsFixer - introduction (gharlan)
    • πŸ”‹ feature #4790 ArrayPushFixer - introduction (SpacePossum)
    • πŸ”‹ feature #4800 NoUnneededFinalMethodFixer - Add "private_methods" option (SpacePossum)
    • πŸ”‹ feature #4831 BlankLineBeforeStatementFixer - add yield from (SpacePossum)
    • πŸ”‹ feature #4832 NoUnneededControlParenthesesFixer - add yield from (SpacePossum)
    • πŸ”‹ feature #4863 NoTrailingWhitespaceInStringFixer - introduction (gharlan)
    • πŸ”‹ feature #4875 ClassAttributesSeparationFixer - add option for no new lines between properties (adri, ruudk)
    • πŸ”‹ feature #4880 HeredocIndentationFixer - config option for indentation level (gharlan)
    • πŸ”‹ feature #4908 PhpUnitExpectationFixer - update for Phpunit 8.4 (ktomk)
    • πŸ”‹ feature #4942 OrderedClassElementsFixer - added support for abstract method sorting (carlalexander, SpacePossum)
    • feature #4947 NativeConstantInvocation - Add "PHP_INT_SIZE" to SF rule set (kubawerlos)
    • πŸ”‹ feature #4953 Add support for custom differ (paulhenri-l, SpacePossum)
    • πŸ”‹ feature #5264 CleanNamespaceFixer - Introduction (SpacePossum)
    • πŸ”‹ feature #5280 NoUselessSprintfFixer - Introduction (SpacePossum)
    • minor #4634 Make all options snake_case (kubawerlos)
    • πŸ—„ minor #4667 PhpUnitOrderedCoversFixer - stop using deprecated fixer (keradus)
    • πŸ—„ minor #4673 FinalStaticAccessFixer - deprecate (julienfalque)
    • minor #4762 Rename simple_lambda_call to regular_callable_call (julienfalque)
    • ⚑️ minor #4782 Update RuleSets (SpacePossum)
    • minor #4802 Master cleanup (SpacePossum)
    • πŸ—„ minor #4828 Deprecate Config::create() (DocFX)
    • minor #4872 Update RuleSet SF and PHP-CS-Fixer with new config for `no_extra_blan… (SpacePossum)
    • minor #4900 Move "no_trailing_whitespace_in_string" to SF ruleset. (SpacePossum)
    • minor #4903 Docs: extend regular_callable_call rule docs (keradus, SpacePossum)
    • minor #4910 Add use_arrow_functions rule to PHP74Migration:risky set (keradus)
    • πŸ—„ minor #5025 PhpUnitDedicateAssertInternalTypeFixer - deprecate "target" option (kubawerlos)
    • πŸ‘• minor #5037 FinalInternalClassFixer- Rename option (SpacePossum)
    • βœ… minor #5093 LambdaNotUsedImportFixer - add heredoc test (SpacePossum)
    • minor #5163 Fix CS (SpacePossum)
    • πŸ“¦ minor #5169 PHP8 care package master (SpacePossum)
    • βœ… minor #5186 Fix tests (SpacePossum)
    • minor #5192 GotoLabelAnalyzer - introduction (SpacePossum)
    • minor #5230 Fix: Reference (localheinz)
    • πŸ‘ minor #5240 PHP8 - Allow trailing comma in parameter list support (SpacePossum)
    • πŸ— minor #5244 Fix 2.17 build (keradus)
    • πŸ‘ minor #5251 PHP8 - match support (SpacePossum)
    • ⚑️ minor #5252 Update RuleSets (SpacePossum)
    • πŸ‘ minor #5278 PHP8 constructor property promotion support (SpacePossum)
    • πŸ‘ minor #5284 PHP8 - Attribute support (SpacePossum)
    • βœ… minor #5323 NoUselessSprintfFixer - Fix test on PHP5.6 (SpacePossum)
    • πŸ‘ minor #5326 DX: relax composer requirements to not block installation under PHP v8, support for PHP v8 is not yet ready (keradus)