Repository navigation
Releases: PHP-CS-Fixer/PHP-CS-Fixer
Releases · PHP-CS-Fixer/PHP-CS-Fixer
Release list
v3.95.27 Adalbertus
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
- @gigioneggiando made their first contribution in #9856
Full Changelog: v3.95.26...v3.95.27
v3.95.26 Adalbertus
What's Changed
- perf: Use dedicated sequence matcher in
simplified_if_returnby @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.shin favour ofphpbenchby @keradus in #9849 - docs: do not promote deprecated
pathargument usage with--path-mode=overrideby @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
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
??inAssignNullCoalescingToCoalesceEqualFixerby @calebdw in #9831
New Contributors
Full Changelog: v3.95.24...v3.95.25
v3.95.24 Adalbertus
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
.gitignoreby @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 tonaturalLanguageJoinby @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
What's Changed
Full Changelog: v3.95.22...v3.95.23
v3.95.22 Adalbertus
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- fixstableSort()andsortFixers()template types, remove@phpstan-ignoresuppressions 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
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
NameQualifiedTransformertoken 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
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/vfsstreamby @kubawerlos in #9787 - refactor:
Transformers- move looping over tokens directly into each transformer individually by @keradus in #9782
New Contributors
- @olivier-zenchef made their first contribution in #9762
Full Changelog: v3.95.19...v3.95.20
v3.95.19 Adalbertus
What's Changed
- fix:
ClassDefinitionFixer- keep multiline constructor args when anonymous class has bothextendsandimplementsby @momala454 in #9625 - fix:
SelfStaticAccessorFixer- do not stop fixing a class after astaticreturn 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_CASESby @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- usespl_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
- @sinemacula-ben made their first contribution in #9774
- @semx made their first contribution in #9761
- @momala454 made their first contribution in #9625
- @chriscpty made their first contribution in #9654
Full Changelog: v3.95.18...v3.95.19
v3.95.18 Adalbertus
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_returnby @live627 in #9747 - CI: attach provenance and SBOM attestations to the released image by @kobihikri in #9751
New Contributors
- @kobihikri made their first contribution in #9751
Full Changelog: v3.95.17...v3.95.18