Bump rector/rector from 2.1.4 to 2.1.5
Open
Number: #59
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
September 05, 2025 at 06:11 AM UTC
(3 months ago)
(3 months ago)
Updated:
September 05, 2025 at 06:11 AM UTC
(3 months ago)
(3 months ago)
Labels:
dependencies php
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
RemoveDuplicatedCaseInSwitchRectorand 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_DEFAULTtoFILTER_UNSAFE_RAW(#7209), Thanks@ddevsr!- [PHP 8.5] Convert
@deprecatedto#[\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
@finaldoc with public property on ConvertStaticToSelfRector (#7168)- [CodeQuality] Skip
@finaldoc with public class constant on ConvertStaticToSelfRector (#7170)- Ensure native ReflectionClassConstant->isFinal() exists by check real php version (#7171)
- Fix
RemoveDuplicatedCaseInSwitchRectorbehavior (#7173), Thanks@max-s-lab!- replace
PHP_EOLwith\nwhen 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
1cd6abfRector 2.1.56159e7fUpdated Rector to commit d46cc1a601f7c5e6f0e1fecebf36ed0a30559b1f064c784Updated Rector to commit a72065d1676018c9fa346f11ff0cdd2dd7bbe27d4b2b1f3Updated Rector to commit ea27d15f03aa75e5a68e80bb188a9acca0dfa81ff5e6e8aUpdated Rector to commit edfd9f84814ec687dd98f221beaa34d9c833581b3b11a9aUpdated Rector to commit 084fd1f79bf0e8296a81abc05320ae9bec76e4f145314efUpdated Rector to commit fb5d1cf850a6744f9b5d79aa380fa72bb6aa7c1118995f4Updated Rector to commit fb5d1cf850a6744f9b5d79aa380fa72bb6aa7c11a8ada72Updated Rector to commit fb5d1cf850a6744f9b5d79aa380fa72bb6aa7c118b7eef8Updated 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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
1
Files Changed:
1
1
Additions:
+6
+6
Deletions:
-6
-6
Package Dependencies
Technical Details
| ID: | 7004504 |
| UUID: | 2801588808 |
| Node ID: | PR_kwDOMhYgn86m_NpI |
| Host: | GitHub |
| Repository: | GemberPHP/message-bus-symfony |
| Merge State: | Unknown |