Skip to content

Bump rector/rector from 0.12.23 to 0.14.5

Wesley Klop requested to merge dependabot/composer/rector/rector-0.14.5 into develop

Created by: dependabot[bot]

Bumps rector/rector from 0.12.23 to 0.14.5.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.14.5

Bugfixes 🐛

Released Rector 0.14.4

New Features :partying_face:

  • [Naming] Add TwigEnvironment special name to RenameParamToMatchTypeRector to keep the context (#2951)
  • Add support for interface in AnnotationToAttributeRector rule (#2958), Thanks @​astronom!

Bugfixes 🐛

  • Skip short class names on StringClassNameToClassConstantRector, as mostly internal classes or strings (#2950)
  • [CodeQuality] Skip nullable mixed on ReturnTypeFromStrictScalarReturnExprRector (#2947), Thanks @​thomasschiet!
  • [Php81] Handle crash insensitive function name on NullToStrictStringFuncCallArgRector (#2953)
  • [AutoImport] Add support for auto import in alias same last name (#2952)
  • [Php80] Skip no default next indirect in return Expr on ChangeSwitchToMatchRector (#2959)

Released Rector 0.14.3

New Features :partying_face:

Bugfixes 🐛

  • [Down_To_PHP71] Handle both parent and child typed for trailing comma downgrade on DowngradeLevelSetList::DOWN_TO_PHP_71 (#2910)
  • [PHP 8.1] Do not process static methods from Enum class (#2911)
  • [PHP 7.4] Fix literator separator string/int missmatch in PHPStan type (#2913)
  • [Doctrine] Handle Partial removal annotation has annotation below on RemoveRedundantDefaultPropertyAnnotationValuesRector (#2914)
  • [DeadCode] Handle assign empty array on if cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2917)
  • [DeadCode] Skip assign if cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2918)
  • Skip first class callables in NullToStrictStringFuncCallArgRector (#2919), Thanks @​thomasschiet!
  • [Skipper] Handle provide direct relative path in Skipper (#2921)
  • Fix VarAnnotationIncorrectNullableRector, add support for closure params when generating php doc (#2922), Thanks @​dorrogeray!
  • [CodingStyle] Skip has non-printable chars on SymplifyQuoteEscapeRector (#2926)
  • [Php80] Handle crash on Nested Annotation to Attribute setting PhpVersion::PHP_80 (initializer - 1) (#2929)
  • [Visibility] Does not turn abstraction into static from implicit public abstractions in ExplicitPublicClassMethodRector (#7483) (#2930), Thanks @​Goral64!
  • [Php55] Allow alias name on StringClassNameToClassConstantRector (#2931)
  • [TypeDeclaration] Add AddArrowFunctionReturnTypeRector (#2933)
  • [DeadCode] Skip nullable array on not empty on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2935)
  • [AutoImport] Allow auto import to use existing alias in use statement (#2937)
  • Skip properties with default values for MakeTypedPropertyNullableIfCheckedRector (#2936), Thanks @​Wohlie!
  • [AutoImport] Add GroupUse support on auto import (#2939)
  • [AutoImport] Skip multiple namespaces on single file on auto imports (#2940)
  • Skip method of abstract class for StaticCallOnNonStaticToInstanceCallRector. (#2938), Thanks @​Wohlie!
  • Skip magic methods for StaticCallOnNonStaticToInstanceCallRector. (#2941), Thanks @​Wohlie!
  • Add refactorings for ...val() (#2942), Thanks @​Wohlie!

... (truncated)

Commits
  • f7fd87b Rector 0.14.5
  • 528876d Updated Rector to commit 5a6be73baf8c5293e0395a74264335f1e6a02655
  • 149764b Rector 0.14.4
  • de60227 Updated Rector to commit cbe52ed52d2231d1487196fddf114c7fae341555
  • 89cb1be Updated Rector to commit eeacb4fb2889cd04a4ef532c59337089dc8ecb7c
  • 0c28bef Updated Rector to commit 643c444d936e692a8a0224b7e7c81a74be40d398
  • debee17 Updated Rector to commit 6b3ce0af37a7fbae87d06e43bc485616bf81be3e
  • fb7d11d Updated Rector to commit 2015f4680793359cf0135a5f1a9f3e74b6ee632a
  • 44e9f0d Updated Rector to commit 429c9c087662fbd35e10e5d044b63aabfb1872f7
  • 465ae70 Updated Rector to commit 54cc8e7a839343023a10a4ee230b9973dd03c376
  • 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)

Merge request reports