Updates the requirements on rector/rector to permit the latest version.
Release notes
Sourced from rector/rector's releases.
Released Rector 0.17.2
In this release we continue preparing for Rector 1.0 release rectorphp/rector#7854
This includes:
- removing more parent node connections, to lower node tree memory consumption
New Features 🥳
- Add sleep after processPool->quitAll() to give time for all child processes to terminate (#4280), Thanks
@dorrogeray!
- [TypeDeclaration] Add NumericReturnTypeFromStrictScalarReturnsRector (#4296)
- [Php71] Add Closure support on AssignArrayToStringRector (#4303)
- Introduces
AddSensitiveParameterAttributeRector rule (#4342), Thanks @peterfox!
- Bump nikic/php-parser to 4.16.0 (#4343)
- Show error when no files will be processed (#4326), Thanks
@staabm!
- Cache unchanged files on dry run v2 (#4281), Thanks
@dorrogeray!
Bugfixes 🐛
- [CodeQuality] Handle crash on variable variable on OptionalParametersAfterRequiredRector (#4226)
- Fix LocallyCalledStaticMethodToNonStaticRector with method args (#4233), Thanks
@toastedghost!
- Use
FunctionLike contract instead of union of function-like concrete implementations (#4241), Thanks @Wirone!
- [CodeQuality][Performance] Reduce repetitive NodeTypeResolver->getType() on ExprBoolCaster (#4279)
- Skip rewindable generator (#4282)
- [Php55][NodeTypeResolver] Handle crash on dynamic variable concat assign on StringClassNameToClassConstantRector (#4283)
- [Php55] Clean up FullyQualified assigned to FullyQualified on StringClassNameToClassConstantRector (#4284)
- [TypeDeclaration] Extend NumericReturnTypeFromStrictScalarReturnsRector (#4297)
- Skip divide in NumericReturnTypeFromStrictScalarReturnsRector (#4298)
- [TypeDeclaration] Skip once typed and else return array_map() on ReturnTypeFromStrictTypedCallRector (#4312)
- Fix command to configure rector (#4314), Thanks
@bertramakers!
- [Performance] [NodeTypeResolver] Reduce callable traverse usage on ContextNodeVisitor (#4317)
- [CodeQuality] Skip not regex on SimplifyRegexPatternRector (#4322)
- [TypeDeclaration] Handle crash on object shape on ArrayShapeFromConstantArrayReturnRector (#4323)
- [Php81] Skip named constructor on ReadOnlyPropertyRector (#4359)
- Skip argument if value equals default value (#4368), Thanks
@stefantalen!
- [MysqlToMysqli] Handle infinite loop on MysqlQueryMysqlErrorWithLinkRector when no connection instance on first dept stmt (#4375)
Removed 💀
- Remove
removeNode() method from AbstractRector (#4225)
- Remove Kind from doc mapper, as used just once (#4234)
- Move LocallyCalledStaticMethodToNonStaticRector to CodeQuality namespace, to avoid dumping removed static set (#4242)
- Restore RemoveMethodCallParamRector as used (#4244)
- [Performance] Remove NODES_TO_MATCH constant on RemoveNonExistingVarAnnotationRector (#4267)
... (truncated)
Commits
b8f72ff Rector 0.17.2
6e8d9f0 Updated Rector to commit 9ff238819b2cfed103b30766d2c0e33135abed38
dac98be Updated Rector to commit 9d85c96cb1d90aeb6d03eed4856be6861dc07673
9c2b8f6 Updated Rector to commit a808debdb28fa1dd32ed804c6276e9cac30f7d37
2f38f6f Updated Rector to commit f9d9f99f7ade07e3aa5fc40e6b6d3f2a17e9aa85
c534b5e Updated Rector to commit f7109a6d101aabc5e6a113c536bc0f6d5b598226
ebbf202 Updated Rector to commit 3d165eb8ef551c6a3912bc664f5255ee572b3235
a890ca9 Updated Rector to commit 7ee89b326702a0b51e3165fc478615834de50fe1
bbcd259 Updated Rector to commit 6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bd
a3231bb Updated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58a
- 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 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 to permit the latest version.
Release notes
Sourced from rector/rector's releases.
... (truncated)
Commits
b8f72ffRector 0.17.26e8d9f0Updated Rector to commit 9ff238819b2cfed103b30766d2c0e33135abed38dac98beUpdated Rector to commit 9d85c96cb1d90aeb6d03eed4856be6861dc076739c2b8f6Updated Rector to commit a808debdb28fa1dd32ed804c6276e9cac30f7d372f38f6fUpdated Rector to commit f9d9f99f7ade07e3aa5fc40e6b6d3f2a17e9aa85c534b5eUpdated Rector to commit f7109a6d101aabc5e6a113c536bc0f6d5b598226ebbf202Updated Rector to commit 3d165eb8ef551c6a3912bc664f5255ee572b3235a890ca9Updated Rector to commit 7ee89b326702a0b51e3165fc478615834de50fe1bbcd259Updated Rector to commit 6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bda3231bbUpdated Rector to commit 40a1f34b12c548f7be05f02a084be54e8374a58aDependabot 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 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)