php-version-audit
php-version-audit copied to clipboard
Bump rector/rector from 0.15.13 to 0.16.0
Bumps rector/rector from 0.15.13 to 0.16.0.
Release notes
Sourced from rector/rector's releases.
Released Rector 0.15.24
New Features :partying_face:
- Performance: Improve node name resolver performance (#3506), Thanks
@keulinho!- [CodeQuality] Add SwitchTrueToIfRector (#3535)
- [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
- Improve ArraySpreadInsteadOfArrayMergeRector (#3551), Thanks
@yguedidi!- Performance: reduce parent attribute usage on BetterNodeFinder (#3504)
- Performance: using findFirst() when possible at BetterNodeFinder (#3505)
- Performance: use direct find() instead of lookup all nodes then filter on BetterNodeFinder (#3507)
- Performance: Use faster hashing algo for cache key generation (#3508), Thanks
@keulinho!Bugfixes :bug:
- Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
- [CodeQuality] Skip static class const fetch on InlineConstructorDefaultToPropertyRector (#3510)
- [CodingStyle] Make EncapsedStringsToSprintfRector work with two string concat (#3515)
- [CodeQuality] Handle multiple ifs on SimplifyIfExactValueReturnValueRector (#3527)
- [NodeManipulator] Reduce parent attribute usage on VariableManipulator (#3528)
- [NodeTypeResolver] Make NodeTraverser as property on PHPStanNodeScopeResolver (#3533)
- [NodeTypeResolver] Make NodeTraverser as property on NodeScopeAndMetadataDecorator (#3532)
- [NodeAnalyzer] Use PHPStan ClassReflection to detect anonymous class on ClassAnalyzer (#3543)
- [Php81] Merge attributes on NewInInitializerRector (#3546)
- [Php81] Handle assign op append on ReadOnlyPropertyRector (#3552)
- [CodeQuality] Skip empty cases on SwitchTrueToIfRector (#3556)
- RemoveNonExistingVarAnnotationRector: Allow return annotations (#3534), Thanks
@jlherren!- [PostRector] Skip remove unused used at
@seefor Generic tag (#3562)- [PostRector] Skip remove unused use on used as ConstFetchNode, eg: TypeKind::* (#3560)
Removed :skull:
- [CodeQuality] Remove next node attribute usage on SimplifyIfExactValueReturnValueRector (#3511)
- [CodingStyle] Remove previous node attribute on WrapEncapsedVariableInCurlyBracesRector (#3512)
- [CodeQuality] Remove next node attribute usage on SimplifyIfNotNullReturnRector (#3517)
- Remove deprecated
@noRectorwarning (#3518)- [CodingStyle] Remove next node attribute on NewlineAfterStatementRector (#3525)
- [Privatization] Remove parent attribute usage on PrivatizeFinalClassMethodRector (#3526)
- [NodeTypeResolver] Remove NodeScopeAndMetadataDecorator::decorateStmtsFromString() method (#3530)
- [DeadCode] Remove previous attribute usage on RemoveDeadConditionAboveReturnRector (#3538)
- [Php70] Remove previous attribute usage on ReduceMultipleDefaultSwitchRector (#3537)
- [CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector (#3536)
- [CodingStyle] Remove previous node attribute on TernaryConditionVariableAssignmentRector (#3540)
- [DeadCode] Remove previous and parent attribute usage on RemoveNullPropertyInitializationRector (#3541)
- [DeadCode] Remove property comment same line on RemoveUnusedPrivatePropertyRector (#3547)
- [PSR4] Remove clone $node on NormalizeNamespaceByPSR4ComposerAutoloadRector (#3553)
- [PSR4] Remove clone $node on PseudoNamespaceToNamespaceRector (#3554)
... (truncated)
Commits
2125ff7Rector 0.16.05eeea88Updated Rector to commit 4179a87aac262d7f38daf79f8a2f530808d1cf8ee0ddc70Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f561359adUpdated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f51e2a0a6Updated Rector to commit 8b48059c347d98d191478504da236c4c2ba1e6674628b8bUpdated Rector to commit 657ec2e5af81361107cafc9c842b1d9cdf4ed760ab1fc21Updated Rector to commit 09b59efbc73c7cd28672d9605b9a17b8f14d2c2a68933a6Updated Rector to commit 67ce52f0a8d6fff37ca569deba67c5635684dde6ad0c32eUpdated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89dd229e0Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89- 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 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)







