Releases: PHP-CS-Fixer/PHP-CS-Fixer
Releases · PHP-CS-Fixer/PHP-CS-Fixer
v3.70.0 Persian Successor
What's Changed
- feat: Add
PhpUnitDataProviderMethodOrderFixer
fixer by @mvorisek in #8225 - feat:
TypeDeclarationSpacesFixer
- Fix whitespace between const type and const name. by @obresoft in #8442 - feat:
PhpCsFixer
ruleset: useoperator_linebreak
rule for all operators by @mvorisek in #8417 - feat:
PhpUnitMethodCasingFixer
to support PHPUnit'sTest
attribute by @obresoft in #8451 - feat:
HeaderCommentFixer
- allow validators by @keradus in #8452 - chore: extend bug report template by @keradus in #8447
- fix:
CommentsAnalyzer
- allow other forms of assignment as valid structural elements for phpdocs by @paulbalandan in #8371 - deps: bump phpstan/phpstan from 2.1.5 to 2.1.6 in /dev-tools in the phpstan group by @dependabot in #8453
- deps: bump alpine from 3.21.2 to 3.21.3 by @dependabot in #8454
- chore: extend bug report template - more installation options by @keradus in #8450
- CI: phpstan-symfony - add entry point for console by @keradus in #8292
- fix:
PhpUnitTestClassRequiresCoversFixer
must run beforePhpUnitAttributesFixer
by @kubawerlos in #8444 - test: fix
CheckCommandTest::testDryRunModeIsUnavailable
to correctly check that option--dry-run
is unavailable by @kubawerlos in #8438
New Contributors
Full Changelog: v3.69.1...v3.70.0
v3.69.1 Persian Successor
What's Changed
- fix:
PhpUnitAttributesFixer
- convert correctly version constraint by @kubawerlos in #8439 - test:
PhpUnitAttributesFixer
must run beforeNoEmptyPhpdocFixer
by @kubawerlos in #8443
Full Changelog: v3.69.0...v3.69.1
v3.69.0 Persian Successor
What's Changed
- feat: Add unsealed array shape phpdoc support by @mvorisek in #8299
- fix:
OrderedClassElementsFixer
- sort correctly typed constants by @kubawerlos in #8408 - deps: bump maglnet/composer-require-checker from 4.14.0 to 4.15.0 in /dev-tools by @dependabot in #8406
- deps: bump kubawerlos/composer-smaller-lock from 1.0.1 to 1.1.0 in /dev-tools by @dependabot in #8414
- chore: use constants instead of literal strings by @kubawerlos in #8422
- deps: bump the phpstan by @keradus in #8423
- deps: upgrade dev requirements by @keradus in #8424
- CI: no need to unlock deps on master by @keradus in #8426
- chore: update
checkbashisms
to 2.25.2 by @kubawerlos in #8427 - chore: do not use test class file as test data by @kubawerlos in #8430
- CI: run tests using PHPUnit 12 by @kubawerlos in #8431
- deps: bump phpstan/phpstan from 2.1.3 to 2.1.5 in /dev-tools in the phpstan group by @dependabot in #8437
Full Changelog: v3.68.5...v3.69.0
v3.68.5 Persian Successor
What's Changed
- fix:
NativeTypeDeclarationCasingFixer
- do not touch constants named as native types by @kubawerlos in #8404
Full Changelog: v3.68.4...v3.68.5
v3.68.4 Persian Successor
What's Changed
- fix: NativeTypeDeclarationCasingFixer should not touch property names by @staabm in #8400
- chore: run SCA on PHP 8.4 by @kubawerlos in #8396
Full Changelog: v3.68.3...v3.68.4
v3.68.3 Persian Successor
What's Changed
- fix:
NativeTypeDeclarationCasingFixer
- fix for enum with "Mixed" case by @kubawerlos in #8395
Full Changelog: v3.68.2...v3.68.3
v3.68.2 Persian Successor
What's Changed
- chore: Get rid of Docker warnings during build by @Wirone in #8379
- refactor: Use native
Yaml::parseFile()
instead of custom method by @Wirone in #8380 - chore: experiment to see if we can auto-shrink the lock after dependabot by @keradus in #8383
- chore: experiment to see if we can auto-shrink the lock after dependabot /part by @keradus in #8384
- deps: bump phpcompatibility/phpcompatibility-symfony from 1.2.1 to 1.2.2 in /dev-tools by @dependabot in #8378
- CI: stale - update close msg to emphasize contribution over demand by @keradus in #8385
- chore: ensure that
dev-tools
dependencies are bumped by @kubawerlos in #8389 - chore: remove redundant check by @keradus in #8391
- chore: update types by @kubawerlos in #8390
- deps: bump the phpstan group in /dev-tools with 4 updates by @dependabot in #8387
- fix:
NativeTypeDeclarationCasingFixer
- fix for promoted properties, enums,false
andmixed
by @kubawerlos in #8386
Full Changelog: v3.68.1...v3.68.2
v3.68.1 Persian Successor
What's Changed
- chore:
AutoReview/CiConfigurationTest
- handle failure of reading files by @keradus in #8375 - CI:
Docker
- check allcompose
services by @keradus in #8370 - deps: bump alpine from 3.18.4 to 3.21.2 by @dependabot in #8362
- deps: bump alpine from 3.18 to 3.21 by @keradus in #8377
- refactor: Tokens::clearEmptyTokens - optimize cache handling by @keradus in #8335
Full Changelog: v3.68.0...v3.68.1
v3.68.0 Persian Successor
What's Changed
- feat: Add stripos to modernize_strpos rule by @antoniovj1 in #8019
- chore:
FullyQualifiedStrictTypesFixer
- reduce conditions count by @keradus in #8368 - test:
PhpUnitSetUpTearDownVisibilityFixer
- extend test for anonymous classes by @keradus in #8369
New Contributors
- @antoniovj1 made their first contribution in #8019
Full Changelog: v3.67.1...v3.68.0
v3.67.1 Persian Successor
What's Changed
- fix:
FullyQualifiedStrictTypesFixer
- support for importing return types in arrow functions by @kubawerlos in #8367 - fix:
PhpUnitSetUpTearDownVisibilityFixer
- do not touch anonymous classes by @kubawerlos in #8366 - CI: Introduce PHP compatibility check by @Wirone in #7844
- chore:
PHPStan
- upgrade to 2.1 by @keradus in #8355 - chore: dependabot integration by @keradus in #8357
- chore: allow for class-string in doc types of rule options by @keradus in #8358
- chore: CS: Move data provider methods after their test method by @mvorisek in #8302
- deps: bump docker/build-push-action from 5 to 6 by @dependabot in #8361
- docs: update installation instructions by @keradus in #8356
New Contributors
- @dependabot made their first contribution in #8361
Full Changelog: v3.67.0...v3.67.1