Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 4, 2025

Updates the requirements on rector/rector to permit the latest version.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.1.5

New Features 🥳

  • feat: add NarrowTooWideReturnTypeRector (#7150), Thanks @​calebdw!
  • [Php85] Add ColonAfterSwitchCaseRector (#7157)
  • feat: add StaticToSelfStaticPropertyFetchOnFinalClassRector (#7161), Thanks @​calebdw!
  • feat: Add AddReturnDocblockForScalarArrayFromAssignsRector (#7151), Thanks @​imliam!
  • [TypeDeclaration] Register AddReturnDocblockForScalarArrayFromAssignsRector to type declaration set (#7166)
  • Refactor RemoveDuplicatedCaseInSwitchRector and adding test cases (#7175), Thanks @​max-s-lab!
  • [Php85] Add ArrayKeyExistsNullToEmptyStringRector (#7183), Thanks @​arshidkv12!
  • [Php85] Add fixture to skip integer key on ArrayKeyExistsNullToEmptyStringRector (#7189)
  • [Php85] Add ChrArgModuloRector (#7190), Thanks @​arshidkv12!
  • [assert] Kick of experimental rule, AddAssertArrayFromClassMethodDocblockRector (#7206)
  • [php 8.3] Add json_validate rule. (#7213), Thanks @​arshidkv12!
  • Add MbStrContainsRector (#7199), Thanks @​arshidkv12!
  • [PHP 8.5] Rename constant FILTER_DEFAULT to FILTER_UNSAFE_RAW (#7209), Thanks @​ddevsr!
  • [PHP 8.5] Convert @deprecated to #[\Deprecated] on constants (#7155), Thanks @​DanielEScherzer!

Bugfixes 🐛

  • [TypeDeclaration] Skip integer index on string on AddArrowFunctionParamArrayWhereDimFetchRector (#7178)
  • [TypeDeclaration] Skip Valid type from return doc and typed param on AddMethodCallBasedStrictParamTypeRector (#7172)
  • [Renaming] Keep parentheses on RenameCastRector (#7153)
  • [CodeQuality] Skip next inside array_filter() on SimplifyEmptyArrayCheckRector (#7154)
  • Clean up ternary on ColonAfterSwitchCaseRector (#7158)
  • fix: convert static::* to self::* for all constant access in final classes (#7159), Thanks @​calebdw!
  • fix: static to self static method call on final class (#7160), Thanks @​calebdw!
  • fix multi-line error message format (#7164), Thanks @​FeBe95!
  • [CodeQuality] Skip @​final doc with public property on ConvertStaticToSelfRector (#7168)
  • [CodeQuality] Skip @​final doc with public class constant on ConvertStaticToSelfRector (#7170)
  • Ensure native ReflectionClassConstant->isFinal() exists by check real php version (#7171)
  • Fix RemoveDuplicatedCaseInSwitchRector behavior (#7173), Thanks @​max-s-lab!
  • replace PHP_EOL with \n when used with symfony console (#7174), Thanks @​FeBe95!
  • [CodeQuality] Handle parentheses inner if with assign on CombineIfRector (#7179)
  • [DeadCode] Fix merge comments on RemoveAlwaysTrueIfConditionRector (#7181)
  • [Naming] Skip rename override method from /vendor/ on RenameParamToMatchTypeRector (#7182)
  • [Php84] Handle named key argument with flipped position on ArrayKeyExistsNullToEmptyStringRector (#7186)
  • skip constructor param hook on ReadOnlyPropertyRector (#7192), Thanks @​tandev!
  • [Php84] Skip value extraction on ForeachToArray* rules (#7193)
  • [Scope] Handle Scope refreshing on Attribute on print string with NOWDOC (#7194)
  • [Transform] Fix example config on FuncCallToNewRector (#7196)
  • [Composer] Make InstalledPackageResolver::resolvedInstalledPackages nullable to verify cached package lists (#7210)
  • [AutoImport] Do not rename different namespaced function on auto import + RenameFunctionRector (#7214)
  • Rectify (#7216)
  • [DeadCode] Skip non-public __clone() method on RemoveEmptyClassMethodRector (#7187)

... (truncated)

Commits
  • 1cd6abf Rector 2.1.5
  • 6159e7f Updated Rector to commit d46cc1a601f7c5e6f0e1fecebf36ed0a30559b1f
  • 064c784 Updated Rector to commit a72065d1676018c9fa346f11ff0cdd2dd7bbe27d
  • 4b2b1f3 Updated Rector to commit ea27d15f03aa75e5a68e80bb188a9acca0dfa81f
  • f5e6e8a Updated Rector to commit edfd9f84814ec687dd98f221beaa34d9c833581b
  • 3b11a9a Updated Rector to commit 084fd1f79bf0e8296a81abc05320ae9bec76e4f1
  • 45314ef Updated Rector to commit fb5d1cf850a6744f9b5d79aa380fa72bb6aa7c11
  • 18995f4 Updated Rector to commit fb5d1cf850a6744f9b5d79aa380fa72bb6aa7c11
  • a8ada72 Updated Rector to commit fb5d1cf850a6744f9b5d79aa380fa72bb6aa7c11
  • 8b7eef8 Updated Rector to commit fb5d1cf850a6744f9b5d79aa380fa72bb6aa7c11
  • Additional commits viewable in compare view

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)

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.1.4...2.1.5)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.1.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update external dependencies php Pull requests that update Php code labels Sep 4, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 5, 2025

Looks like rector/rector is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Sep 5, 2025
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-2.1.5 branch September 5, 2025 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update external dependencies php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants