Skip to content

Releases: PHP-CS-Fixer/PHP-CS-Fixer

v3.58.1 7th Gear

29 May 16:40
v3.58.1
04e9424
Compare
Choose a tag to compare

What's Changed

  • fix: PhpUnitTestClassRequiresCoversFixer - do not add annotation when attribute with leading slash present by @kubawerlos in #8054
  • fix: ConstantCaseFixer - do not change class constant usages by @kubawerlos in #8055

Full Changelog: v3.58.0...v3.58.1

v3.58.0 7th Gear

28 May 16:55
v3.58.0
55d3483
Compare
Choose a tag to compare

What's Changed

  • feat(GroupImportFixer): Ability to configure which type of imports should be grouped by @Wirone in #8046
  • fix: PhpUnitSizeClassFixer - do not add annotation when there are attributes by @kubawerlos in #8044
  • fix: ConstantCaseFixer - do not change namespace by @kubawerlos in #8004
  • fix: PhpUnitTestClassRequiresCoversFixer - attribute detection when class is readonly by @kubawerlos in #8042
  • fix: PhpUnitAttributesFixer - do not add attribute if already present by @kubawerlos in #8043
  • fix: clear Tokens::$blockStartCache and Tokens::$blockEndCache when calling Tokens::setCode by @kubawerlos in #8051
  • fix: handle PHP closing tag with simplified_null_return correctly by @FeBe95 in #8049
  • chore(doc): Use FQCN for parallel config in documentation by @joelwurtz in #8029
  • chore: RandomApiMigrationFixer - do not modify configuration property by @keradus in #8033
  • chore: update PHPStan by @kubawerlos in #8045
  • chore: fix typo in PhpUnitTestClassRequiresCoversFixerTest by @kubawerlos in #8047
  • chore: Tokens::setCode - further improvements to cache by @keradus in #8053
  • docs: fix deprecated string interpolation style by @FeBe95 in #8036
  • docs: Add missing imports in a cookbook about creating custom rules by @jlecordier in #8031
  • docs: global_namespace_import - simplify allowed config types by @keradus in #8023

New Contributors

Full Changelog: v3.57.2...v3.58.0

v3.57.2 7th Gear

20 May 20:42
v3.57.2
22f7f31
Compare
Choose a tag to compare

What's Changed

  • fix: PhpUnitTestClassRequiresCoversFixer - attribute detection when class is final by @atomiix in #8016
  • fix: Support named args in ParallelConfigFactory::detect() by @Wirone in #8026
  • chore: Report used memory to 2 decimal digits only by @mvorisek in #8017
  • docs: Improve Docker usage example by @Wirone in #8021
  • docs: better ConfigurableFixer allowed types by @keradus in #8024

New Contributors

Full Changelog: v3.57.1...v3.57.2

v3.57.1 7th Gear

15 May 22:01
v3.57.1
3f7efe6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.57.0...v3.57.1

v3.57.0 7th Gear

15 May 14:45
v3.57.0
0d4fcae
Compare
Choose a tag to compare

What's Changed

  • feat: Ability to run Fixer with parallel runner 🎉 by @Wirone in #7777

Full Changelog: v3.56.2...v3.57.0

v3.56.2 15 Keys Accelerate

15 May 14:37
v3.56.2
e8c12f9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.56.1...v3.56.2

v3.56.1 15 Keys Accelerate

10 May 11:31
v3.56.1
69c6168
Compare
Choose a tag to compare

What's Changed

  • chore: improve PHPDoc typehints by @kubawerlos in #7994
  • CI: Better array shape in PhpUnitDedicateAssertFixer (fixes PHPStan/PHP8.3 failures) by @kubawerlos in #7999
  • fix: ConstantCaseFixer - do not touch typed constants by @kubawerlos in #7998

Full Changelog: v3.56.0...v3.56.1

v3.56.0 15 Keys Accelerate

07 May 15:50
v3.56.0
4429303
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.55.0...v3.56.0

v3.55.0 15 Keys Accelerate

06 May 00:10
v3.55.0
c9eeacb
Compare
Choose a tag to compare

What's Changed

  • feat: Introduce OrderedAttributesFixer by @HypeMC and @Wirone in #7395
  • fix: PhpUnitAttributesFixer - fix for #[RequiresPhp] exceeding its constructor parameters by @paulbalandan in #7966
  • DX: Prevent having deprecated fixers listed as successors of other deprecated fixers by @kubawerlos and @Wirone in #7967
  • DX: Resolve/Ignore PHPStan issues on level 6 + bump to level 7 with new baseline by @Wirone in #7971
  • DX: do not typehint fixed-length arrays as lists by @kubawerlos in #7974
  • DX: use list type in PHPDocs by @kubawerlos in #7975
  • DX: allow to enforce cache mechanism by env var by @keradus in #7983
  • CI: Fix calculating diff between branches in PRs by @Wirone in #7973
  • CI: Ad-hoc fix for MacOS jobs by @Wirone in #7970
  • test: don't count comment after class as another classy element by @keradus in #7982
  • chore: RuleSetsTest - assert that Fixer is configurable by @keradus in #7961
  • chore: Tokens should be always a list by @mvorisek in #7698
  • chore: few SCA fixes and dev-tools update by @keradus in #7969
  • chore: Normalize implicit backslahes in single quoted strings internally by @mvorisek in #7786
  • chore: Preg - drop half-support for array-pattern by @keradus in #7976
  • chore: fix PHPDoc types by @keradus in #7977
  • chore: PHPDoc - rely on strict list/tuple/shape instead of array by @keradus in #7978
  • chore: narrow PHPDoc types by @kubawerlos in #7979
  • chore: PhpUnitDataProviderNameFixer - follow config creation pattern by @keradus in #7980
  • chore: re-use CodeHasher by @keradus in #7984
  • chore: syntax sugar by @keradus in #7986

Full Changelog: v3.54.0...v3.55.0

v3.54.0 15 Keys Accelerate

17 Apr 08:16
v3.54.0
2aecbc8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.53.0...v3.54.0