Skip to content

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

v3.75.0 Persian Successor

31 Mar 18:41
v3.75.0
399a128
Compare
Choose a tag to compare

What's Changed

  • feat: ClassAttributesSeparationFixer - add support for asymmetric visibility by @kubawerlos in #8518
  • fix: NativeFunctionInvocationFixer - fix for property hooks by @kubawerlos in #8540
  • deps: bump the phpstan group in /dev-tools with 2 updates by @dependabot in #8537
  • chore: FunctionsAnalyzerTest cleanup by @kubawerlos in #8539
  • chore: add return types for data providers for fixers by @kubawerlos in #8542
  • chore: add return types for data providers for non-fixers by @kubawerlos in #8543
  • chore: add return types for remaining data providers by @kubawerlos in #8544
  • chore: make data providers key type string if all the keys are strings by @kubawerlos in #8545
  • chore: SwitchContinueToBreakFixerTest - improve test case descriptions/typehint by @keradus in #8546
  • test: ProjectCodeTest::testDataProvidersDeclaredReturnType - allow for int as iterable keys by @keradus in #8548
  • chore: make data providers key type int if all the keys are strings by @kubawerlos in #8550

Full Changelog: v3.74.0...v3.75.0

v3.74.0 Persian Successor

27 Mar 22:31
v3.74.0
6b7cb12
Compare
Choose a tag to compare

What's Changed

  • feat: add --format=@auto by @keradus in #8513
  • fix: BracesPositionFixer - do not create two consecutive whitespace tokens by @kubawerlos in #8496
  • fix: PhpUnitMethodCasingFixer - do not touch anonymous class by @kubawerlos in #8463
  • fix: PhpUnitAttributesFixer - handle parentheses after data provider method name by @kubawerlos in #8510
  • fix: MbStrFunctionsFixer - fix imports with leading backslash by @kubawerlos in #8507
  • fix: OrderedImportsFixer - fix syntax error with grouped use statement and multiple use with comma by @kubawerlos in #8483
  • fix: OrderedImportsFixer - do not take the braces part in grouped imports into account by @kubawerlos in #8459
  • fix: NoUnreachableDefaultArgumentValueFixer - do not crash on property hook by @kubawerlos in #8512
  • deps: upgrade PHPStan/* by @keradus in #8524
  • CI: fix code coverage job by @kubawerlos in #8520
  • CI: ParaUnit not used under MacOS by @keradus in #8528
  • chore: Preg - improve types by @keradus in #8527
  • chore: update return type of FixerOptionInterface::getAllowedValues by @kubawerlos in #8530
  • chore: make options that have default and allowed sets the same size the same array by @kubawerlos in #8529
  • deps: update PHPStan by @kubawerlos in #8531

Full Changelog: v3.73.1...v3.74.0

v3.73.1 Persian Successor

19 Mar 23:42
v3.73.1
ffcb820
Compare
Choose a tag to compare

What's Changed

  • fix: OrderedClassElementsFixer - do not crash on property hook by @kubawerlos in #8517

Full Changelog: v3.73.0...v3.73.1

v3.73.0 Persian Successor

19 Mar 23:40
v3.73.0
4905eb9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.72.0...v3.73.0

v3.72.0 Persian Successor

13 Mar 11:25
v3.72.0
9003893
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.71.0...v3.72.0

v3.71.0 Persian Successor

07 Mar 23:07
v3.71.0
3825ffd
Compare
Choose a tag to compare

What's Changed

  • feat: OrderedImportsFixer - deprecate length sorting algorithm by @keradus in #8473
  • test: NameQualifiedTransformerTest - correct the test case by @keradus in #8471
  • refactor: add FullyQualifiedNameAnalyzer by @kubawerlos in #8048
  • refactor: codeHash - update when it's (re-)generated by @keradus in #8470
  • refactor: SwitchAnalyzer - improve performance by @keradus in #8407
  • DX: cleanup PhpdocNoAliasTagFixerTest by @kubawerlos in #8476
  • fix: StatementIndentationFixer - return in braceless if by @BergenSoft in #8479
  • chore: update type in SingleSpaceAroundConstructFixerTest::provideFixWithElseIfCases by @kubawerlos in #8481
  • chore: update type in SingleSpaceAroundConstructFixerTest::provideFixWithIfCases by @kubawerlos in #8482
  • fix: SingleSpaceAroundConstructFixer - handle alternative syntax by @timsmid in #8317
  • deps: bump phpstan/phpstan from 2.1.6 to 2.1.7 in /dev-tools in the phpstan group by @dependabot in #8485
  • fix: PhpdocAlignFixer - align correctly type with UTF8 characters by @kubawerlos in #8486
  • fix: BinaryOperatorSpacesFixer - do not break alignment of UTF-8 array keys by @kubawerlos in #8484

New Contributors

Full Changelog: v3.70.2...v3.71.0

v3.70.2 Persian Successor

03 Mar 21:07
v3.70.2
1ca4682
Compare
Choose a tag to compare

What's Changed

  • deps: upgrade deep dev-tools deps by @keradus in #8472
  • fix: MbStrFunctionsFixer must run before NativeFunctionInvocationFixer by @kubawerlos in #8466
  • fix: MethodArgumentSpaceFixer - fix nested calls for ensure_fully_multiline option by @geecu in #8469

New Contributors

Full Changelog: v3.70.1...v3.70.2

v3.70.1 Persian Successor

01 Mar 22:05
v3.70.1
add1b3a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.70.0...v3.70.1

v3.70.0 Persian Successor

22 Feb 23:31
v3.70.0
2ecd5aa
Compare
Choose a tag to compare

What's Changed

  • feat: Add PhpUnitDataProviderMethodOrderFixer fixer by @mvorisek in #8225
  • feat: TypeDeclarationSpacesFixer - Fix whitespace between const type and const name. by @obresoft in #8442
  • feat: PhpCsFixer ruleset: use operator_linebreak rule for all operators by @mvorisek in #8417
  • feat: PhpUnitMethodCasingFixer to support PHPUnit's Test attribute by @obresoft in #8451
  • feat: HeaderCommentFixer - allow validators by @keradus in #8452
  • chore: extend bug report template by @keradus in #8447
  • fix: CommentsAnalyzer - allow other forms of assignment as valid structural elements for phpdocs by @paulbalandan in #8371
  • deps: bump phpstan/phpstan from 2.1.5 to 2.1.6 in /dev-tools in the phpstan group by @dependabot in #8453
  • deps: bump alpine from 3.21.2 to 3.21.3 by @dependabot in #8454
  • chore: extend bug report template - more installation options by @keradus in #8450
  • CI: phpstan-symfony - add entry point for console by @keradus in #8292
  • fix: PhpUnitTestClassRequiresCoversFixer must run before PhpUnitAttributesFixer by @kubawerlos in #8444
  • test: fix CheckCommandTest::testDryRunModeIsUnavailable to correctly check that option --dry-run is unavailable by @kubawerlos in #8438

New Contributors

Full Changelog: v3.69.1...v3.70.0

v3.69.1 Persian Successor

18 Feb 23:57
v3.69.1
13b0c0e
Compare
Choose a tag to compare

What's Changed

  • fix: PhpUnitAttributesFixer - convert correctly version constraint by @kubawerlos in #8439
  • test: PhpUnitAttributesFixer must run before NoEmptyPhpdocFixer by @kubawerlos in #8443

Full Changelog: v3.69.0...v3.69.1