php-version-audit icon indicating copy to clipboard operation
php-version-audit copied to clipboard

Bump rector/rector from 0.15.13 to 0.16.0

Open dependabot[bot] opened this issue 2 years ago • 1 comments

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 @​see for 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 @​noRector warning (#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
  • 2125ff7 Rector 0.16.0
  • 5eeea88 Updated Rector to commit 4179a87aac262d7f38daf79f8a2f530808d1cf8e
  • e0ddc70 Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f5
  • 61359ad Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f5
  • 1e2a0a6 Updated Rector to commit 8b48059c347d98d191478504da236c4c2ba1e667
  • 4628b8b Updated Rector to commit 657ec2e5af81361107cafc9c842b1d9cdf4ed760
  • ab1fc21 Updated Rector to commit 09b59efbc73c7cd28672d9605b9a17b8f14d2c2a
  • 68933a6 Updated Rector to commit 67ce52f0a8d6fff37ca569deba67c5635684dde6
  • ad0c32e Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89
  • dd229e0 Updated Rector to commit 05cc9af356d08f264c0faabd6a22149c1c06da89
  • 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 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)

dependabot[bot] avatar May 05 '23 13:05 dependabot[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar May 05 '23 14:05 sonarqubecloud[bot]