v3.21.2
版本发布时间: 2023-07-16 17:28:45
PHP-CS-Fixer/PHP-CS-Fixer最新发布版本:v3.64.0(2024-08-31 07:09:51)
What's Changed
- DX: Make
AbstractFixerTestCase::getTestFile()
final by @kayw-geek in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7116 - DX: do not allow linebreak at the beginning of code sample by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7126
- docs: check format of FixerDefinition::getDescription() by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7127
- DX: Use ParaUnit to speed up tests by @Wirone in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/6883
- DX: fix PHPDoc types issues by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7135
- DX: encourage to provide wider description by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7128
- DX: fix function calls by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7136
- DX: remove
empty
calls by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7138 - DX: improve
Tokens
checking for found tokens by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7139 - DX: use strict assertions by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7144
- DX: make
array_search
call strict by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7145 - DX: add phpstan/phpstan-strict-rules by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7143
- DX: Use relative fixture path as integration test case's name by @Wirone in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7147
- DX: Copy-pasteable
class::getPriority
for phpDoc diffs by @Wirone in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7148 - DX: unify
Preg::match()
in logical conditions by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7146 - DX: use booleans in conditions by @kubawerlos in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7149
- DX: allow for progressive cache by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7132
- DX:
AbstractIntegrationTestCase::provideIntegrationCases
- yield over array, better typehinting by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7150 - DX: store cache to file only if content will get modified by @keradus in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7151
New Contributors
- @kayw-geek made their first contribution in https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7116
Full Changelog: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.21.0...v3.21.2
1、 php-cs-fixer.phar 2.66MB
2、 php-cs-fixer.phar.asc 565B