Skip to content

Bump rector/rector from 0.12.8 to 0.12.9

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

Created by: dependabot[bot]

Bumps rector/rector from 0.12.8 to 0.12.9.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.12.9

New Features 🎉

  • [Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481), Thanks @​samsonasik!
  • [DowngradePhp80] Add DowngradeReflectionPropertyGetDefaultValueRector (#1486), Thanks @​samsonasik!
  • [PHP 8.0] Add Annotation to ORM entity nested support (#1520)
  • [Doctrine] Remove join columns on both PHP 8 and PHP 8.1 (#1525)
  • [DowngradePhp80] Add DowngradeReflectionClassGetConstantsFilterRector (#1529), Thanks @​samsonasik!

Changes

  • [TypeDeclaration] Improve PropertyTypeDeclarationRector to work with strict types (#1494)
  • [TypedPropertyRector] Remove private property only, to keep other rules work separately (#1496)
  • [TypeDeclaration] Decouple TypedPropertyFromAssignsRector (#1498)
  • [TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500)
  • [TypeDeclaration] Improve assign/constructor rules (#1499)
  • Move DoctrineColumnPropertyTypeInferer rector-doctrine package (#1506), Thanks @​samsonasik!
  • Move DoctrineRelationPropertyTypeInferer to rector-doctrine (#1507)

Bugfixes 🐛

  • [DowngradePhp81] Handle New_ inside array on DowngradeNewInInitializerRector (#1508), Thanks @​samsonasik!
  • [PHP 8.1] Fix IntersectionTypesRector for non-object types (#1495)
  • [PHP 8.0] Handle abstract method on StringableForToStringRector (#1483), Thanks @​samsonasik!
  • [NodeTypeResolver] Add cast (float), (string), (int) back on ScalarTypeResolver (#1484), Thanks @​samsonasik!
  • [NodeTypeResolver] Fix undefined method ReflectionProperty::getDefaultValue() on php 7.x (#1482), Thanks @​samsonasik!
  • [Privatization] Skip protected property used in parent class on PrivatizeFinalClassPropertyRector (#1501), Thanks @​samsonasik!
  • [DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510), Thanks @​samsonasik!
  • [Php80] Handle Alias is used as Attribute on AnnotationToAttributeRector (#1511), Thanks @​samsonasik!
  • [DowngradePhp74] Handle ArrowFunctionToAnonymousFunctionRector inside CallLike + preserve byRef (#1514), Thanks @​samsonasik!
  • [Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516), Thanks @​samsonasik!
  • [CodingStyle] Fix static to dynamic override in static method (#1518)
  • [Php80] Handle case mixed up default in first case+middle case on ChangeSwitchToMatchRector (#1538), Thanks @​samsonasik!
  • [DeadCode] Handle parent:: call with assign when no parent on RemoveParentCallWithoutParentRector (#1531), Thanks @​samsonasik!
  • [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530), Thanks @​samsonasik!
Commits
  • 8f7cfa8 Rector 0.12.9
  • 16f4095 Updated Rector to commit 6861ae9a4fe8e52dd4633101d80c9c55c1093b9e
  • 146c21d Updated Rector to commit 2cdb53d920299c3899f3b98ed972083e211268d0
  • e5ebbe1 Updated Rector to commit b6245370d54212acae5144ec175c0ba42b57f4a1
  • b542b19 Updated Rector to commit c53dcfa884d5ba1aca2783c51f0a8ea047621307
  • 21889ae Updated Rector to commit 127ab54e8d7ffee9104de9aec1a33d0698ac462d
  • 1cfe2fe Updated Rector to commit c51fcbf5ba8e4530c6992dafba25a447b89f24d0
  • f5b0302 Updated Rector to commit 2cdd339cda10577cfd45dfa18b1347780065e397
  • b410b7e Updated Rector to commit 490bec305cc7230afc5723371b458bed27ec24c8
  • f8cead4 Updated Rector to commit a16f614af3d7137a5d84e119d6a8a3417fdc4f31
  • 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