Skip to content

chore(deps): update dependency friendsofphp/php-cs-fixer to v3.95.1#265

Merged
renovate[bot] merged 2 commits into
mainfrom
renovate/friendsofphp-php-cs-fixer-3.x
May 13, 2026
Merged

chore(deps): update dependency friendsofphp/php-cs-fixer to v3.95.1#265
renovate[bot] merged 2 commits into
mainfrom
renovate/friendsofphp-php-cs-fixer-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 12, 2026

This PR contains the following updates:

Package Change Age Confidence
friendsofphp/php-cs-fixer 3.92.53.95.1 age confidence

Release Notes

PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)

v3.95.1

Compare Source

  • chore: add tests for FinalInternalClassFixer (#​9547)
  • chore: cleanup PhpdocToParamTypeFixer (#​9550)
  • fix: MethodArgumentSpaceFixer - Do not collapse nested arguments when using ensure_single_line_for_single_argument option for on_multiline (#​9552)
  • test: fix type after variable name in @param in PhpdocToParamTypeFixerTest (#​9549)

v3.95.0

Compare Source

  • feat: Add option remove_existing_declaration to declare_strict_types fixer (#​9384)
  • feat: Add exclude option to phpdoc_types rule (#​9479)
  • feat: introduce 'list-rules' command (#​9512)
  • feat: introduce NoWhitespaceInEmptyArrayFixer (#​8155)
  • feat: Resolve to json format when AI_AGENT environment variable is set (#​9542)
  • feat: @Symfony:risky - add void_return (#​9546)
  • feat: GlobalNamespaceImportFixer - support first-class callable syntax (#​9484)
  • feat: MethodArgumentSpaceFixer - add ensure_single_line_for_single_argument option for on_multiline (#​9504)
  • feat: MultilinePromotedPropertiesFixer - turn multiline promoted properties into singleline when there are fewer than minimum_number_of_parameters (#​9501)
  • feat: PhpdocLineSpanFixer - add function option (#​9439)
  • feat: ReturnAssignmentFixer - skip variables with the named @var tags with new option skip_named_var_tags (#​9464)
  • fix: ArrayPushFixer - do not stop fixing when array_push with 1 argument found (#​9508)
  • fix: BinaryOperatorSpacesFixer - make it works correctly with multiple match cases (#​9470)
  • fix: EchoTagSyntaxFixer - do not break syntax for single line comments (#​9506)
  • fix: PhpUnitTestClassRequiresCoversFixer - do not add @coversNothing to anonymous classes (#​9481)
  • fix: SimplifiedNullReturnFixer - do not remove null from property hook (#​9471)
  • docs: extend docs about exit code (#​9526)
  • docs: StaticLambdaFixer - document example how to prevent conversion (#​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 (#​9448)
  • chore: add missing test for SetTypeToCastFixer (#​9518)
  • chore: add test for NoMultipleStatementsPerLineFixer (#​9533)
  • chore: add tests for BracesPositionFixer (#​9522)
  • chore: add tests for PsrAutoloadingFixer (#​9541)
  • chore: cleanup MagicConstantCasingFixer (#​9494)
  • chore: cleanup NoNullPropertyInitializationFixer (#​9493)
  • chore: cleanup ClassAttributesSeparationFixer (#​9545)
  • chore: cleanup GeneralAttributeRemoveFixer (#​9520)
  • chore: cleanup GlobalNamespaceImportFixerTest (#​9482)
  • chore: cleanup NoTrailingCommaInSinglelineFixer (#​9537)
  • chore: cleanup OrderedAttributesFixer (#​9521)
  • chore: cleanup PhpUnitExpectationFixer (#​9505)
  • chore: commands cleanup (#​9478)
  • chore: ensure that regex TypeExpression::REGEX_TYPES does not have unnamed capturing group (#​9514)
  • chore: exclude logo.png and composer-dependency-analyser.php from Composer export (#​9516)
  • chore: group dependabot updates for Docker and GitHub Actions (#​9535)
  • chore: improve AbstractPhpUnitFixer (#​9519)
  • chore: improve ArrayPushFixer (#​9515)
  • chore: update FunctionsAnalyzer (#​9483)
  • chore: MbStrFunctionsFixer - remove the never true condition (#​9509)
  • chore: ModernizeStrposFixer - remove the never true conditions (#​9510)
  • chore: NoAliasFunctionsFixer - cleanup invalid set handling (#​9511)
  • CI: add failOnDeprecation="true" to PHPUnit config (#​8935)
  • CI: cleanup jobs (#​9449)
  • CI: configure Dependabot for composite actions (#​9529)
  • CI: do not run issue_8828_c.test on macOS for now (#​9528)
  • CI: fix Dependabot paths (#​9530)
  • CI: more of ubuntu-slim (#​9450)
  • CI: move spelling checks to dedicated workflow (#​9451)
  • deps: bump actions/cache from 4 to 5 in /.github/composite-actions/install-composer-deps (#​9531)
  • deps: bump actions/github-script from 8 to 9 in /.github/composite-actions/setup-php-with-composer-deps (#​9544)
  • deps: bump crate-ci/typos from 1.43.5 to 1.44.0 (#​9476)
  • deps: bump crate-ci/typos from 1.44.0 to 1.45.0 (#​9523)
  • deps: bump docker/build-push-action from 6 to 7 (#​9486)
  • deps: bump docker/login-action from 3 to 4 (#​9477)
  • deps: bump docker/metadata-action from 5 to 6 (#​9474)
  • deps: bump docker/setup-buildx-action from 3 to 4 (#​9475)
  • deps: bump docker/setup-qemu-action from 3 to 4 (#​9472)
  • deps: bump nick-invision/retry from 3 to 4 (#​9491)
  • deps: bump nick-invision/retry from 3 to 4 in /.github/composite-actions/install-composer-deps (#​9532)
  • deps: bump phpstan/phpstan from 2.1.40 to 2.1.42 in /dev-tools in the phpstan group (#​9490)
  • deps: bump phpstan/phpstan from 2.1.42 to 2.1.44 in /dev-tools in the phpstan group (#​9503)
  • deps: bump phpstan/phpstan-symfony from 2.0.14 to 2.0.15 in /dev-tools in the phpstan group (#​9458)
  • deps: bump shipmonk/dead-code-detector from 0.14.1 to 0.15.1 in /dev-tools in the shipmonk group (#​9473)
  • deps: bump shipmonk/dead-code-detector from 0.15.1 to 1.0.0 in /dev-tools in the shipmonk group (#​9543)
  • deps: update PHPStan (#​9452)
  • deps: upgrade deps (#​9527)
  • deps: upgrade PHPUnit patch versions (#​9455)
  • refactor: ConfigurableFixerTemplateFixer - move handling example file from fixing logic to definition (#​9525)
  • refactor: rename PhpdocTypesNoDuplicatesFixer to PhpdocNoDuplicateTypesFixer (#​9381)
  • test: fix CI for Windows (#​9492)
  • test: MethodArgumentSpaceFixer must run before NoTrailingCommaInSinglelineFixer (#​9507)
  • test: use PhpUnitTestCaseStaticMethodCallsFixerTest::testInvalidConfiguration (#​9460)

v3.94.2

Compare Source

  • fix: AttributeBlockNoSpacesFixer - skipping some attributes when multiple present (#​9445)
  • fix: NoUnusedImportsFixer - do not remove constant types (#​9442)
  • fix: PhpdocLineSpanFixer - handle unions and intersections in properties (#​9438)
  • deps: bump crate-ci/typos from 1.43.4 to 1.43.5 (#​9444)

v3.94.1

Compare Source

  • chore: add tests for ArgumentsAnalyzer (#​9422)
  • chore: bump dev-tools to PHP 8.5 (#​9432)
  • chore: ConfigurableFixerTemplateFixer - allow to remove option from computed options (#​9437)
  • chore: fix Tokens::getIterator() type (#​9433)
  • chore: reduce Generator into iterable (#​9435)
  • chore: reduce Iterator->Traversable and Traversable->iterable when possible (#​9434)
  • CI: cleanup sca.yml (#​9430)
  • deps: bump crate-ci/typos from 1.43.2 to 1.43.4 (#​9426)
  • deps: bump ergebnis/composer-normalize from 2.49.0 to 2.50.0 in /dev-tools (#​9427)
  • deps: bump the phpstan group in /dev-tools with 4 updates (#​9425)
  • deps: dependabot group for shipmonk/ (#​9429)
  • docs: switch sets ordering to case-insensitive (#​9423)
  • test: check PHP env in CI jobs (#​9428)

v3.94.0

Compare Source

  • UX: enable parallel runner by default (#​9408)
  • feat: Add option case to phpdoc_line_span fixer (#​9391)
  • feat: PhpdocLineSpanFixer - support docs for classes, trait usages and other code lines (#​8832)
  • feat: VoidReturnFixer - allow to skip lambdas (#​9417)
  • chore: fix comment (#​9404)
  • chore: Linter tests for Schrodinger's validity (#​9398)
  • chore: ModernizeStrposFixer - no need for configuration hooks (#​9419)
  • chore: VoidReturnFixer - better describe exceptions (#​9418)
  • CI: no need for special handling of MacOS (#​9403)
  • CI: run tests using PHPUnit 13 (#​9410)
  • deps: bump crate-ci/typos from 1.42.1 to 1.42.3 (#​9395)
  • deps: bump crate-ci/typos from 1.42.3 to 1.43.2 (#​9405)
  • deps: bump ergebnis/composer-normalize from 2.48.2 to 2.49.0 in /dev-tools (#​9396)
  • deps: bump the phpstan group in /dev-tools with 2 updates (#​9394)
  • deps: upgrade dev-deps (#​9411)
  • DX: use custom name for custom config (#​9402)
  • fix: absolute path in reports (#​9399)
  • fix: indentation for backed enum with multiline assignment (#​9362)
  • fix: Runner - fix occasional sub-process freeze on parallel execution with --stop-on-violation (#​9393)
  • fix: NoUnreachableDefaultArgumentValueFixer - fix for closures (#​9409)
  • fix: UseArrowFunctionsFixer - do not convert closure in attribute (#​9416)
  • test: create PHP 8.5 risky compat test (#​9420)
  • UX: Do not run interactive configurator when rules are passed explicitly (#​9378)

v3.93.1

Compare Source

  • fix: ErrorOutput - do not show "begin diff"/"end diff" when there is no diff (#​9361)
  • fix: UseArrowFunctionsFixer - don't convert lambda with use($var) clause if it includes another file (#​9389)
  • DX: use null coalescing operator (#​9380)

v3.93.0

Compare Source

  • feat: add ModernSerializationMethodsFixer (#​9108)
  • feat: Add NoRedundantReadonlyPropertyFixer (#​9339)
  • feat: add PhpdocTypesNoDuplicatesFixer (#​9312)
  • feat: do not suggest config file creation if config explicitly skipped with --config=- (#​9379)
  • feat: improve handling of @see tags in FullyQualifiedStrictTypesFixer (#​9350)
  • feat: PER attribute block no spaces (#​9264)
  • feat: php_unit_test_case_static_method_calls - change default 'call_type' to 'this' for v4 (#​9328)
  • feat: protected_to_private - add to@Symfony set (#​9303)
  • feat: PSR/PER-CS - adjust braces_position rule (#​9329)
  • feat: remove php_unit_test_case_static_method_calls from PHPUnit sets (#​9341)
  • feat: @PHP7x0MigrationRisky - update configuration of RandomApiMigrationFixer to match it's newly updated v4 defaults (#​9368)
  • feat: @Symfony:risky - extend set with modern_serialization_methods (#​9366)
  • feat: @Symfony:risky - extend set with static_lambda (#​9365)
  • feat: @Symfony - enable no_unneeded_control_parentheses.statements.negative_instanceof (#​9336)
  • feat: @Symfony - extend set with no_useless_else (#​9363)
  • feat: @Symfony - extend set with no_useless_return (#​9364)
  • feat: RandomApiMigrationFixer - allow to convert mt_getrandmax and mt_srand (#​9367)
  • fix: properly expose memory usage while running parallel mode (#​9352)
  • fix: ModifierKeywordsFixer - closure in attribute (#​9358)
  • fix: NoUselessElseFixer - handle conditional symbol declarations (#​9347)
  • fix: OrderedClassElementsFixer - closure in attribute (#​9357)
  • fix: PhpUnitAttributesFixer - do not add for annotation @testWith when attribute TestWith already present (#​9354)
  • refactor: add base key-existence check for cross-process communication in parallel runner (#​9360)
  • refactor: FixerDocumentGenerator - limit the scope to create rule instance in future mode only (#​9359)
  • test: fix compatibility towards Symfony 8 (#​9370)
  • test: update PHP 8.5 compat test to cover closure in attribute and prevent conversion to empty arrow function (#​9373)
  • chore: add clarifying @return annotations to Config (#​9337)
  • chore: fix assign.propertyType error from PHPStan (#​9332)
  • chore: PHPUnit sets - cleanup test, update docs/comments (#​9342)
  • chore: simplify phpstan:baseline command (#​9346)
  • deps: bump crate-ci/typos from 1.41.0 to 1.42.0 (#​9338)
  • deps: bump crate-ci/typos from 1.42.0 to 1.42.1 (#​9376)
  • deps: bump dev deps (#​9369)
  • deps: bump the phpstan group in /dev-tools with 3 updates (#​9375)
  • docs: show default value for future mode (#​9355)
  • DX: add env for easier finding which fixer break a PHP syntax (#​9356)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge (squash) May 12, 2026 22:01
@renovate renovate Bot force-pushed the renovate/friendsofphp-php-cs-fixer-3.x branch 4 times, most recently from 98551a7 to 680f5fc Compare May 12, 2026 22:27
@renovate renovate Bot force-pushed the renovate/friendsofphp-php-cs-fixer-3.x branch from 680f5fc to 340a04a Compare May 12, 2026 22:31
php-cs-fixer 3.95 changed @symfony:risky's declare_strict_types config
to strategy=remove. Override to strategy=enforce so the project keeps
its strict types declarations, then apply the static_lambda fixes the
new ruleset surfaces.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@renovate renovate Bot merged commit 79c5d01 into main May 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant