Skip to content

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

v3.43.1 Three Keys

29 Dec 09:42
v3.43.1
91c0b47
Compare
Choose a tag to compare

What's Changed

  • fix: Import only unique symbols' short names by @Wirone in #7635

Full Changelog: v3.43.0...v3.43.1

v3.43.0 Three Keys

28 Dec 17:36
v3.43.0
39b5632
Compare
Choose a tag to compare

What's Changed

  • feat: add cast_spaces into @PER-CS2.0 by @keradus in #7625
  • feat: Configurable phpDoc tags for FQCN processing by @Wirone in #7628
  • feat: StatementIndentationFixer - introduce stick_comment_to_next_continuous_control_statement config by @keradus in #7624
  • feat: UnaryOperatorSpacesFixer - introduce only_dec_inc config by @keradus in #7626
  • fix: FullyQualifiedStrictTypesFixer - better support annotations in inline {} by @keradus in #7633
  • fix: Improve how FQCN is handled in phpDoc by @Wirone in #7622
  • fix: phpdoc_align - fix multiline tag alignment issue by @keradus in #7630
  • chore: change base of @Symfony set to @PER-CS2.0 by @keradus in #7627
  • chore: PHPUnit - allow for v10 by @keradus in #7606
  • chore: Preg - rework catching the error by @keradus in #7616
  • chore: Revert unneeded peer-dep-pin and re-gen lock file by @GrahamCampbell in #7618
  • docs: drop extra note about 8.0.0 bug in README.md by @keradus in #7614

Full Changelog: v3.42.0...v3.43.0

v3.42.0 Three Keys

24 Dec 14:38
v3.42.0
632ef1b
Compare
Choose a tag to compare

What's Changed

  • feat: Ability to import FQCNs found during analysis by @Wirone in #7597
  • feat: add phpDoc support for fully_qualified_strict_types fixer by @Jadro007 and @Wirone in #5620
  • feat: Handle deprecated rule sets similarly to deprecated fixers by @Wirone in #7288
  • feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v10 methods by @keradus in #7604
  • feat: Support more FQCNs cases in fully_qualified_strict_types by @SpacePossum and @Wirone in #7459
  • feat(EXPERIMENTAL): ClassKeywordFixer by @keradus in #2918
  • feat(EXPERIMENTAL): ClassKeywordFixer, part 2 by @keradus in #7550
  • feat(PhpdocToCommentFixer): Add option to handle return as valid docblock usage (#7401) by @f1amy in #7402
  • fix: AbstractFixerTestCase - fix checking for correct casing by @kubawerlos in #7540
  • fix: Better OS detection in integration tests by @mvorisek in #7547
  • fix: NativeTypeDeclarationCasingFixe - handle static property without type by @kubawerlos in #7589
  • chore: aim to not rely on internal array pointer but use array_key_first by @keradus in #7613
  • chore: deprecate Token::isKeyCaseSensitive by @keradus in #7599
  • chore: deprecate Token::isKeyCaseSensitive, 2nd part by @keradus in #7601
  • chore: do not check PHP_VERSION_ID by @kubawerlos in #7602
  • chore: FileFilterIteratorTest - more accurate type in docs by @keradus in #7542
  • chore: minor code cleanup by @keradus in #7607
  • chore: more types by @keradus in #7598
  • chore: PHPDoc key-value spacing by @keradus in #7592
  • chore: PHPUnit - run defects first by @keradus in #7570
  • chore: ProjectCodeTest - DRY on Tokens creation by @keradus in #7574
  • chore: ProjectCodeTest - prepare for symfony/console v7 by @keradus in #7605
  • chore: ProjectCodeTest::provide*ClassCases to return iterable with key for better tests execution log by @keradus in #7572
  • chore: ProjectCodeTest::testDataProvidersDeclaredReturnType - use better DataProvider to simplify test logic by @keradus in #7573
  • chore: TokensAnalyzer - string-enum for better typehinting by @keradus in #7571
  • chore: unify tests not agnostic of PHP version by @kubawerlos in #7581
  • chore: use ::class more by @keradus in #7545
  • CI: Introduce composer-unused by @Wirone in #7536
  • DX: add types to anonymous functions by @kubawerlos in #7561
  • DX: Allow running smoke tests within Docker runtime by @Wirone in #7608
  • DX: check fixer's options for wording by @kubawerlos in #7543
  • DX: cleanup deprecation message by @kubawerlos in #7576
  • DX: do not allow overriding constructor of PHPUnit\Framework\TestCase by @kubawerlos in #7563
  • DX: do not import ExpectDeprecationTrait in UtilsTest by @kubawerlos in #7562
  • DX: Enforce consistent naming in tests by @kubawerlos in #7556
  • DX: fix checking test class extends PhpCsFixer\Tests\TestCase by @kubawerlos in #7567
  • DX: make sure that exceptions in AbstractFixerTestCase::testProperMethodNaming are not already fixed by @kubawerlos in #7588
  • DX: remove PhpUnitNamespacedFixerTest::testClassIsFixed by @kubawerlos in #7564
  • DX: remove symfony/phpunit-bridge by @kubawerlos in #7578
  • DX: remove recursion from AbstractIntegrationTestCase::testIntegration by @kubawerlos in #7577
  • DX: replace fixture classes with anonymous ones by @kubawerlos in #7533
  • DX: Unify Docker mount points and paths by @Wirone in #7549
  • DX: unify fixer's test method names - quick wins by @kubawerlos in #7584
  • DX: unify tests for casing fixers by @kubawerlos in #7558
  • DX: use anonymous function over concrete classes by @kubawerlos in #7553
  • test: AutoReview - unify data provider returns by @keradus in #7544
  • test: check to have DataProviders code agnostic of PHP version by @keradus in #7575

New Contributors

Full Changelog: v3.41.1...v3.42.0

v3.41.1 Long Night

10 Dec 19:59
v3.41.1
8b6ae8d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.41.0...v3.41.1

v3.41.0 Long Night

08 Dec 22:54
v3.41.0
7d8d18e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.40.2...v3.41.0

v3.40.2 I ate three cookies 🍪

03 Dec 09:21
v3.40.2
4344562
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.40.1...v3.40.2

v3.40.1 I ate three cookies 🍪

02 Dec 23:18
v3.40.1
7002f09
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.40.0...v3.40.1

v3.40.0 I ate three cookies 🍪

26 Nov 09:26
v3.40.0
27d2b32
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.39.1...v3.40.0

v3.39.1 Getting Ready

24 Nov 22:59
v3.39.1
857046d
Compare
Choose a tag to compare

What's Changed

  • DX: introduce SwitchAnalyzer by @kubawerlos in #7456
  • test: Improve ExplicitIndirectVariableFixerTest by @Wirone in #7451
  • fix: NoExtraBlankLinesFixer - do not remove blank line after ? : throw by @kubawerlos in #7457
  • fix: OrderedInterfacesFixer - do not comment out interface by @kubawerlos in #7464

Full Changelog: v3.39.0...v3.39.1

v3.39.0 Getting Ready

22 Nov 11:20
v3.39.0
04bf7b2
Compare
Choose a tag to compare

What's Changed

  • 🎉 feat: Introduce @PHP83Migration ruleset and PHP 8.3 integration test by @Wirone in #7439
  • 🎉 chore: Add support for Symfony 7 by @VincentLanglet in #7453
  • docs: drop list.rst and code behind it by @keradus in #7436
  • DX: more usage of spaceship operator by @keradus in #7438
  • docs: remove Gitter mentions by @smnandre in #7441
  • CI: early compatibility checks with Symfony 7 by @keradus in #7431
  • chore: IntegrationTest - move support of php< requirement to main Integration classes by @keradus in #7448
  • DX: Ability to run Fixer on PHP8.3 for development by @Wirone in #7449
  • DX: Docker clean up by @Wirone in #7450
  • DX: Put Preg's last error message in exception message by @danog in #7443
  • DX: describe command - for rules, list also sets that are including them by @keradus in #7419
  • test: Improve AbstractIntegrationTestCase description by @Wirone in #7452
  • CI: drop Symfony ^7 incompat exceptions of php-coveralls and cli-executor by @keradus in #7455

New Contributors

Full Changelog: v3.38.2...v3.39.0