Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 13, 2025

Bumps rector/rector from 2.2.3 to 2.2.8.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.2.8

New Features 🥳

  • [type-declaration] Add return data provider array type from strict test method param (#7605)
  • [coding-style] Add NestedTernaryToMatchRector (#7572)
  • [TypeDeclaration] Register NarrowObjectReturnTypeRector to type declaration set (#7615)

Bugfixes 🐛

  • [Diffs] Handle --no-diffs usage to show file have been changed if any with --dry-run + --no-diffs (#7619)
  • [Php81] Skip callable variadic in array_all() on FunctionLikeToFirstClassCallableRector (#7606)
  • fix a syntax error in the ArrayFirstLastRector rule documentation (#7613), Thanks @​esnard!
  • Narrow object return type (#7575), Thanks @​Orest-Divintari!
  • [type-declaration] Rename NarrowTooWideReturnType to NarrowWideUnionReturnTypeRector (#7614)
  • [TypeDeclaration] Also update generic collection docblock on NarrowObjectReturnTypeRector (#7616)
  • [TypeDeclaration] Do not change valid generic docblock on NarrowObjectReturnTypeRector (#7617)
  • [Privatization] Do not remove readonly on promoted property on PrivatizeFinalClassPropertyRector (#7611)

Removed 💀

  • [dx] help - omit explicit command name as no longer needed; remove verbosity option, use debug instead (#7620)

rectorphp/rector-symfony 🎵

  • ensure reset args after loop (#864)
  • Bump PHPStan to ^2.1.32 and fix test for InlineClassRoutePrefixRector (#863)
  • [Symfony74] replace PropertyMetadata deprecated functions (#862), Thanks @​MrYamous
  • [Symfony74] update WorkflowDumpCommand namespace (#861), Thanks @​MrYamous
  • add property support to ErrorNamesPropertyToConstantRector (#860)
  • Support converting all options to twig attributes (#859), Thanks @​Spea

rectorphp/rector-phpunit 🟢

  • [CodeQuality] Skip in static method on AssertFuncCallToPHPUnitAssertRector (#582)
  • add implicit method call support (#581)
  • add multi callbacks support (#580)
  • allow extra stmt (#579)
  • add dynamic instanceof support (#578)
  • [code-quality] Add SimplerWithIsInstanceOfRector (#577)
  • add sole instanceof support (#576)
  • add use var (#575)
  • add return type or empty if nothing to add (#574)

... (truncated)

Commits
  • 303aa81 Rector 2.2.8
  • f759f00 Updated Rector to commit 5aba21fa9d88bbaaf63b1d206dfceac184628690
  • 2c3da2b Updated Rector to commit 1a19a3450852b3e048689560e8ddc95d12e28863
  • 454fbd3 Updated Rector to commit 732ca2a054ea8ded3f79c04f90047f6841e730ac
  • 531712b Updated Rector to commit dfa1141cf2b77ec1c65e7795599508f116e7b73b
  • 5f0de3a Updated Rector to commit dfa1141cf2b77ec1c65e7795599508f116e7b73b
  • 4890788 Updated Rector to commit 86cde8ae0d3198c0ec0f39593ff9c5bfa25a6cd0
  • 472ca9a Updated Rector to commit df4f9b6ee97a0a30775bba2ca88ff9d6562066b7
  • 7c32a80 Updated Rector to commit 9ccfc51782ce0b54cb3f21f81af6824e3f785179
  • f2cbe08 Updated Rector to commit 9ccfc51782ce0b54cb3f21f81af6824e3f785179
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.2.3 to 2.2.8.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.2.3...2.2.8)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.2.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Nov 13, 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 php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant