Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 29, 2025

Bumps rector/rector from 2.2.3 to 2.2.7.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.2.7

New Features 🥳

  • add notes to printer bugs in php-parser, so we know to remove them once tagged (rectorphp/rector-src@19ae2b0)
  • [type-declaration] Add ReturnIteratorInDataProviderRector (#7593)
  • [type-declarations] Add TypedStaticPropertyInBehatContextRector (#7596)
  • always add nullable on TypedPropertyFromJMSSerializerAttributeTypeRector as serializer does not use constructor (#7599)
  • [DeadCode] Register RemoveNullArgOnNullDefaultParamRector to dead code set (#7597)

Bugfixes 🐛

  • raise gen version (rectorphp/rector-src@2826d31)
  • [Php81] Skip callable param union on FunctionLikeToFirstClassCallableRector (#7589)
  • [CodeQuality] Skip ArrayDimFetch with BitwiseXor on CombinedAssignRector (#7590)
  • [Php84] Skip variable extraction with return early on ForeachToArrayAllRector (#7591)
  • [PHP 8.5] rename NestedToPipeOeratorRector to SequentialAssignmentsToPipeOperatorRector, handle only assigns, not nested calls (#7588)
  • [Php81] Skip as Arg of non-native function call on FunctionLikeToFirstClassCallableRector (#7592)
  • skip different args passed to call-like and required by arrow function in FunctionLikeToFirstClassCallableRector (#7594)
  • handle public properties in TypedPropertyFromJMSSerializerAttributeTypeRector as nullable (#7595)
  • skip to many in /TypedPropertyFromJMSSerializerAttributeTypeRector (#7598)
  • skip refernce one as well in /TypedPropertyFromJMSSerializerAttributeTypeRector (rectorphp/rector-src@842aa94)
  • cs (rectorphp/rector-src@1193412)
  • Prefer string over float in case of @ var string (#7600)
  • fallback to var float (#7601)
  • split TypedPropertyFromJMSSerializerAttributeTypeRector to scalar and object types (#7602)
  • [php 8.5] Split of nested functions calls to pipe operator in a new standalone rule (#7603)
  • Don't require parentheses for short-ternaries (#7604), Thanks @​martinstuecklschwaiger!

rectorphp/rector-symfony

  • [Configs] Skip first class callable on RemoveConstructorAutowireServiceRector (#858)

rectorphp/rector-phpunit

  • [depre] Deprecate SetUpBeforeClassToSetUpRector as can break code easily (#567)

Released Rector 2.2.6

New Features 🥳

  • [PHP 8.5] Add NestedToPipeOperatorRector (#7577)
  • [code-quality] Add DirnameDirConcatStringToDirectStringPathRector (#7552)
  • [dead-code] Add RemoveNullArgOnNullDefaultParamRector (#7562)
  • register AddClosureParamTypeFromIterableMethodCallRector to type declaration set (rectorphp/rector-src@4d78f41)
  • register AddParamArrayDocblockBasedOnCallableNativeFuncCallRector in type declaration docblocks (rectorphp/rector-src@80f7db8)

... (truncated)

Commits
  • 0220385 Rector 2.2.7
  • 8a8f009 Updated Rector to commit 2ed3aa83d8300798973e480e52c9c2ddd7fa6d00
  • 553a28f Updated Rector to commit 8376d26987ca4f6fc36f779b84c04d71900e14ac
  • 32b9ebf Updated Rector to commit c010b0244dd064fde1351141906f88fd1df20114
  • f109ac8 Updated Rector to commit 2415d9d1c79bf7c6d1e7124ff14e725b9c214ca2
  • 214ed0a Updated Rector to commit 31f46dd2fd98fe1c4f371419dde0e6c7ab105e40
  • 568d527 Updated Rector to commit 808531bbcd27891a6f6fcbde3fc411827f615c9b
  • 1e0e9eb Updated Rector to commit 119341253b6c0ca6c2db6bc98172280f5ccf1b81
  • 497e9ab Updated Rector to commit 119341253b6c0ca6c2db6bc98172280f5ccf1b81
  • 711df60 Updated Rector to commit fbc3df902d3599e7c3e6f9e6bf6829516ceb3523
  • 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.7.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.2.3...2.2.7)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.2.7
  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 Oct 29, 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