phpDocumentor / Reflection

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

Bump rector/rector from 1.2.6 to 1.2.7 #624

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 week ago

Bumps rector/rector from 1.2.6 to 1.2.7.

Release notes

Sourced from rector/rector's releases.

Released Rector 1.2.7

New Features :partying_face:

  • Apply AddOverrideAttributeToOverriddenMethodsRector to traits (#6367), Thanks @​jrjohnson!
  • [Transform] MethodCall to New (#6352), Thanks @​peterfox!
  • Add RemoveTypedPropertyNonMockDocblockRector (#6306)
  • [DX] Add links to open the editor to the names of processed files and the names of rules applied (#6272), Thanks @​carlos-granados!

Bugfixes :bug:

  • Fixed --memory-limit=-1 option handling when used in parallel (#6349), Thanks @​ddegasperi!
  • [Php70] Fix delimiter in the middle on EregToPregMatchRector (#6356)
  • [Php70] More delimiter case in the middle fix on EregToPregMatchRector (#6357)
  • [Php80] Cast string/int for int vs string condition and case condition on ChangeSwitchToMatchRector (#6359)
  • [DeadCode] Skip from call with return docblock on ReduceAlwaysFalseIfOrRector (#6361)
  • [TypeDeclaration] Closure Param Types from Iterator Source (#6345), Thanks @​peterfox!
  • [Privatization] Allow privatize protected promoted property on PrivatizeFinalClassPropertyRector (#6360)
  • [DeadCode] Skip with Else and ElseIf on SimplifyIfNotNullReturnRector (#6365)
  • [Php70] Handle empty branch crash on unprintable char \x0C on EregToPregMatchRector (#6368)
  • [UnusedImport] Different letter case for classes + optimization (#6362), Thanks @​jorgsowa!
  • [CodeQuality] Skip else indirect return on SimplifyIfReturnBoolRector (#6371)
  • [CodeQuality] Clean up else check on SimplifyIfReturnBoolRector (#6372)
  • [TypeDeclaration] Fix deep nested array docblock with \ prefix on ReturnTypeFromStrictNewArrayRector (#6373)
  • [EarlyReturn] Skip nested with OR in root if statement condition on ChangeNestedForeachIfsToEarlyContinueRector (#6375)
  • [DeadCode] Skip RemoveUnusedPrivatePropertyRector in middle assign (#6363)

Removed :skull:

  • [NodeAnalyzer] Remove ClassAnalyzer::isAnonymousClassName() (#6351)
  • [NodeAnalyzer] Remove unused AstResolver on VariadicAnalyzer (#6353)
  • [DeadCode] Clean up double private method filtering on RemoveUnusedPrivateMethodRector (#6364)
  • [DeadCode] Skip union docblock param with is_object() native type check on RemoveAlwaysTrueIfConditionRector (#6370)

rectorphp/rector-symfony :musical_note:

  • [CodeQuality] Add AddTraitGetterReturnTypeBasedOnSetterRequiredRector (#671)

rectorphp/rector-phpunit :green_circle:

... (truncated)

Commits
  • 5b33bdd Rector 1.2.7
  • 318d8c9 Updated Rector to commit e37a659d4bbcdb540157a3034e8abef30e5f77bf
  • 24d2df8 Updated Rector to commit 2b8cf93121045df5548684660ce7ae06b23b0e50
  • d633e95 Updated Rector to commit 1fcd876367b12e6857552c593799d7f0eb0a8145
  • 7f51244 Updated Rector to commit d8f31e7559c9e3e288f2f58228120c71986a80e9
  • 4dd8bdd Updated Rector to commit d553e84b406dbea66f4ca1dcca58f6405147c2c5
  • c522933 Updated Rector to commit 28ba716ca753c2a2a1a0d22ef7aec12af2d81ba0
  • 7595ee2 Updated Rector to commit 52e3fdfb48a507be997bd0f47256ad14854be844
  • 103280d Updated Rector to commit 16f939995e159c934f0dcd1179a26a56fe64b65b
  • 1f93d1a Updated Rector to commit 203651aaf1c615c345620c5069c15755bde08227
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)