phpDocumentor / Reflection

Reflection library to do Static Analysis for PHP Projects
MIT License
117 stars 51 forks source link

Bump rector/rector from 0.15.19 to 0.15.20 #360

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rector/rector from 0.15.19 to 0.15.20.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.15.20

New Features :partying_face:

  • [DX] Add "setup-ci" command to ease integration to CI (#3425)
  • [CI] Move from EndBug/add-and-commit to stefanzweifel/git-auto-commit-action (#3426)
  • [CodeQuality] Add concat support on ReturnTypeFromStrictScalarReturnExprRector to be string (#3435)
  • [Php80] Add typed property Closure support on ClassPropertyAssignToConstructorPromotionRector (#3453)

Bugfixes :bug:

  • [Privatization] Fix crash on assign inside Arg on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3423)
  • [TypeDeclaration] Only apply false type on php 8.2+ configured on TypedPropertyFromAssignsRector (#3422)
  • [Php71] Set public constant on final constant on PublicConstantVisibilityRector (#3431)
  • [CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute is different (#3434)
  • [Php80] Skip array append different keys in cases on ChangeSwitchToMatchRector (#3437)
  • Alternative Rector workflow on check repo before steps run (#3440)
  • Handle $reflectionProperty->getDefaultValueExpression() return null (#3446)
  • [CodingStyle] Skip case not constant value on BinarySwitchToIfElseRector (#3452)
  • [CodingStyle] Use ExprAnalyzer::isDynamicExpr() to detect dynamic value case cond on BinarySwitchToIfElseRector (#3456)
  • [DeadCode] Skip assign inside if cond on RemoveAlwaysTrueIfConditionRector (#3447)

Removed :skull:

  • Remove deprecated NodeValueResolver, ChangeSingletonToServiceRector as rather experimental and leaky (#3442 (#3442)
  • [Privatization] Remove ReplaceStringWithClassConstantRector as rather dynamic and can lead to unexpected results (#3443)
Commits
  • c3c4fb3 Rector 0.15.20
  • 2f750e7 Updated Rector to commit bf6fdc70b4b903a27367926d189400d279dcb411
  • 6fea23a Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
  • 57f48de Updated Rector to commit ed16cab5a2fa6982539e06ad70ac9c119c7dc346
  • b66a828 Updated Rector to commit d9dc05621793de2fa23815b73e8db94c8f56b30d
  • 4077cee Updated Rector to commit 64a96e39ebbb3b3c00cb2c1f23addc4017388845
  • 2ddddb4 Updated Rector to commit c2a6d2217395ef9f6ba9a46188a62b97f2c4b250
  • b3c8106 Updated Rector to commit adfc65ab9500d1a6066bcb05944dd9c5e7c4c7d1
  • 3280541 Updated Rector to commit 9af763f23d4f12db2b18f0aa23afe08b082cb5f0
  • bc4d628 Updated Rector to commit b2e90e8df6609979f068858c5912aba7e2d1ede3
  • 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)