Skip to content

Bump rector/rector from 2.0.18 to 2.1.3 #246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 14, 2025

Bumps rector/rector from 2.0.18 to 2.1.3.

Release notes

Sourced from rector/rector's releases.

Released: Rector 2.1.3

New Features 🥳

  • Add ClosureFromCallableToFirstClassCallableRector rule (#7071), Thanks @​devnix!
  • [Php81] added RemoveReflectionSetAccessibleCallsRector (#7085), Thanks @​NickSdot!
  • [type-declaration] Add AddReturnTypeFromTryCatchTypeRector (#7099)
  • Add check phpstan if phpstan is running on preload.php (#7040)
  • [type-coverage] Add support for same returned object in ReturnTypeFromReturnNewRector (#7096)
  • feat: add support for set, isset, and unset operations in ArrayDimFetchToMethodCallRector (#7095), Thanks @​calebdw!
  • [TypeDeclaration] Skip try catch finally different type on AddReturnTypeFromTryCatchTypeRector (#7101)
  • [type-declaration] Add AddArrayFilterClosureParamTypeRector (#7111)
  • [type-coverage] Improve AddArrowFunctionParamArrayWhereDimFetchRector to handle multiple functions (#7112)
  • add list<...> support to AddArrayFunctionClosureParamTypeRector (#7116)
  • feat: add RemoveReadonlyPropertyVisibilityOnReadonlyClassRector (#7115), Thanks @​calebdw!
  • feat: add laravel to RectorConfigBuilder::withComposerBased (#7110), Thanks @​calebdw!
  • [Renaming] Add RenameCastRector (#7117), Thanks @​mttsch!
  • [type-declarations] Add TypedPropertyFromDocblockSetUpDefinedRector (#7135)

PHP 8.5 🚀

  • [Php85] Add missing url about openssl_pkey_derive arg deprecation (#7141), Thanks @​mttsch!
  • [Php85] Remove deprecated arg from openssl_pkey_derive calls (#7127), Thanks @​mttsch!
  • [Php85] Remove arg from get_defined_functions calls (#7126), Thanks @​mttsch!
  • [Php85] Remove context arg from finfo_buffer calls (#7129), Thanks @​mttsch!
  • [Php85] Rename socket_set_timeout function calls (#7121), Thanks @​mttsch!
  • [Php85] Rename mysqli_execute function calls (#7122), Thanks @​mttsch!
  • [Php85] Rename deprecated SplObjectStorage methods (#7123), Thanks @​mttsch!
  • [Php85] Rename deprecated PDO constants and methods (#7125), Thanks @​mttsch!
  • [Php85] Replace null return with empty array in __debugInfo (#7124), Thanks @​mttsch!

Bugfixes 🐛

  • [TypeDeclaration] Handle crash on direct callable without params on AddArrayFunctionClosureParamTypeRector (#7131)
  • [TypeDeclaration] Skip ArrayAccess as array item type on AddArrowFunctionParamArrayWhereDimFetchRector (#7113)
  • [Renaming] Allow rename attribute on Param on RenameAttributeRector (#7072)
  • [CodeQuality] Mirror comment on InlineConstructorDefaultToPropertyRector (#7074)
  • [CodeQuality] Move logic directly for merge comments on InlineConstructorDefaultToPropertyRector (#7075)
  • [CodingStyle] Fix variable in the middle on WrapEncapsedVariableInCurlyBracesRector (#7076)
  • [CodeQuality] Skip Never type by @​return docblock on ExplicitReturnNullRector (#7078)
  • [Naming] Skip var used after switch on RenameForeachValueVariableToMatchExprVariableRector (#7080)
  • [Naming] Use ScopeFetcher::fetch() near its usage on RenameForeachValueVariableToMatchExprVariableRector (#7081)
  • [AutoImport] Handle auto import short name on global namespace (#7086)
  • [TypeDeclaration] Skip ArrayAccess on StrictArrayParamDimFetchRector (#7087)
  • [Php81] Handle on ternary on NullToStrictStringFuncCallArgRector (#7091)
  • fix: sorting of named parameters in variadic functions (#7090), Thanks @​calebdw!
  • fix: skip AssignOps in ArrayDimFetchToMethodCallRector (#7100), Thanks @​calebdw!
  • Skip PhpdocTypesFixer of PhpCsFixer on Scalar node (#7103)
  • fix: skip variable assignments in get_defined_vars (#7106), Thanks @​calebdw!

... (truncated)

Commits
  • dd430c8 Rector 2.1.3
  • 81c9ecd Updated Rector to commit 3882cb5a0a0312d17fc202e03bfefaca659a666e
  • 4d72c29 Updated Rector to commit 85e5e11e71a026bfd91210c3a25f1dee1404e74b
  • 22b0ee8 Updated Rector to commit e2c8fc0e63931d1806f07c87cb0c3e98dc210ffa
  • 803e8e0 Updated Rector to commit e2c8fc0e63931d1806f07c87cb0c3e98dc210ffa
  • 897e395 Updated Rector to commit e2c8fc0e63931d1806f07c87cb0c3e98dc210ffa
  • 423c118 Updated Rector to commit e2c8fc0e63931d1806f07c87cb0c3e98dc210ffa
  • a082637 Updated Rector to commit e2c8fc0e63931d1806f07c87cb0c3e98dc210ffa
  • 56e5036 Updated Rector to commit 8971177f378f71f6d986c57b3bc665b6957e7b18
  • 71280b6 Updated Rector to commit e29863909630baae19805dc2d784a34b8f8e2ab7
  • 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.0.18 to 2.1.3.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.0.18...2.1.3)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.1.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Aug 14, 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.

0 participants