github PHP-CS-Fixer/PHP-CS-Fixer v2.16.5
v2.16.5 Yellow Bird

latest releases: v3.54.0, v3.53.0, v3.52.1...
3 years ago
  • bug #4378 PhpUnitNoExpectationAnnotationFixer - annotation in single line doc comment (kubawerlos)
  • bug #4936 HeaderCommentFixer - Fix unexpected removal of regular comments (julienfalque)
  • bug #5006 PhpdocToParamTypeFixer - fix for breaking PHP syntax for type having reserved name (kubawerlos)
  • bug #5016 NoSuperfluousPhpdocTagsFixer - fix for @return with @inheritdoc in description (kubawerlos)
  • bug #5017 PhpdocTrimConsecutiveBlankLineSeparationFixer - must run after AlignMultilineCommentFixer (kubawerlos)
  • bug #5032 SingleLineAfterImportsFixer - fix for line after import (and before another import) already added using CRLF (kubawerlos)
  • bug #5033 VoidReturnFixer - must run after NoSuperfluousPhpdocTagsFixer (kubawerlos)
  • bug #5038 HelpCommandTest - toString nested array (SpacePossum)
  • bug #5040 LinebreakAfterOpeningTagFixer - do not change code if linebreak already present (kubawerlos)
  • bug #5044 StandardizeIncrementFixer - fix handling static properties (kubawerlos)
  • bug #5045 BacktickToShellExecFixer - add priority relation to NativeFunctionInvocationFixer and SingleQuoteFixer (kubawerlos)
  • bug #5054 PhpdocTypesFixer - fix for multidimensional array (kubawerlos)
  • bug #5065 TernaryOperatorSpacesFixer - fix for discovering ":" correctly (kubawerlos)
  • bug #5068 Fixed php-cs-fixer crashes on input file syntax error (GrahamCampbell)
  • bug #5087 NoAlternativeSyntaxFixer - add support for switch and declare (SpacePossum)
  • bug #5092 PhpdocToParamTypeFixer - remove not used option (SpacePossum)
  • bug #5105 ClassKeywordRemoveFixer - fix for fully qualified class (kubawerlos)
  • bug #5113 TernaryOperatorSpacesFixer - handle goto labels (SpacePossum)
  • bug #5124 Fix TernaryToNullCoalescingFixer when dealing with object properties (HypeMC)
  • bug #5137 DoctrineAnnotationSpacesFixer - fix for typed properties (kubawerlos)
  • bug #5180 Always lint test cases with the stricter process linter (GrahamCampbell)
  • bug #5190 PhpUnit*Fixers - Only fix in unit test class scope (SpacePossum)
  • bug #5195 YodaStyle - statements in braces should be treated as variables in strict … (SpacePossum)
  • bug #5220 NoUnneededFinalMethodFixer - do not fix private constructors (SpacePossum)
  • feature #3475 Rework documentation (julienfalque, SpacePossum)
  • feature #5166 PHP8 (SpacePossum)
  • minor #4878 ArrayIndentationFixer - refactor (julienfalque)
  • minor #5031 CI: skip_cleanup: true (keradus)
  • minor #5035 PhpdocToParamTypeFixer - Rename attribute (SpacePossum)
  • minor #5048 Allow composer/semver ^2.0 and ^3.0 (thomasvargiu)
  • minor #5050 DX: moving integration test for braces, indentation_type and no_break_comment into right place (kubawerlos)
  • minor #5051 DX: move all tests from AutoReview\FixerTest to Test\AbstractFixerTestCase (kubawerlos)
  • minor #5053 DX: cleanup FunctionTypehintSpaceFixer (kubawerlos)
  • minor #5056 DX: add missing priority test for indentation_type and phpdoc_indent (kubawerlos)
  • minor #5077 DX: add missing priority test between NoUnsetCastFixer and BinaryOperatorSpacesFixer (kubawerlos)
  • minor #5083 Update composer.json to prevent issue #5030 (mvorisek)
  • minor #5088 NoBreakCommentFixer - NoUselessElseFixer - priority test (SpacePossum)
  • minor #5100 Fixed invalid PHP 5.6 syntax (GrahamCampbell)
  • minor #5106 Symfony's finder already ignores vcs and dot files by default (GrahamCampbell)
  • minor #5112 DX: check file permissions (kubawerlos, SpacePossum)
  • minor #5122 Show runtime PHP version (kubawerlos)
  • minor #5132 Do not allow assignments in if statements (SpacePossum)
  • minor #5133 RuleSetTest - Early return for boolean and detect more defaults (SpacePossum)
  • minor #5139 revert some unneeded exclusions (SpacePossum)
  • minor #5148 Upgrade Xcode (kubawerlos)
  • minor #5149 NoUnsetOnPropertyFixer - risky description tweaks (SpacePossum)
  • minor #5161 minors (SpacePossum)
  • minor #5170 Fix test on PHP8 (SpacePossum)
  • minor #5172 Remove accidentally inserted newlines (GrahamCampbell)
  • minor #5173 Fix PHP8 RuleSet inherit (SpacePossum)
  • minor #5174 Corrected linting error messages (GrahamCampbell)
  • minor #5177 PHP8 (SpacePossum)
  • minor #5178 Fix tests (SpacePossum)
  • minor #5184 [FinalStaticAccessFixer] Handle new static() in final class (localheinz)
  • minor #5188 DX: Update sibling debs to version supporting PHP8/PHPUnit9 (keradus)
  • minor #5189 Create temporary linting file in system temp dir (keradus)
  • minor #5191 MethodArgumentSpaceFixer - support use/import of anonymous functions. (undefinedor)
  • minor #5193 DX: add AbstractPhpUnitFixer (kubawerlos)
  • minor #5204 DX: cleanup NullableTypeTransformerTest (kubawerlos)
  • minor #5207 Add © for logo (keradus)
  • minor #5208 DX: cleanup php-cs-fixer entry file (keradus)
  • minor #5210 CICD - temporarily disable problematic test (keradus)
  • minor #5211 CICD: fix file permissions (keradus)
  • minor #5213 DX: move report schemas to dedicated dir (keradus)
  • minor #5214 CICD: fix file permissions (keradus)
  • minor #5215 CICD: update checkbashisms (keradus)
  • minor #5217 CICD: use Composer v2 and drop hirak/prestissimo plugin (keradus)
  • minor #5218 DX: .gitignore - add .phpunit.result.cache (keradus)
  • minor #5222 Upgrade Xcode (kubawerlos)
  • minor #5223 Docs: regenerate docs on 2.16 line (keradus)

Don't miss a new PHP-CS-Fixer release

NewReleases is sending notifications on new releases.