What's Changed
- feat:
@Symfony:risky- addvoid_returnby @keradus in #9546 - feat:
DeclareStrictTypesFixer- addstrategyoption that will allow to remove declaration by @nicolas-grekas in #9384 - feat:
GlobalNamespaceImportFixer- support first-class callable syntax by @kubawerlos in #9484 - feat:
MethodArgumentSpaceFixer- addensure_single_line_for_single_argumentoption foron_multilineby @localheinz in #9504 - feat:
MultilinePromotedPropertiesFixer- turn multiline promoted properties into singleline when there are fewer thanminimum_number_of_parametersby @localheinz in #9501 - feat:
PhpdocLineSpanFixer- addfunctionoption by @paulbalandan in #9439 - feat:
ReturnAssignmentFixer- skip variables with the named@vartags with new optionskip_named_var_tagsby @mspirkov in #9464 - feat: Add
excludeoption tophpdoc_typesrule by @spawnia in #9479 - feat: introduce 'list-rules' command by @keradus in #9512
- feat: introduce
NoWhitespaceInEmptyArrayFixerby @jrmajor in #8155 - feat: Resolve to
jsonformat whenAI_AGENTenvironment variable is set by @localheinz in #9542 - fix:
ArrayPushFixer- do not stop fixing whenarray_pushwith 1 argument found by @kubawerlos in #9508 - fix:
BinaryOperatorSpacesFixer- make it works correctly with multiple match cases by @kubawerlos in #9470 - fix:
EchoTagSyntaxFixer- do not break syntax for single line comments by @kubawerlos in #9506 - fix:
PhpUnitTestClassRequiresCoversFixer- do not add@coversNothingto anonymous classes by @kubawerlos in #9481 - fix:
SimplifiedNullReturnFixer- do not removenullfrom property hook by @kubawerlos in #9471 - docs: extend docs about exit code by @keradus in #9526
- docs: StaticLambdaFixer - document example how to prevent conversion by @keradus in #9502
- DX: change default PHP_CS_FIXER_FAST_LINT_TEST_CASES=1 and run full linting of test cases only on highest and lowest PHP versions in CI by @keradus in #9448
- chore:
MbStrFunctionsFixer- remove the nevertruecondition by @kubawerlos in #9509 - chore:
ModernizeStrposFixer- remove the nevertrueconditions by @kubawerlos in #9510 - chore:
NoAliasFunctionsFixer- cleanup invalid set handling by @kubawerlos in #9511 - chore: add missing test for
SetTypeToCastFixerby @kubawerlos in #9518 - chore: add test for NoMultipleStatementsPerLineFixer by @kubawerlos in #9533
- chore: add tests for
BracesPositionFixerby @kubawerlos in #9522 - chore: add tests for
PsrAutoloadingFixerby @kubawerlos in #9541 - chore: cleanup
ClassAttributesSeparationFixerby @kubawerlos in #9545 - chore: cleanup
GeneralAttributeRemoveFixerby @kubawerlos in #9520 - chore: cleanup
GlobalNamespaceImportFixerTestby @kubawerlos in #9482 - chore: cleanup
NoTrailingCommaInSinglelineFixerby @kubawerlos in #9537 - chore: cleanup
OrderedAttributesFixerby @kubawerlos in #9521 - chore: cleanup
PhpUnitExpectationFixerby @kubawerlos in #9505 - chore: cleanup MagicConstantCasingFixer by @kubawerlos in #9494
- chore: cleanup NoNullPropertyInitializationFixer by @kubawerlos in #9493
- chore: commands cleanup by @kubawerlos in #9478
- chore: ensure that regex
TypeExpression::REGEX_TYPESdoes not have unnamed capturing group by @kubawerlos in #9514 - chore: exclude logo.png and composer-dependency-analyser.php from Composer export by @alexislefebvre in #9516
- chore: group dependabot updates for Docker and GitHub Actions by @keradus in #9535
- chore: improve
AbstractPhpUnitFixerby @kubawerlos in #9519 - chore: improve
ArrayPushFixerby @kubawerlos in #9515 - chore: update
FunctionsAnalyzerby @kubawerlos in #9483 - CI: add
failOnDeprecation="true"to PHPUnit config by @kubawerlos in #8935 - CI: cleanup jobs by @keradus in #9449
- CI: configure Dependabot for composite actions by @kubawerlos in #9529
- CI: do not run
issue_8828_c.teston macOS for now by @kubawerlos in #9528 - CI: fix Dependabot paths by @kubawerlos in #9530
- CI: more of ubuntu-slim by @keradus in #9450
- CI: move spelling checks to dedicated workflow by @keradus in #9451
- deps: bump actions/cache from 4 to 5 in /.github/composite-actions/install-composer-deps by @dependabot[bot] in #9531
- deps: bump actions/github-script from 8 to 9 in /.github/composite-actions/setup-php-with-composer-deps by @dependabot[bot] in #9544
- deps: bump crate-ci/typos from 1.43.5 to 1.44.0 by @dependabot[bot] in #9476
- deps: bump crate-ci/typos from 1.44.0 to 1.45.0 by @dependabot[bot] in #9523
- deps: bump docker/build-push-action from 6 to 7 by @dependabot[bot] in #9486
- deps: bump docker/login-action from 3 to 4 by @dependabot[bot] in #9477
- deps: bump docker/metadata-action from 5 to 6 by @dependabot[bot] in #9474
- deps: bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in #9475
- deps: bump docker/setup-qemu-action from 3 to 4 by @dependabot[bot] in #9472
- deps: bump nick-invision/retry from 3 to 4 by @dependabot[bot] in #9491
- deps: bump nick-invision/retry from 3 to 4 in /.github/composite-actions/install-composer-deps by @dependabot[bot] in #9532
- deps: bump phpstan/phpstan from 2.1.40 to 2.1.42 in /dev-tools in the phpstan group by @dependabot[bot] in #9490
- deps: bump phpstan/phpstan from 2.1.42 to 2.1.44 in /dev-tools in the phpstan group by @dependabot[bot] in #9503
- deps: bump phpstan/phpstan-symfony from 2.0.14 to 2.0.15 in /dev-tools in the phpstan group by @dependabot[bot] in #9458
- deps: bump shipmonk/dead-code-detector from 0.14.1 to 0.15.1 in /dev-tools in the shipmonk group by @dependabot[bot] in #9473
- deps: bump shipmonk/dead-code-detector from 0.15.1 to 1.0.0 in /dev-tools in the shipmonk group by @dependabot[bot] in #9543
- deps: update PHPStan by @kubawerlos in #9452
- deps: upgrade deps by @keradus in #9527
- deps: upgrade PHPUnit patch versions by @keradus in #9455
- refactor: ConfigurableFixerTemplateFixer - move handling example file from fixing logic to definition by @keradus in #9525
- refactor: rename
PhpdocTypesNoDuplicatesFixertoPhpdocNoDuplicateTypesFixerby @paulbalandan in #9381 - test:
MethodArgumentSpaceFixermust run beforeNoTrailingCommaInSinglelineFixerby @kubawerlos in #9507 - test: fix CI for Windows by @kubawerlos in #9492
- test: use
PhpUnitTestCaseStaticMethodCallsFixerTest::testInvalidConfigurationby @kubawerlos in #9460
New Contributors
- @nicolas-grekas made their first contribution in #9384
- @spawnia made their first contribution in #9479
- @alexislefebvre made their first contribution in #9516
Full Changelog: v3.94.2...v3.95.0