github PHP-CS-Fixer/PHP-CS-Fixer v3.17.0
v3.17.0 Brazilian Kangaroo

latest releases: v3.54.0, v3.53.0, v3.52.1...
11 months ago

What's Changed

  • bug: Allow string quote to be escaped within phpdoc constant by @mvorisek in #6798
  • bug: ConfigurationResolver - fix running without cache by @kubawerlos in #6915
  • bug: Fix array/object shape phpdoc type parse by @mvorisek in #6962
  • bug: Fix FullyQualifiedStrictTypesFixer common prefix bug by @edsrzf in #6898
  • bug: Fix non-parenthesized callable return type parse by @mvorisek in #6961
  • bug: Fix parsing of edge cases phpdoc types by @mvorisek in #6977
  • bug: FullyQualifiedStrictTypesFixer - fix for FQCN type with class with the same name being imported by @kubawerlos in #6923
  • bug: GroupImportFixer - support for aliased imports by @Wirone in #6951
  • bug: MultilineWhitespaceBeforeSemicolonsFixer - fix chained calls by @kubawerlos in #6926
  • bug: MultilineWhitespaceBeforeSemicolonsFixer - fix for discovering multi line calls by @kubawerlos in #6938
  • bug: NoBreakCommentFixer - fix for nested match by @kubawerlos in #6899
  • bug: NoExtraBlankLinesFixer - fix for attribute in abstract function by @kubawerlos in #6920
  • bug: PhpdocTypesFixer - handle types with no space between type and variable by @kubawerlos in #6922
  • bug: PhpUnitMockShortWillReturnFixer - fix for trailing commas by @kubawerlos in #6900
  • bug: StatementIndentationFixer - fix comments at the end of if/elseif/else blocks by @kubawerlos in #6918
  • bug: StatementIndentationFixer - fix for multiline arguments starting with "new" keyword by @kubawerlos in #6913
  • bug: StatementIndentationFixer - fix for multiline arguments starting with "new" keyword preceded by class instantiation by @kubawerlos in #6914
  • bug: VoidReturnFixer - fix for intervening attributes by @paulbalandan in #6863
  • docs: improve code samples for MultilineWhitespaceBeforeSemicolonsFixer by @kubawerlos in #6919
  • docs: improve cookbook by @keradus in #6880
  • DX: add cache related tests by @kubawerlos in #6916
  • DX: Apply self_static_accessor fixer to the project (again) by @Wirone in #6927
  • DX: cancel running builds on subsequent pushes in CI by @staabm in #6940
  • DX: convert more static to self assert calls by @kubawerlos in #6931
  • DX: fix GitHub Actions errors and warnings by @kubawerlos in #6917
  • DX: fix Unsafe call to private method errors reported by PHPStan by @keradus in #6879
  • DX: Improve performance of FunctionsAnalyzer by @staabm in #6939
  • DX: improve test method names to avoid confusion by @kubawerlos in #6974
  • DX: Include self_static_accessor fixer in PhpCsFixer set by @Wirone in #6882
  • DX: make data providers static with straight-forward changes by @kubawerlos in #6907
  • DX: Mark Tokens::getNamespaceDeclarations as @internal by @Wirone in #6949
  • DX: PHPStan improvements by @Wirone in #6868
  • DX: refactor PhpdocAlignFixerTest by @kubawerlos in #6925
  • DX: Remove @inheritdoc PHPDoc by @kubawerlos in #6955
  • DX: Run AutoReview tests only once by @Wirone in #6889
  • DX: simplify EncodingFixer by @kubawerlos in #6956
  • DX: update Symfony rule set by @kubawerlos in #6958
  • DX: Use $tokens->getNamespaceDeclarations() to improve performance by @staabm in #6942
  • DX: use force option for php_unit_data_provider_static in PHPUnit 10.0 migration set by @kubawerlos in #6908
  • DX: use only PHP modules that are required by @kubawerlos in #6954
  • DX: use PHPUnit's "requires" instead of "if" condition by @kubawerlos in #6975
  • feature: [PhpdocAlignFixer] Add support for every tag by @VincentLanglet in #6564
  • feature: Add align_multiline_comment rule to @Symfony by @yguedidi in #6875
  • feature: Add no_null_property_initialization rule to @Symfony by @yguedidi in #6876
  • feature: Add operator_linebreak rule to @Symfony by @yguedidi in #6877
  • feature: add SingleLineEmptyBodyFixer by @kubawerlos in #6933
  • feature: DescribeCommand - allow describing custom fixers by @paulbalandan in #6957
  • feature: Order of PHPDoc @param annotations by @grubersjoe in #3909
  • feature: OrderedTypesFixer - Introduction by @paulbalandan in #6571
  • feature: Parse parenthesized & conditional phpdoc type by @mvorisek in #6796
  • feature: PhpUnitInternalClassFixer - add empty line before PHPDoc by @kubawerlos in #6924
  • minor: align NoSuperfluousPhpdocTagsFixer with actual Symfony configuration by @kubawerlos in #6953
  • minor: do not add empty line in PHPDoc when adding annotation in PHPUnit class by @kubawerlos in #6928
  • minor: PhpdocAlignFixer - support cases with type and variable separated with no space by @kubawerlos in #6921
  • minor: PhpdocSeparationFixer - add integration tests by @kubawerlos in #6929
  • minor: update PHPStan (to fix CI on master branch) by @kubawerlos in #6901
  • minor: Use single Dockerfile with multiple build targets by @patgrudniewski in #6840

New Contributors

Full Changelog: v3.16.0...v3.17.0

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

NewReleases is sending notifications on new releases.