v3.52.0
版本发布时间: 2024-03-19 02:40:25
PHP-CS-Fixer/PHP-CS-Fixer最新发布版本:v3.57.1(2024-05-16 06:01:21)
What's Changed
- feat:
@Symfony:risky
- addno_unreachable_default_argument_value
by @gharlan in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7863 - feat:
PhpCsFixer
ruleset - enablenullable_type_declaration_for_default_null_value
by @mvorisek in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7870 - feat: Add
array_indentation
toPER-CS2.0
ruleset by @VincentLanglet in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7881 - feat: Add support for callable template in PHPDoc parser by @mvorisek in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7084
- fix:
no_useless_concat_operator
- do not break variable by @tamiroh in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7827 - fix:
TokensAnalyzer
- handle unary operator in arrow functions by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7862 - fix:
TypeExpression
- fix "JIT stack limit exhausted" error by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7843 - fix: Constant invocation detected in DNF types by @SharkyKZ in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7869
- fix: Correctly indent multiline constants and properties by @julienfalque in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7875
- chore: fix PHP 8.4 deprecations by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7894
- chore: fix PHPStan 1.10.60 issues by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7873
- chore: list over array in more places by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7876
- chore: replace template with variable in Preg class by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7882
- chore: update PHPStan by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7871
- depr:
nullable_type_declaration_for_default_null_value
- deprecate option that is against@PHP84Migration
by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7872 - docs: Fix typo by @BenMorel in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7889
New Contributors
- @SharkyKZ made their first contribution in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7869
- @BenMorel made their first contribution in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7889
Full Changelog: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.51.0...v3.52.0
1、 php-cs-fixer.phar 2.71MB
2、 php-cs-fixer.phar.asc 566B