Releases: PHP-CS-Fixer/PHP-CS-Fixer
Releases · PHP-CS-Fixer/PHP-CS-Fixer
v3.64.0 Space Sets
What's Changed
- feat: Update PSR2, PSR12 and PER-CS2 with
single_space_after_...
config by @SpacePossum in #8171 - feat: Symfony.trailing_comma_in_multiline - adjust configuration by @keradus in #8161
- feat: Symfony - adjust configuration for sets by @keradus in #8188
- CI: Update PHPStan to 1.12.0 and fix the error that appeared by @kubawerlos in #8184
Full Changelog: v3.63.2...v3.64.0
v3.63.2 7th Gear
What's Changed
- fix:
FullyQualifiedStrictTypesFixer
- reset cache even if there is nouse
by @kubawerlos in #8183
Full Changelog: v3.63.1...v3.63.2
v3.63.1 7th Gear
Full Changelog: v3.63.0...v3.63.1
v3.63.0 7th Gear
What's Changed
- feat:
SingleImportPerStatementFixer
- remove braces for single import by @javaDeveloperKid in #8156 - feat: Add
array_destructuring
as option fortrailing_comma_in_multiline
by @SpacePossum in #8172 - feat: TrailingCommaInMultilineFixer - dynamically evaluate config against PHP version by @keradus in #8167
- fix:
PhpUnitAttributesFixer
- fix priorities withPhpUnitDataProvider(.+)Fixer
by @paulbalandan in #8169 - fix: Do not shorten FQN for class resolution if imported symbol is not a class by @Wirone in #7705
- fix: Ensure PHP binary path is used as a single CLI argument in parallel worker process by @BertvanHoekelen in #8180
- chore: add tags for data providers that changes PHPStan's baseline by @kubawerlos in #8178
- chore: add
@return
tags for data providers already having PHPDoc by @kubawerlos in #8176 - chore: add
@return
tags for data providers that do not have array in data by @kubawerlos in #8179 - chore: remove
beStrictAboutTodoAnnotatedTests
from PHPUnit's config by @kubawerlos in #8160 - chore: remove duplicates from data providers by @kubawerlos in #8164
- chore: remove/update duplicates from data providers that are copies in code by @kubawerlos in #8145
- CI: Update PHPStan to 1.11.10 by @kubawerlos in #8163
- CI: Update PHPStan to 1.11.11 and fix error that changed by @kubawerlos in #8174
- docs: fix indent on rule date_time_create_from_format_call by @maxhelias in #8173
New Contributors
- @javaDeveloperKid made their first contribution in #8156
- @maxhelias made their first contribution in #8173
- @BertvanHoekelen made their first contribution in #8180
Full Changelog: v3.62.0...v3.63.0
v3.62.0 7th Gear
What's Changed
- chore: NewWithParenthesesFixer - create TODO to change the default configuration to match PER-CS2 by @keradus in #8148
- feat: set new_with_parentheses for anonymous_class to false in PER-CS2.0 by @bonroyage in #8140
New Contributors
- @bonroyage made their first contribution in #8140
Full Changelog: v3.61.1...v3.62.0
v3.61.1 7th Gear
What's Changed
- fix:
NoSuperfluousPhpdocTagsFixer
- fix "Undefined array key 0" error by @kubawerlos in #8150
Full Changelog: v3.61.0...v3.61.1
v3.61.0 7th Gear
What's Changed
- feat: no_superfluous_phpdoc_tags - also cover ?type by @keradus in #8125
- feat: support PHPUnit v9.1 naming for some asserts by @krzysztof-ciszewski in #7997
- fix: Do not mangle non-whitespace token in
PhpdocIndentFixer
by @blyxxyz in #8147 - DX: add more typehints for
class-string
by @kubawerlos in #8139 - DX: refactor
ProjectCodeTest::provideDataProviderMethodCases
by @kubawerlos in #8138
New Contributors
- @krzysztof-ciszewski made their first contribution in #7997
- @blyxxyz made their first contribution in #8147
Full Changelog: v3.60.0...v3.61.0
v3.60.0 7th Gear
What's Changed
- feat:
PhpUnitAttributesFixer
- add option to keep annotations by @kubawerlos in #8090 - feat: Add sprintf in the list of compiler optimized functions by @stof in #8092
- chore: cleanup
TokensAnalyzerTest
by @kubawerlos in #8123 - chore: cleanup tests that had required PHP 7.4 ages ago by @kubawerlos in #8122
- chore: fix example issue reported by reportPossiblyNonexistentGeneralArrayOffset from PHPStan by @keradus in #8089
- chore: NoSuperfluousPhpdocTagsFixer - no need to call heavy toComparableNames method to add null type by @keradus in #8132
- chore: PHPStan 11 array rules by @keradus in #8011
- chore: PhpUnitSizeClassFixerTest - solve PHP 8.4 issues by @keradus in #8105
- chore: reduce PHPStan errors in PhpUnitAttributesFixer by @keradus in #8091
- chore: reuse test methods by @kubawerlos in #8119
- CI: check autoload by @kubawerlos in #8121
- CI: Update PHPStan to 1.11.8 by @kubawerlos in #8133
- deps: upgrade dev-tools by @keradus in #8102
- DX: check for duplicated test data by @kubawerlos in #8131
- DX: check for duplicated test methods (as AutoReview test) by @kubawerlos in #8134
- DX: check for duplicated test methods by @kubawerlos in #8124
- DX: do not exclude duplicates that are clearly mistakes by @kubawerlos in #8135
- DX: Dump
offsetAccess.notFound
errors to baseline by @Wirone in #8107 - fix:
no_useless_concat_operator
- do not break variable (2) by @tamiroh in #7927 - fix:
NullableTypeDeclarationFixer
- don't convert standalonenull
into nullable union type by @kayw-geek in #8098 - fix:
NullableTypeDeclarationFixer
- don't convert standaloneNULL
into nullable union type by @kubawerlos in #8111 - fix:
NullableTypeDeclarationFixer
- insert correct token by @kubawerlos in #8118 - fix:
PhpUnitAttributesFixer
- handle multiple annotations of the same name by @kubawerlos in #8075 - fix: Better way of walking types in
TypeExpression
by @mvorisek in #8076 - fix: CI for PHP 8.4 by @kubawerlos in #8114
- fix: update
TokensTest
to shrink PHPStan's baseline by @kubawerlos in #8112
Full Changelog: v3.59.3...v3.60.0
v3.59.3 7th Gear
What's Changed
Full Changelog: v3.59.2...v3.59.3