Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rector/rector from 0.12.23 to 0.13.0 #538

Merged
merged 1 commit into from
May 24, 2022

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rector/rector from 0.12.23 to 0.13.0.

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
  • bb3b32d Rector 0.13.0
  • f89782b Updated Rector to commit f134b6183e8c1a9cef0d69cb3255015c963d3c19
  • a2cadae Updated Rector to commit 3fe07aa6a1b368b191cc0ed3df030988ae57bd39
  • 291f513 Updated Rector to commit f8c204adba7515823ad213f30d541bf87e921177
  • b7c661c Updated Rector to commit a9c6d9bd06515b5e5bbbcad3b2f7e70d3ab59125
  • a935bbc Updated Rector to commit 8fbc6582f998a7c3330a1ca7ff731f2e8fb2476f
  • 1192ab0 Updated Rector to commit 68906c7e178d486c9f6de95b70b40e8af70793f8
  • 87e9b6c Updated Rector to commit 20731aedd2668b2d920ac7502266996c9ccb618b
  • cb9cf8d Updated Rector to commit a59e9cece64b192b0e8b7701909cece3ef060bd8
  • de0de9a Updated Rector to commit 08a35afeb1cd4ac464b7da9d73f0256b1b585537
  • 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)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.12.23 to 0.13.0.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.12.23...0.13.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 24, 2022
@simonschaufi simonschaufi merged commit 0b8c1be into master May 24, 2022
@simonschaufi simonschaufi deleted the dependabot/composer/rector/rector-0.13.0 branch May 24, 2022 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant