Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 23, 2022

Updates the requirements on rector/rector to permit the latest version.

Release notes

Sourced from rector/rector's releases.

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)

New StmtsAwareInterface node

  • [DX] Add StmtsAwareInterface to catch node by type (#2269)

Do you need to iterface all rules with stmts in them? Hook in one node type:

   /**
     * @return array<class-string<Node>>
     */
    public function getNodeTypes(): array
    {
        return [StmtsAwareInterface::class];
    }

Bugfixes 🐛

  • [CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector when inside of Attribute (#2212), #6910, Thanks @​samsonasik!

... (truncated)

Commits

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)

….19 || ^0.8 to 0.12.* || ^0.9.19 || ^0.8 || ^0.13

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/commits/0.13.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 18, 2022

Superseded by #147.

@dependabot dependabot bot closed this Aug 18, 2022
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-0.12.staror-tw-0.9.19or-tw-0.8or-tw-0.13 branch August 18, 2022 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant