v3.60.0
版本发布时间: 2024-07-25 17:27:12
PHP-CS-Fixer/PHP-CS-Fixer最新发布版本:v3.64.0(2024-08-31 07:09:51)
What's Changed
- feat:
PhpUnitAttributesFixer
- add option to keep annotations by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8090 - feat: Add sprintf in the list of compiler optimized functions by @stof in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8092
- chore: cleanup
TokensAnalyzerTest
by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8123 - chore: cleanup tests that had required PHP 7.4 ages ago by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8122
- chore: fix example issue reported by reportPossiblyNonexistentGeneralArrayOffset from PHPStan by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8089
- chore: NoSuperfluousPhpdocTagsFixer - no need to call heavy toComparableNames method to add null type by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8132
- chore: PHPStan 11 array rules by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8011
- chore: PhpUnitSizeClassFixerTest - solve PHP 8.4 issues by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8105
- chore: reduce PHPStan errors in PhpUnitAttributesFixer by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8091
- chore: reuse test methods by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8119
- CI: check autoload by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8121
- CI: Update PHPStan to 1.11.8 by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8133
- deps: upgrade dev-tools by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8102
- DX: check for duplicated test data by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8131
- DX: check for duplicated test methods (as AutoReview test) by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8134
- DX: check for duplicated test methods by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8124
- DX: do not exclude duplicates that are clearly mistakes by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8135
- DX: Dump
offsetAccess.notFound
errors to baseline by @Wirone in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8107 - fix:
no_useless_concat_operator
- do not break variable (2) by @tamiroh in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7927 - fix:
NullableTypeDeclarationFixer
- don't convert standalonenull
into nullable union type by @kayw-geek in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8098 - fix:
NullableTypeDeclarationFixer
- don't convert standaloneNULL
into nullable union type by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8111 - fix:
NullableTypeDeclarationFixer
- insert correct token by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8118 - fix:
PhpUnitAttributesFixer
- handle multiple annotations of the same name by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8075 - fix: Better way of walking types in
TypeExpression
by @mvorisek in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8076 - fix: CI for PHP 8.4 by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8114
- fix: update
TokensTest
to shrink PHPStan's baseline by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8112
Full Changelog: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.59.3...v3.60.0
1、 php-cs-fixer.phar 3.05MB
2、 php-cs-fixer.phar.asc 566B