Skip to content

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

v3.95.27 Adalbertus

Choose a tag to compare

@keradus keradus released this 22 Sep 09:55
v3.95.27
1d0c68e

What's Changed

  • refactor: more moderate permissions for newly created cache file/directory by @keradus in #9852
  • chore: add TODO to split class with too many responsibilities by @keradus in #9853
  • fix: refuse a symlinked cache path in FileHandler to avoid arbitrary file overwrite by @gigioneggiando in #9856
  • fix: SimplifiedIfReturnFixer - fix whitespace before ; as well by @live627 in #9857
  • fix: validate value types in Cache::fromJson so a corrupt cache rebuilds instead of crashing by @gigioneggiando in #9855
  • docs: FullyQualifiedStrictTypesFixer - document attribute handling in example by @keradus in #9859

New Contributors

Full Changelog: v3.95.26...v3.95.27

v3.95.26 Adalbertus

Choose a tag to compare

@keradus keradus released this 19 Sep 19:04
v3.95.26
11839df

What's Changed

  • perf: Use dedicated sequence matcher in simplified_if_return by @live627 in #9763
  • DX: add XDEBUG for PHP 8.5 docker build by @keradus in #9841
  • chore: stalebot - exclude RTM labels by @keradus in #9843
  • chore: ConfigInterface - document TODO for v4 by @keradus in #9845
  • chore: drop benchmark.sh in favour of phpbench by @keradus in #9849
  • docs: do not promote deprecated path argument usage with --path-mode=override by @keradus in #9850
  • docs: simpler docs for parallel execution, as it's default one nowadays by @keradus in #9851
  • deps: update dev deps by @keradus in #9848
  • deps: bump dev-deps by @keradus in #9840
  • deps: explicitly expect PHPUnit 13.3+ over 13.0.x by @keradus in #9842

Full Changelog: v3.95.25...v3.95.26

v3.95.25 Adalbertus

Choose a tag to compare

@keradus keradus released this 08 Sep 11:11
v3.95.25
2cdfc1f

What's Changed

  • deps: bump phpstan/phpstan from 2.2.9 to 2.2.12 in /dev-tools in the phpstan group by @dependabot[bot] in #9822
  • deps: bump crate-ci/typos from 1.49.0 to 1.50.1 in /.github/workflows in the all group across 1 directory by @dependabot[bot] in #9824
  • deps: bump shipmonk/dead-code-detector from 1.3.3 to 1.4.0 in /dev-tools in the shipmonk group across 1 directory by @dependabot[bot] in #9823
  • fix: IsNullFixer - handle is_null() calls using named arguments by @lazerg in #9828
  • fix: IsNullFixer - do not fix is_null() calls using argument unpacking by @lazerg in #9830
  • UX: init - use outlined messages by @keradus in #9826
  • fix: handle missing terminator after ?? in AssignNullCoalescingToCoalesceEqualFixer by @calebdw in #9831

New Contributors

Full Changelog: v3.95.24...v3.95.25

v3.95.24 Adalbertus

Choose a tag to compare

@keradus keradus released this 31 Aug 15:31
v3.95.24
9a4b805

What's Changed

  • fix: ControlStructureBracesFixer - do not read a body starting with a parenthesis as a condition by @xirvik in #9815
  • UX: init - add handling of .gitignore by @keradus in #9813
  • UX: init - add sections by @keradus in #9819
  • UX: init - command improvements by @keradus in #9807
  • UX: init - improve wording by @keradus in #9820
  • UX: init command - suggest php_unit_test_case_static_method_calls rule by @Amoifr in #9810
  • chore: DescribeCommand - replace dynamic method calls with explicit ones by @kubawerlos in #9817
  • chore: PhpdocOrderFixer - fix type of duplicated tags passed to naturalLanguageJoin by @kubawerlos in #9818
  • chore: Fixer name must not be empty by @keradus in #9756
  • CI: fix warning - Unexpected input(s) 'extensions' by @keradus in #9809
  • CI: introduce PHPBench by @keradus in #9755
  • refactor: init - move content preparation to helper method by @keradus in #9812

New Contributors

Full Changelog: v3.95.23...v3.95.24

v3.95.23 Adalbertus

Choose a tag to compare

@keradus keradus released this 26 Aug 19:55
v3.95.23
b2932a5

What's Changed

  • fix: FunctionsAnalyzer - detect return type of a closure with a use clause by @lazerg in #9806

Full Changelog: v3.95.22...v3.95.23

v3.95.22 Adalbertus

Choose a tag to compare

@keradus keradus released this 24 Aug 10:37
v3.95.22
482722e

What's Changed

  • fix: StaticLambdaFixer - do not make a lambda static when it is the direct subject of bindTo() or call() by @Amoifr in #9802
  • chore: Utils - fix stableSort() and sortFixers() template types, remove @phpstan-ignore suppressions by @kubawerlos in #9798
  • chore: Implement PHPStan Preg::replaceCallback() extension by @kubawerlos in #9799
  • deps: bump phpstan/phpstan from 2.2.8 to 2.2.9 by @kubawerlos in #9797

New Contributors

Full Changelog: v3.95.21...v3.95.22

v3.95.21 Adalbertus

Choose a tag to compare

@keradus keradus released this 21 Aug 17:04
v3.95.21
1228a1c

What's Changed

  • fix: StatementIndentationFixer - do not treat ternary colon as block start by @lazerg in #9795
  • perf: Introduce new candidate check for transformers by @live627 in #9770
  • perf: Optimize NameQualifiedTransformer token insertion by @live627 in #9759
  • CI: add BC check by @keradus in #9791
  • deps: upgrade dev-tools by @keradus in #9793

Full Changelog: v3.95.20...v3.95.21

v3.95.20 Adalbertus

Choose a tag to compare

@keradus keradus released this 19 Aug 16:28
v3.95.20
4d6c988

What's Changed

  • fix: PsrAutoloadingFixer - do not throw when the file cannot be resolved on disk by @olivier-zenchef in #9762
  • test: NoUnusedImportsFixerTest - add new cases around quoted values by @keradus in #9784
  • test: drop mikey179/vfsstream by @kubawerlos in #9787
  • refactor: Transformers - move looping over tokens directly into each transformer individually by @keradus in #9782

New Contributors

Full Changelog: v3.95.19...v3.95.20

v3.95.19 Adalbertus

Choose a tag to compare

@keradus keradus released this 17 Aug 16:24
v3.95.19
8a06c4a

What's Changed

  • fix: ClassDefinitionFixer - keep multiline constructor args when anonymous class has both extends and implements by @momala454 in #9625
  • fix: SelfStaticAccessorFixer - do not stop fixing a class after a static return type by @sinemacula-ben in #9774
  • fix: binary_operator_spaces alignment for nested single-line arrays in multiline array by @chriscpty in #9654
  • chore: Runner - ignore coverage of non-deterministic parallel branches by @kubawerlos in #9785
  • chore: Fix incorrect URL in CommentsAnalyzer.php docblock by @live627 in #9772
  • CI: fix using PHP_CS_FIXER_FAST_LINT_TEST_CASES by @kubawerlos in #9783
  • deps: bump phpstan/phpstan from 2.2.7 to 2.2.8 in /dev-tools in the phpstan group by @dependabot[bot] in #9779
  • deps: bump squizlabs/php_codesniffer from 4.0.1 to 4.0.4 in /dev-tools by @dependabot[bot] in #9768
  • deps: bump the all group across 1 directory with 2 updates by @dependabot[bot] in #9767
  • test: AbstractFixerTestCase - use spl_object_id() to fix PHP 8.6 deprecations by @kubawerlos in #9786
  • test: introduce TestCaseUtils::createTemporaryDirectory() helper by @kubawerlos in #9788
  • test: ProjectCodeTest - restore the duplicate check in data providers by @semx in #9761

New Contributors

Full Changelog: v3.95.18...v3.95.19

v3.95.18 Adalbertus

Choose a tag to compare

@keradus keradus released this 30 Jul 15:46
v3.95.18
a8b4e42

What's Changed

  • deps: bump the phpstan group in /dev-tools with 2 updates by @dependabot[bot] in #9748
  • deps: update dev-tools by @keradus in #9754
  • perf: Limit token search in simplified_if_return by @live627 in #9747
  • CI: attach provenance and SBOM attestations to the released image by @kobihikri in #9751

New Contributors

Full Changelog: v3.95.17...v3.95.18