Skip to content

Bump rector/rector from 0.12.23 to 0.14.2

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

Created by: dependabot[bot]

Bumps rector/rector from 0.12.23 to 0.14.2.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.14.2

Bugfixes 🐛

  • [Php74] Skip Nested ternary parenthesized multiline on ParenthesizeNestedTernaryRector (#2902)
  • Update nikic/php-parser to 4.15.1 (#2903)
  • [Php55] Handle pre-slash string on StringClassNameToClassConstantRector (#2905)
  • Explain how to persist Rector caches between CI runs (#2906), Thanks @​CodeCasterNL!
  • Fix missing FileSystem class in Symfony project (#7449)

Released Rector 0.14.1

New Features :partying_face:

Read on the blog: Support for Nested Doctrine Annotation to Flat Attributes in Rector 0.14

  • [PHP 8.0] Add NestedAnnotationToAttributeRector (#2781)
  • [PHP 8.0] Add way to adjust specifics attribute arguments (#2834)
  • [BetterPhpDocParser] Add ArrayItemNode to improve value transfer in annotation curly lists (#2786) (#2795)
  • + 20 % performance improvement by lazy loading resources (#2774), Thanks @​ossinkine!
  • [PHP 8.0] Refactor ChangeSwitchToMatchRector to StmstAwareInterface (#2801)
  • [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
  • Support for ConstFetch (true, false, null) in NodeFactory::createArrayItem (#2778), Thanks @​xorik!
  • [PHP 7.4] Add MoneyFormatToNumberFormatRector (#2727)
  • [DX] Make tracy debug functions part of dev-only, so developers can use own debug style (#2848)
  • Add rector-debugging to require-dev (#2857)
  • Support for ConstFetch (true, false, null) in NodeFactory::createArrayItem (#2778), Thanks @​xorik!
  • [PHP 8.0] Add custom JMS AccesorOrder explicit key (#2895)

Bugfixes 🐛

  • Handle crash on RenameFunctionRector+ForRepeatedCountToOwnVariableRector+CountOnNullRector+NullToStrictStringFuncCallArgRector (#2777)
  • [CodeQuality] Fix out-of-order items removal in UnusedForeachValueToArrayKeysRector (#2779)
  • [PHP 8.0] Keep quoted string with doublecolon in AnnotationToAttributeRector (#2784)
  • [PHP 8.0] Fix ChangeSwitchToMatchRector for next new variable re-use (#2798)
  • Fix generics and intersection in TypedPropertyRector (#7392) (#2800), Thanks @​Khartir!
  • [CodeQuality] Add StaticCall support on OptionalParametersAfterRequiredRector (#2817)
  • [PHP 5.5] Make StringClassNameToClassConstantRector skip lcfirst (#2888)
  • [AutoImport] Handle auto import crash on docblock @​SuppressWarnings(PHPMD.ElseExpression) inside anonymous class (#2808)
  • [CodingStyle] Skip translation functions on EncapsedStringsToSprintfRector (#2809)
  • [PHP 8.1] Handle crash backed Enum not implemented on FirstClassCallableRector (#2815)
  • [EarlyReturn] Do not remove previous If_ stmts on ChangeNestedIfsToEarlyReturnRector (#2820)
  • [EarlyReturn] Handle crash on assign in if else before on RemoveAlwaysElseRector (#2822)
  • [EarlyReturn] Skip ChangeAndIfToEarlyReturnRector in case of simple scalar return (#2826)
  • [EarlyReturn] Skip indirect return with define variable after parent else on ChangeAndIfToEarlyReturnRector (#2836)
  • [DeadCode] Skip object shape pseudo-type in RemoveNonExistingVarAnnotationRector (#2837)
  • [PHP 8.0] Handle single quoted is_granted on AnnotationToAttributeRector (#2842)
  • [DowngradePhp80/72] Handle DowngradeTrailingCommasInParamUseRector+DowngradeParameterTypeWideningRector (#2843)

... (truncated)

Commits
  • 55915c3 Rector 0.14.2
  • 03d636b Updated Rector to commit 87d8ac84d83e29f2d1d7479cdde69272bdf8a9e9
  • 7030aef Updated Rector to commit 87d8ac84d83e29f2d1d7479cdde69272bdf8a9e9
  • 9d01c06 Updated Rector to commit bdee76597b93b0c75a70d767caed6f16cd8ae403
  • a0b6b46 Updated Rector to commit 754fdd174ef743ebe7b528fc89adc3e61df7379e
  • 463e812 Updated Rector to commit 40c546e1835ebd452b0375e8529861b926e151ae
  • 5a0a237 Updated Rector to commit d3cab63bcb44b27446a6224eb9d511f2d52e97ba
  • 15441ab Rector 0.14.1
  • 62e8563 Updated Rector to commit a39844ee53169fb0b6d1184672eeb1869a541dd2
  • 2f2c1d1 Updated Rector to commit 3820e0075152c72f618226ff213faf847e3d39f7
  • 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