An open index of dependabot pull requests across open source projects.

Bump rector/rector from 2.1.4 to 2.1.5

Open
Number: #59
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 0
Created: September 05, 2025 at 06:11 AM UTC
(3 months ago)
Updated: September 05, 2025 at 06:11 AM UTC
(3 months ago)
Labels:
dependencies php
Description:

Bumps rector/rector from 2.1.4 to 2.1.5.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.1.5

New Features :partying_face:

  • 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 :bug:

  • [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 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)
Pull Request Statistics
Commits:
1
Files Changed:
1
Additions:
+6
Deletions:
-6
Package Dependencies
Ecosystem:
packagist
Version Change:
2.1.4 → 2.1.5
Update Type:
Patch
Technical Details
ID: 7004504
UUID: 2801588808
Node ID: PR_kwDOMhYgn86m_NpI
Host: GitHub
Repository: GemberPHP/message-bus-symfony
Merge State: Unknown