PHP CS Fixer v2.16.2 Release Notes

Release Date: 2020-04-10 // about 4 years ago
    • πŸ› bug #3820 Braces - (re)indenting comment issues (SpacePossum)
    • πŸ› bug #3911 PhpdocVarWithoutNameFixer - fix for properties only (dmvdbrugge)
    • πŸ› bug #4601 ClassKeywordRemoveFixer - Fix for namespace (yassine-ah, kubawerlos)
    • πŸ› bug #4630 FullyQualifiedStrictTypesFixer - Ignore partial class names which look like FQCNs (localheinz, SpacePossum)
    • πŸ› bug #4661 ExplicitStringVariableFixer - variables pair if one is already explicit (kubawerlos)
    • πŸ› bug #4675 NonPrintableCharacterFixer - fix for backslash and quotes when changing to escape sequences (kubawerlos)
    • πŸ› bug #4678 TokensAnalyzer::isConstantInvocation - fix for importing multiple classes with single "use" (kubawerlos)
    • πŸ› bug #4682 Fix handling array type declaration in properties (julienfalque)
    • πŸ› bug #4685 Improve Symfony 5 compatibility (keradus)
    • πŸ› bug #4688 TokensAnalyzer::isConstantInvocation - Fix detection for fully qualified return type (julienfalque)
    • πŸ› bug #4689 DeclareStrictTypesFixer - fix for "strict_types" set to "0" (kubawerlos)
    • πŸ› bug #4690 PhpdocVarAnnotationCorrectOrderFixer - fix for multiline @var without type (kubawerlos)
    • πŸ› bug #4710 SingleTraitInsertPerStatement - fix formatting for multiline "use" (kubawerlos)
    • πŸ› bug #4711 Ensure that files from "tests" directory in release are autoloaded (kubawerlos)
    • bug #4749 TokensAnalyze::isUnaryPredecessorOperator fix for CT::T_ARRAY_INDEX_C… (SpacePossum)
    • πŸ› bug #4759 Add more priority cases (SpacePossum)
    • πŸ› bug #4761 NoSuperfluousElseifFixer - handle single line (SpacePossum)
    • πŸ› bug #4783 NoSuperfluousPhpdocTagsFixer - fix for really big PHPDoc (kubawerlos, mvorisek)
    • πŸ› bug #4787 NoUnneededFinalMethodFixer - Mark as risky (SpacePossum)
    • πŸ› bug #4795 OrderedClassElementsFixer - Fix (SpacePossum)
    • πŸ› bug #4801 GlobalNamespaceImportFixer - fix docblock handling (gharlan)
    • πŸ› bug #4804 TokensAnalyzer::isUnarySuccessorOperator fix for array curly braces (SpacePossum)
    • πŸ› bug #4807 IncrementStyleFixer - handle after ")" (SpacePossum)
    • πŸ› bug #4808 Modernize types casting fixer array curly (SpacePossum)
    • bug #4809 Fix "braces" and "method_argument_space" priority (julienfalque)
    • πŸ› bug #4813 BracesFixer - fix invalid code generation on alternative syntax (SpacePossum)
    • bug #4822 fix 2 bugs in phpdoc_line_span (lmichelin)
    • πŸ› bug #4823 ReturnAssignmentFixer - repeat fix (SpacePossum)
    • πŸ› bug #4824 NoUnusedImportsFixer - SingleLineAfterImportsFixer - fix priority (SpacePossum)
    • πŸ› bug #4825 GlobalNamespaceImportFixer - do not import global into global (SpacePossum)
    • bug #4829 YodaStyleFixer - fix precedence for T_MOD_EQUAL and T_COALESCE_EQUAL (SpacePossum)
    • πŸ› bug #4830 TernaryToNullCoalescingFixer - handle yield from (SpacePossum)
    • bug #4835 Remove duplicate "function_to_constant" from RuleSet (SpacePossum)
    • bug #4840 LineEndingFixer - T_CLOSE_TAG support, StringLineEndingFixer - T_INLI… (SpacePossum)
    • πŸ› bug #4846 FunctionsAnalyzer - better isGlobalFunctionCall detection (SpacePossum)
    • πŸ› bug #4852 Priority issues (SpacePossum)
    • πŸ› bug #4870 HeaderCommentFixer - do not remove class docs (gharlan)
    • πŸ› bug #4871 NoExtraBlankLinesFixer - handle cases on same line (SpacePossum)
    • bug #4895 Fix conflict between header_comment and declare_strict_types (BackEndTea, julienfalque)
    • πŸ› bug #4911 PhpdocSeparationFixer - fix regression with lack of next line (keradus)
    • πŸ”‹ feature #4742 FunctionToConstantFixer - get_class($this) support (SpacePossum)
    • minor #4377 CommentsAnalyzer - fix for declare before header comment (kubawerlos)
    • minor #4636 DX: do not check for PHPDBG when collecting coverage (kubawerlos)
    • πŸ“„ minor #4644 Docs: add info about "-vv..." (voku)
    • πŸ‘· minor #4691 Run Travis CI on stable PHP 7.4 (kubawerlos)
    • πŸ‘· minor #4693 Increase Travis CI Git clone depth (julienfalque)
    • minor #4699 LineEndingFixer - handle "\r\r\n" (kubawerlos)
    • minor #4703 NoSuperfluousPhpdocTagsFixer,PhpdocAddMissingParamAnnotationFixer - p… (SpacePossum)
    • ✏️ minor #4707 Fix typos (TysonAndre)
    • minor #4712 NoBlankLinesAfterPhpdocFixer β€” Do not strip newline between docblock and use statements (mollierobbert)
    • minor #4715 Enhancement: Install ergebnis/composer-normalize via Phive (localheinz)
    • πŸ— minor #4722 Fix Circle CI build (julienfalque)
    • minor #4724 DX: Simplify installing PCOV (kubawerlos)
    • minor #4736 NoUnusedImportsFixer - do not match variable name as import (SpacePossum)
    • 🚚 minor #4746 NoSuperfluousPhpdocTagsFixer - Remove for typed properties (PHP 7.4) (ruudk)
    • minor #4753 Do not apply any text/.git filters to fixtures (mvorisek)
    • βœ… minor #4757 Test $expected is used before $input (SpacePossum)
    • minor #4758 Autoreview the PHPDoc of *Fixer::getPriority based on the priority map (SpacePossum)
    • βœ… minor #4765 Add test on some return types (SpacePossum)
    • 🚚 minor #4766 Remove false test skip (SpacePossum)
    • 🚚 minor #4767 Remove useless priority comments (kubawerlos)
    • βœ… minor #4769 DX: add missing priority tests (kubawerlos)
    • ⚑️ minor #4772 NoUnneededFinalMethodFixer - update description (kubawerlos)
    • minor #4774 DX: simplify Utils::camelCaseToUnderscore (kubawerlos)
    • minor #4781 NoUnneededCurlyBracesFixer - handle namespaces (SpacePossum)
    • πŸ‘· minor #4784 Travis CI - Use multiple keyservers (ktomk)
    • minor #4785 Improve static analysis (enumag)
    • πŸ”§ minor #4788 Configurable fixers code sample (SpacePossum)
    • minor #4791 Increase PHPStan level to 3 (julienfalque)
    • minor #4797 clean ups (SpacePossum)
    • minor #4803 FinalClassFixer - Doctrine\ORM\Mapping as ORM alias should not be required (localheinz)
    • minor #4839 2.15 - clean ups (SpacePossum)
    • πŸ‘ minor #4842 ReturnAssignmentFixer - Support more cases (julienfalque)
    • minor #4843 NoSuperfluousPhpdocTagsFixer - fix typo in option description (OndraM)
    • minor #4844 Same requirements for descriptions (SpacePossum)
    • minor #4849 Increase PHPStan level to 5 (julienfalque)
    • minor #4850 Fix phpstan (SpacePossum)
    • βœ… minor #4857 Fixed the unit tests (GrahamCampbell)
    • βœ… minor #4865 Use latest xcode image (GrahamCampbell)
    • minor #4892 CombineNestedDirnameFixer - Add space after comma (julienfalque)
    • minor #4894 DX: PhpdocToParamTypeFixer - improve typing (keradus)
    • βœ… minor #4898 FixerTest - yield the data in AutoReview (Nyholm)
    • πŸ‘» minor #4899 Fix exception message format for fabbot.io (SpacePossum)
    • πŸ‘ minor #4905 Support composer v2 installed.json files (GrahamCampbell)
    • πŸš€ minor #4906 CI: use Composer stable release for AppVeyor (kubawerlos)
    • minor #4909 DX: HeaderCommentFixer - use non-aliased version of option name in code (keradus)
    • minor #4912 CI: Fix AppVeyor integration (keradus)