Bump rector/rector from 2.1.7 to 2.2.1
Open
Number: #84
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
October 06, 2025 at 10:33 PM UTC
(about 2 months ago)
(about 2 months ago)
Updated:
October 06, 2025 at 10:33 PM UTC
(about 2 months ago)
(about 2 months ago)
Labels:
dependencies php
dependencies php
Description:
Bumps rector/rector from 2.1.7 to 2.2.1.
Release notes
Sourced from rector/rector's releases.
Released Rector 2.2.1
Bugfixes :bug:
- Fix php 7.4 regression on strtolower to false on ClassLikeNameClassNameImportSkipVoter (#7436)
- [CodeQuality] Handle property fetch and common nodes crash on InlineArrayReturnAssignRector (#7437)
Released Rector 2.2
This release includes dozens of fixes, new PHP and Type Declaration rules, many Symfony Console rules improvements...
...and one brand new set: type coverage docblocks :tada: :tada: :tada:
Read the gist on our blog - Rector 2.2: New rules for Array Docblocks
New Features and Improvements :rocket:
New rules for Type Coverage Docblocks:
- Add AddReturnDocblockForCommonObjectDenominatorRector (#7249)
- Add AddParamArrayDocblockFromDimFetchAccessRector (#7253)
- Add AddParamArrayDocblockFromDataProviderRector (#7257)
- Add ClassMethodArrayDocblockParamFromLocalCallsRector (#7259)
- Add AddReturnDocblockDataProviderRector (#7266)
- Add fixture for data provider return options (#7268)
- Add AddReturnDocblockForArrayDimAssignedObjectRector (#7302)
- Add DocblockVarArrayFromPropertyDefaultsRector (#7311)
- Add DocblockVarArrayFromGetterReturnRector (#7313)
- Add AddReturnDocblockForJsonArrayRector (#7320)
- Add AddParamArrayDocblockFromAssignsParamToParamReferenceRector (#7323)
- [dx] add withTypeCoverageDocblockLevel() (#7363)
- [dead-code] Add
RemoveUnusedVariableUseRector(#7430)- [Php 8.5] Add WakeupToUnserializeRector (#7242), Thanks
@arshidkv12!- [code-quality] Add
RepeatedOrEqualToInArrayRector(#7400)- [Php 8.1] Add
NullToStrictIntPregSlitFuncCallLimitArgRector(#7240)- feat: add greater and smaller support to StrlenZeroToIdenticalEmptyStringRector (#7329), Thanks
@calebdw!- [TypeDeclaration] Allow empty array to native array on AddMethodCallBasedStrictParamTypeRector (#7342)
- [TypeDeclaration] Allow named arg on AddArrayFunctionClosureParamTypeRector (#7397)
- [type-declarations] Add
KnownMagicClassMethodTypeRector(#7419)- Add rector to migrate __sleep() to __serialize() (#7212), Thanks
@arshidkv12!- [type-declaration] Add
AddParamFromDimFetchKeyUseRector(#7424)- Add first class callable support to
CallUserFuncArrayToVariadicRector(#7428)Bugfixes :bug:
... (truncated)
Commits
e1aaf30Rector 2.2.1383c96bUpdated Rector to commit 9c1b5fef3c949fc7271c75cc560d51171115828255e8da6Updated Rector to commit 21b60910ad5526c24c3b812c7dec754e1be9ef52045c19dUpdated Rector to commit 24b76ca1eead8bb095d9dd769a5ace4dfde799153c5a641Rector 2.2.0479e63aUpdated Rector to commit fe7432b6d8cc7bd8237d77a0e6ad38ca5c34371440d004dUpdated Rector to commit d948383ff339cf1ff7ca6a9ffadbec9943941b240195c9eUpdated Rector to commit 57b1e5c299f89880e57c8d1799b25d0dd643f8ff0db8267Updated Rector to commit 8d22cedbbd93a4945cf0fd97da07c486488b533a0d5db11Updated Rector to commit 3b1717892dd2502a9ecdd67c8e498fe118ed687a- 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:
+7
+7
Deletions:
-7
-7
Package Dependencies
Technical Details
| ID: | 9711191 |
| UUID: | 2892110195 |
| Node ID: | PR_kwDOOvDr6c6sYhlz |
| Host: | GitHub |
| Repository: | jerowork/example-application-graphql-attribute-schema |
| Merge State: | Unknown |