Releases: PHP-CS-Fixer/PHP-CS-Fixer
Releases · PHP-CS-Fixer/PHP-CS-Fixer
v3.57.1 7th Gear
What's Changed
- chore: update PHPDoc in
Preg::matchAll
by @kubawerlos in #8012 - fix: Runner - handle no files while in parallel runner by @keradus in #8015
Full Changelog: v3.57.0...v3.57.1
v3.57.0 7th Gear
What's Changed
Full Changelog: v3.56.2...v3.57.0
v3.56.2 15 Keys Accelerate
v3.56.1 15 Keys Accelerate
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
v3.55.0 15 Keys Accelerate
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
What's Changed
- feat: introduce
PhpUnitAttributesFixer
by @kubawerlos in #7831 - fix: Remove Infection during Docker release by @Wirone in #7937
- fix:
PhpUnitTestClassRequiresCoversFixer
- do not add annotation when there are attributes by @kubawerlos in #7880 - fix:
PhpUnitMethodCasingFixer
- do not double underscore by @kubawerlos in #7949 - fix:
FullyQualifiedStrictTypesFixer
- do not add imports before PHP opening tag by @kubawerlos in #7955 - DX: there is no namespace if there is no PHP code by @kubawerlos in #7953
- DX: cleanup
FullyQualifiedStrictTypesFixerTest
by @kubawerlos in #7954 - DX: Improve internal dist config for Fixer by @Wirone in #7952
- DX: update .gitattributes by @kubawerlos in #7931
- DX: cleanup
PhpdocNoAccessFixerTest
by @kubawerlos in #7933 - test: Ignore PHP version related mutations by @Wirone in #7935
- DX: cleanup
PhpUnitStrictFixerTest
by @kubawerlos in #7938 - DX: Improve issue templates by @Wirone in #7942
- DX: cleanup
PhpUnitMethodCasingFixerTest
by @kubawerlos in #7948 - CI: check if proper array key is declared by @keradus in #7912
- chore: Properly determine self-approval trigger commit by @Wirone in #7936
- chore: Revert ref for self-approval Git checkout by @Wirone in #7944
Full Changelog: v3.53.0...v3.54.0
v3.53.0 15 Keys
What's Changed
- fix:
PhpdocArrayTypeFixer
- JIT stack limit exhausted by @kubawerlos in #7895 - feat:
@PHP84Migration
introduction by @keradus in #7774 - test: Introduce Infection for mutation tests by @Wirone in #7874
- CI: Improve Infection setup by @Wirone in #7913
- chore: Use
list
overarray
in more places by @keradus in #7905 - feat: Add trailing comma in multiline to PER-CS 2.0 by @michaelvickersuk in #7916
- feat: Introduce
AttributeAnalysis
by @HypeMC in #7909 - CI: allow for self-approvals for maintainers by @keradus in #7921
- fix: Constant invocation detected in typed constants by @SharkyKZ in #7892
- DX: reduce
array_filter
function usages by @kubawerlos in #7923 - DX: update
phpstan/phpstan-strict-rules
by @kubawerlos in #7924 - DX: update actions producing warnings by @kubawerlos in #7925
- DX: update actions producing warnings by @kubawerlos in #7928
- DX: remove duplicated character from
trim
call by @kubawerlos in #7930 - CI: no need to trigger enable auto-merge when self-approve by @keradus in #7929
New Contributors
- @michaelvickersuk made their first contribution in #7916
Full Changelog: v3.52.1...v3.53.0
v3.52.1 15 Keys
What's Changed
- fix:
PhpCsFixer\Tokenizer\Tokens::setSize
return type by @kubawerlos in #7900 - fix: StatementIndentationFixer - do not crash on ternary operator in class property by @kubawerlos in #7899
Full Changelog: v3.52.0...v3.52.1
v3.52.0 15 Keys
What's Changed
- feat:
@Symfony:risky
- addno_unreachable_default_argument_value
by @gharlan in #7863 - feat:
PhpCsFixer
ruleset - enablenullable_type_declaration_for_default_null_value
by @mvorisek in #7870 - feat: Add
array_indentation
toPER-CS2.0
ruleset by @VincentLanglet in #7881 - feat: Add support for callable template in PHPDoc parser by @mvorisek in #7084
- fix:
no_useless_concat_operator
- do not break variable by @tamiroh in #7827 - fix:
TokensAnalyzer
- handle unary operator in arrow functions by @kubawerlos in #7862 - fix:
TypeExpression
- fix "JIT stack limit exhausted" error by @kubawerlos in #7843 - fix: Constant invocation detected in DNF types by @SharkyKZ in #7869
- fix: Correctly indent multiline constants and properties by @julienfalque in #7875
- chore: fix PHP 8.4 deprecations by @kubawerlos in #7894
- chore: fix PHPStan 1.10.60 issues by @kubawerlos in #7873
- chore: list over array in more places by @keradus in #7876
- chore: replace template with variable in Preg class by @kubawerlos in #7882
- chore: update PHPStan by @kubawerlos in #7871
- depr:
nullable_type_declaration_for_default_null_value
- deprecate option that is against@PHP84Migration
by @keradus in #7872 - docs: Fix typo by @BenMorel in #7889
New Contributors
Full Changelog: v3.51.0...v3.52.0