Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2025

This PR contains the following updates:

Package Change Age Confidence
friendsofphp/php-cs-fixer 3.85.1 -> 3.89.2 age confidence

Release Notes

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

v3.89.2

Compare Source

  • fix: NoUnneededBracesFixer - do not crash on multiline group import (#​9160)
  • chore: Standardize repository to use British English spelling (#​9154)
  • CI: ensure enforced Symfony version is installed (#​9174)
  • deps: bump php-coveralls to v2.9 (#​9173)
  • refactor: FixerDocumentGenerator::getSetsOfRule - cache resolved sets (#​9170)
  • refactor: FixerDocumentGenerator::getSetsOfRule - use cache (#​9171)

v3.89.1

Compare Source

  • fix: ComposerJsonReader - fix handling asterisk (#​9166)
  • docs: cookbook - update to mention custom fixer option (#​9164)
  • DX: add links in cookbook_fixers.rst (#​9162)
  • deps: upgrade phpcompatibility/* to alpha of next MAJOR instead of using dev branch, plus other minor upgrades (#​9163)

v3.89.0

Compare Source

  • feat: autofix "no-return" phpdoc type to "never" (#​9073)
  • feat: support keeping strict_types=0 in DeclareStrictTypesFixer (#​9121)
  • feat: NoUnneededBracesFixer - remove unneeded braces from imports (#​9118)
  • fix: FullyQualifiedStrictTypesFixer - replacing the real FQCN with a non-existent one (#​8962)
  • fix: PhpdocToCommentFixer on property hooks (#​9123)
  • fix: PhpUnitMethodCasingFixer to not cause a duplicate method declaration (#​9124)
  • fix: StaticLambdaFixer - do not make function static when it contains anonymous class having $this in the constructor (#​9088)
  • fix: UseArrowFunctionsFixer - do not produce two consecutive whitespace tokens (#​9151)
  • UX: better gitlab reporting - add content field (#​9152)
  • UX: better gitlab reporting - more user-friendly description field (#​9141)
  • UX: better gitlab reporting for location.lines (#​9149)
  • UX: Warn if executed php version is higher than the minimum php version defined in composer.json (#​9134)
  • chore: add UX title pattern (#​9132)
  • chore: explicitly use php interpreter for paraunit (#​9126)
  • chore: extend composer scripts (#​9127)
  • chore: fix shellcheck installation for Darwin (#​9125)
  • chore: replace PHPDocs with assert calls (#​9144)
  • deps: bump crate-ci/typos from 1.36.3 to 1.38.1 (#​9136)
  • deps: bump phpstan/phpstan from 2.1.29 to 2.1.31 in /dev-tools in the phpstan group (#​9129)
  • deps: bump shipmonk/dead-code-detector from 0.13.3 to 0.13.4 in /dev-tools (#​9135)
  • deps: bump shipmonk/dead-code-detector from 0.13.4 to 0.13.5 in /dev-tools (#​9146)
  • deps: bump the phpstan group across 1 directory with 2 updates (#​9101)
  • deps: use shipmonk/composer-dependency-analyser instead of icanhazstring/composer-unused and maglnet/composer-require-checker (#​9106)
  • docs: fix docs for @autoPHPUnitMigration:riskyset (#​9147)
  • docs: improve descriptions for NoTrailingWhitespace* fixers (#​9117)
  • docs: more explicit docs on --rules (#​9114)
  • docs: update usage documentation for describe --expand and @ (#​9119)
  • DX: Fix composer qa script (#​9138)
  • refactor: --option value => --option=value (#​9131)
  • test: Fix result randomness in RunnerTest for MacOS (#​9139)

v3.88.2

Compare Source

  • docs: describe command - allow to describe config in use (#​9103)
  • docs: describe command - allow to expand sets (#​9104)

v3.88.1

Compare Source

  • chore: use accidentally missing @auto:risky (#​9102)
  • deps: bump crate-ci/typos from 1.36.2 to 1.36.3 (#​9099)
  • deps: bump icanhazstring/composer-unused from 0.9.4 to 0.9.5 in /dev-tools (#​9100)
  • DX: Ability to run yamllint locally (#​9093)

v3.88.0

Compare Source

  • feat: Support custom rulesets (#​6083)
  • feat: introduce @auto, @auto:risky sets (#​9090)
  • feat: introduce @autoPHPMigration, @autoPHPMigration:risky, @autoPHPUnitMigration:risky sets (#​9068)
  • feat: start using new defaults for rules under future mode (#​9020)
  • feat: rename rule sets from MAJORMINOR and MAJOR.MINOR into MAJORxMINOR (#​9005)
  • feat: rename visibility_required into modifier_keywords (#​8995)
  • feat: symfony ruleset: Add @const to phpdoc_no_alias_tag (#​9016)
  • fix: BlankLinesBeforeNamespaceFixer - handle namespace without newline before (#​9059)
  • docs: fix typo (#​9060)
  • docs: update CONTRIBUTING.md (#​9074)
  • docs: update README for updated PHP/PHPUnit set names (#​9070)
  • DX: Allow development on PHP 8.5 (#​9092)
  • chore: enforce list via array_values() (#​9054)
  • chore: ErrorOutput - line is optional (#​9047)
  • chore: fix cs in entry point file (#​9064)
  • chore: fix CS, somehow it missed the CI of .php-cs-fixer.well-defined-arrays.php (#​8987)
  • chore: fix some argument.type errors (#​9056)
  • chore: groom Automatic rulesets code (#​9091)
  • chore: phpstan - do not ignore all internal usage errors (#​9063)
  • chore: replace wrong class-string usages (#​8968)
  • chore: getcwd() - ignore false return value (#​9057)
  • chore: ReporterFactory - use class-string type (#​9055)
  • CI: check for typos (#​9048)
  • CI: don't prevent the build when remote coverage reporting service is down (#​9095)
  • CI: fix smoke tests after #​9005 (#​9061)
  • CI: fix typos in CHANGELOG.md (#​9052)
  • CI: mutation tests - disable github annotations (#​9062)
  • CI: Test docs generation only once per CI pipeline (#​9089)
  • CI: push event only for master branch (#​9046)
  • CI: push event only for master branch (#​9050)
  • deps: bump box version (#​9042)
  • deps: bump ergebnis/composer-normalize from 2.48.1 to 2.48.2 in /dev-tools (#​9045)
  • deps: bump phpstan/phpstan from 2.1.25 to 2.1.28 in /dev-tools in the phpstan group (#​9072)
  • deps: unify alpine version for PHP 8.4 (#​9077)
  • deps: update phpstan and phpstan-baseline-per-identifier (#​9051)
  • deps: update squizlabs/php_codesniffer to v4.0 and other related packages (#​9075)
  • deps: upgrade alpine wherever possible (#​9078)
  • deps: upgrade infection/infection to ^0.31.0 (#​9079)
  • refactor: introduce concept of AutomaticRuleSet (#​9067)
  • refactor: rename RuleSetDescriptionInterface into RuleSetDefinitionInterface (#​9094)
  • test: ensure alpine version same between Dockerfile and compose.yaml (#​9076)
  • test: ensure alpine version same in compose.yaml and release.yml (#​9071)
  • test: extend tests to cover new migration rule set names (#​9069)
  • test: improve testing that objects cannot be serialized/unserialized (#​9049)

v3.87.2

Compare Source

  • fix: phpdoc_to_param_type, phpdoc_to_return_type, phpdoc_to_property_type - handle type aliasing before handling PHP version (#​9031)
  • docs: unify docs around deprecated sets (#​9036)
  • chore: fix typos (#​9022)
  • chore: provide few missing types for callbacks (#​9026)
  • deps: bump actions/stale from 9 to 10 (#​9029)
  • deps: pin checkbashisms and shellcheck to stable URL with pinned version (#​9032)
  • DX: suggest --sequential when facing fixing error (#​9023)
  • refactor: Future - centralize class for future-looking logic (#​9021)
  • test: Mark DocumentationCommandTest::testGeneratingDocumentation() as large test (#​9028)

v3.87.1

Compare Source

  • chore: AbstractProxyFixer - require non-empty list of proxy fixers (#​9010)
  • deps: update justinrainbow/json-schema (#​9019)

v3.87.0

Compare Source

  • feat: add PhpdocTagNoNamedArgumentsFixer (#​8906)
  • feat: deprecate using config from passed 'path' CLI argument (#​8923)
  • feat: introduce @PHP85Migration set (#​8941)
  • feat: upgrade @PhpCsFixer set towards new defaults of selected rules (#​8981)
  • fix: PhpdocOrderFixer - do not allow duplicated tags in configuration (#​8945)
  • fix: PhpdocOrderFixer when phpstan- / psalm- order is specified (#​8853)
  • docs: README.md updates (#​9013)
  • docs: update README.md (#​9015)
  • docs: update README.md and CONTRIBUTING.md (#​8974)
  • DX: remove methods for kind checks (#​8954)
  • DX: unify class/interface/trait naming (#​8957)
  • chore: Add CS commit to .git-blame-ignore-revs
  • chore: Add TODO for ENUM conversion in ProgressOutputType (#​8991)
  • chore: always use JSON_THROW_ON_ERROR (#​8993)
  • chore: apply (partially) multiline_string_to_heredoc (#​9002)
  • chore: apply phpdoc_tag_no_named_arguments (#​8969)
  • chore: configure phpdoc_tag_no_named_arguments (#​8970)
  • chore: convert private methods to constants (#​8976)
  • chore: deprecate Annotation::getTagsWithTypes in favor of TAGS_WITH_TYPES constant (#​8977)
  • chore: exclude files in .gitattributes (#​8960)
  • chore: extract token types for PHPStan (#​8925)
  • chore: handle fixer options without allowed types defined (#​8973)
  • chore: ignore deprecations in token_get_all (#​8963)
  • chore: minor CS fixes (#​8979)
  • chore: PhpdocTagNoNamedArgumentsFixer - better example (#​8971)
  • chore: PHPUnit - enforce no memory_limit (#​8940)
  • chore: remove not-needed reset-call (#​9014)
  • chore: revert wrong _PhpTokenArray usages (#​8947)
  • chore: rework ci-integration.sh (#​8989)
  • chore: sort .gitattributes (#​8966)
  • chore: unify entries in .gitignore (#​8982)
  • chore: unify env var FAST_LINT_TEST_CASES into PHP_CS_FIXER_FAST_LINT_TEST_CASES (#​8992)
  • chore: use get_debug_type and ::class in exception messages (#​9006)
  • chore: use non-empty-list where appropriate (#​8972)
  • chore: AbstractPhpdocTypesFixer - remove $tags property (#​8980)
  • chore: CheckCommand - use regex instead of explode & substr (#​8936)
  • chore: ClassAttributesSeparationFixer - improve code (#​8950)
  • chore: EregToPregFixer - use constant instead of static property (#​8978)
  • chore: FullyQualifiedStrictTypesFixer - ensure matching number of opening/closing braces (#​9009)
  • chore: OrderedClassElementsFixer - use private method instead of anonymous function (#​8931)
  • chore: PhpdocParamOrderFixer - improve/simplify code (#​9012)
  • chore: PhpUnitDedicateAssertFixer - improve code for phpstan (#​9011)
  • chore: Tokens::offsetSet - explicit validation of input (#​9004)
  • chore: Tokens - override nullability of SplFixedArray (#​9001)
  • refactor: add DocBlockAnnotation trait (#​8953)
  • refactor: PhpdocOrderFixer - calculate order only once (#​8944)
  • CI: add vendor/bin/phpunit --check-php-configuration (#​8934)
  • CI: more self-fixing checks on lowest/highest PHP (#​8943)
  • CI: Re-enable Paraunit in CI under PHP 8.5 (#​8964)
  • CI: update checkbashisms (#​8951)
  • test: extend ProjectCodeTest to check classy names in tests too (#​8959)
  • test: split test so more of them can run under Windows (#​8986)
  • test: TypeDeclarationSpacesFixer - demonstrate PHP 8.3 related config doesn't harm older envs (#​8999)
  • test: update pipe operator tests after pipe & arrow function combination was prohibited (#​8990)
  • test: NoUnneededControlParenthesesFixer - add tests for "clone with" (#​8937)
  • test: PhpdocNoAliasTagFixerTest - add test for @const to @var (#​8998)
  • CS: re-apply rules (#​8988)
  • deps: bump actions/checkout from 4 to 5 (#​8938)
  • deps: bump shipmonk/dead-code-detector from 0.13.1 to 0.13.2 in /dev-tools (#​8939)
  • deps: drop support for justinrainbow/json-schema:^5 (#​8984)
  • deps: minor upgrades (#​8983)
  • deps: remove php-cs-fixer/accessible-object (#​8948)
  • deps: update dev-tools (#​9007)

v3.86.0

Compare Source

  • feat: console application - add completion support (#​8887)
  • feat: introduce PER-CS3.0 rulsets (#​8841)
  • feat: update @Symfony and @PhpCsFixer sets (#​8930)
  • feat: NoSuperfluousPhpdocTagsFixer - support multiline array shapes (#​8903)
  • fix: PhpdocToParamTypeFixerTest - handle types_map for union-types (#​8926)
  • chore: AbstractTransformerTestCase - better virtual type naming (#​8927)
  • chore: add TODO for v4 (#​8912)
  • chore: do not call Reflection*::setAccessible() in PHP >= 8.1 (#​8907)
  • chore: document .env.example (#​8901)
  • chore: fix @todo annotation casing (#​8921)
  • chore: switch to official checkstyle.xsd (#​8910)
  • chore: unify future default of after_heredoc (#​8924)
  • chore: @phpstan-ignore for php version check (#​8920)
  • chore: PhpUnitTestAnnotationFixer - use foreach instead of for (#​8911)
  • CI: allow PHP 8.5 for failure, till it's officially released and we get the stable support (#​8928)
  • ci: run tests under 8.5 via PHPUnit, as ParaUnit failing (#​8933)
  • CI: temporarily skip problematic tests under Sf v8 (#​8919)
  • deps: bump icanhazstring/composer-unused from 0.9.3 to 0.9.4 in /dev-tools (#​8905)
  • deps: update and bump dev-tools/composer (#​8915)
  • docs: extend FullOpeningTagFixer samples (#​8913)
  • docs: extend OperatorLinebreakFixer samples (#​8914)
  • docs: more explicit msg for stop using deprecated code (#​8922)
  • DX: .gitignore - ignore php-cs-fixer.cache, as it's existence is possible when using env var (#​8929)

Configuration

📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 added the dependencies Pull requests that update a dependency file label Oct 1, 2025
@renovate renovate bot changed the title Update dependency friendsofphp/php-cs-fixer to v3.88.2 Update dependency friendsofphp/php-cs-fixer to v3.89.0 Oct 18, 2025
@renovate renovate bot force-pushed the renovate/friendsofphp-php-cs-fixer-3.x-lockfile branch 2 times, most recently from 150b59e to 1e88ecd Compare October 24, 2025 13:09
@renovate renovate bot changed the title Update dependency friendsofphp/php-cs-fixer to v3.89.0 Update dependency friendsofphp/php-cs-fixer to v3.89.1 Oct 24, 2025
@renovate renovate bot force-pushed the renovate/friendsofphp-php-cs-fixer-3.x-lockfile branch from 1e88ecd to fcfb044 Compare November 7, 2025 03:09
@renovate renovate bot changed the title Update dependency friendsofphp/php-cs-fixer to v3.89.1 Update dependency friendsofphp/php-cs-fixer to v3.89.2 Nov 7, 2025
@gomzyakov gomzyakov closed this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants