Skip to content

Bump rector/rector from 0.12.20 to 0.13.2

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

Created by: dependabot[bot]

Bumps rector/rector from 0.12.20 to 0.13.2.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.13.2

Bugfixes 🐛

  • Fix missing ReflectionUnionType class by moving stub loader to RectorContainerFactory (#2382)

Released Rector 0.13.1

New Features 🎉

  • [CodeQuality] Add InlineIsAInstanceOfRector (#2364)
  • [DX] Move configure to direct call in RectorConfig (#2367)
  • [DX] Various config merge, improve RectorConfig methods (#2371)
  • [DX] Remove non-PHP file formatting based on editorconfig, rather let external coding standard tools handle the file format (#2378)

Bugfixes 🐛

  • [Php73] Skip Encapsed on StringifyStrNeedlesRector (#2352), Thanks @​samsonasik!
  • [TypeDeclaration] Skip curly {@​inheritdoc} on AddArrayReturnDocTypeRector (#2359), Thanks @​samsonasik!
  • Allow to rename method if in interface (#2362)
  • [Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector (#2363), Thanks @​samsonasik!
  • [PhpDocInfo] Fixes Partial value update got duplicated on DoctrineAnnotationTagValueNode change (#1862), Thanks @​samsonasik!

Released Rector 0.13 with Scope Refresh and StmtsAwareInterface

New Features 🎉

  • [Php82] Add ReadOnlyClassRector (#2296), Thanks @​samsonasik!
  • [Order] Add a-z ordering feature to OrderAttributesRector (#2243), Thanks @​Lenny4!
  • [Symfony] Add CommandPropertyToAttributeRector (#163), Thanks @​stephanvierkant
  • [Experimental] Add refactorWithScope() method to get typed Scope easily and required (#2227)
  • Add Scope refresh for changed or new nodes (#2292)

From YAML routes to Annotations 🚀

  • [Symfony] Add new rule to add annotations from router configuration to symfony controllers (#169), Thanks @​malteschlueter
-foo_baz:
-    path: /foo/{baz}
-    defaults: { _controller: FooBundle:Bar:baz, _format: json }
-    methods: [ GET, POST ]
+/**



@​Route(name="foo_baz", path="/foo/{baz}", methods={"GET","POST"}, defaults={_format="json"})


*/
public function bazAction(string $baz)

... (truncated)

Commits
  • 5c55299 Rector 0.13.2
  • 64b3510 Updated Rector to commit 31e60de5c9fc7ce2f71c6af2c9a22b634b77809f
  • 15bac77 Updated Rector to commit e89590f92503dc848855035f76da5aa607370fe4
  • 85ff702 Updated Rector to commit 38cb4c9684920ceeb121ced398fd7e3c70f6435e
  • efe571a Rector 0.13.1
  • ed2a4f1 Updated Rector to commit 429e5746ea00b435d7a785c7716600e556b4d3d2
  • 5ac1afd Updated Rector to commit 7f40d20ff75b7a712815862110c66c445e1fb8c5
  • b748edb Updated Rector to commit 37df55a2fd1a2d6baceb128d8d25cabb19bea833
  • 72da510 Updated Rector to commit 30b5b53c0ed3031b75341efe02a53d8367861dd4
  • 4838a73 Updated Rector to commit 38ed8d2f6d765cc8ca7bfa9d2c3105d05f9109ff
  • 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