Skip to content

Bump rector/rector from 2.0.17 to 2.0.18 #18

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2025

Bumps rector/rector from 2.0.17 to 2.0.18.

Release notes

Sourced from rector/rector's releases.

Released: Rector 2.0.18

New Features 🥳

  • Bump to PHP-Parser ^5.5.0 (#6946)
  • [DeadCode] Add RemoveArgumentFromDefaultParentCallRector (#6949)
  • [DeadCode] Add RemoveDeadCatchRector rule (#6939), Thanks @​P3gucka!

Bugfixes 🐛

  • [Php80] Add more exact Expr node that always bool for switch(true) usage on ChangeSwitchToMatchRector (#6965)
  • [Php80] Prevent adding empty return when stringable always throws (#6968), Thanks @​Mika-!
  • [php 8.0] Check if class is an attribute in AnnotationToAttributeRector, to avoid non-attribute bug (#6954)
  • [Transform] Fix FQCN usage on new name on MergeInterfacesRector (#6956)
  • Rectify (#6957)
  • [Printer] Skip change new line as space on anonymous class on print (#6958)
  • [Printer] Use regex string new space detection for anonymous class (#6959)
  • [Php80] Handle dynamic bool expr on ChangeSwitchToMatchRector (#6961)
  • [Php80] Do not change to match(true) on defined case cond on ChangeSwitchToMatchRector (#6962)
  • [Php80] Do not change to match(true) on variable from param on case cond on ChangeSwitchToMatchRector (#6963)
  • Fix fixture file name (#6964)
  • [Renaming] [Symfony 7.0] Skip ClassConstFetch that rename its ->class to Interface that constant not exists in new interface (#6966)
  • Fix stub (#6967)
  • [DeadCode] Clean up useless union StmtsAwareInterface|ClassMethod on TerminatedNodeAnalyzer (#6969)
  • [Php80] Handle has silent void on StringableForToStringRector (#6970)
  • [PostRector] Clean up rename process on ClassRenamingPostRector (#6971)
  • [DeadCode] Early check skip no extends on RemoveDefaultArgumentFromParentCallRector (#6950)
  • [DeadCode] Allow remove createMock method call on RemoveUnusedVariableAssignRector (#6951)
  • [DeadCode] Skip when next catch is parent class exception with special treatment over just throw on RemoveDeadCatchRector (#6952)

rectorphp/rector-symfony 🎵

  • [Symfony 7.3] Handle commands without configure method in InvokableCommandInputAttributeRector (#797), Thanks @​gharlan
  • [Symfony 7.3] Handle fluent call addArgument and addOption on InvokableCommandInputAttributeRector (#795)
  • Twig attributes: add required first param (#793), Thanks @​gharlan
  • Fix namespace of console Option attribute (#792), Thanks @​gharlan
  • fix: Normalize variable names by replacing hyphens with underscores in Symfony73 command argument and option processing (#790), Thanks @​antoniovj1
  • remove return tags in TemplateAnnotationToThisRenderRector as no longer needed (#788)
  • return array if is array type in TemplateAnnotationToThisRenderRector (#786)
  • Bump to php-parser 5.5.0 and update fixture attributes usage (#784)

rectorphp/rector-doctrine 🟠

... (truncated)

Commits
  • be3a452 Rector 2.0.18
  • 1194e69 Updated Rector to commit 2b8855137508cda2d95ffb09c7819c43c6bbc72f
  • a02ac9d Updated Rector to commit 2b8855137508cda2d95ffb09c7819c43c6bbc72f
  • f94d66f Updated Rector to commit 2b8855137508cda2d95ffb09c7819c43c6bbc72f
  • 83be7c5 Updated Rector to commit 2b8855137508cda2d95ffb09c7819c43c6bbc72f
  • b643b6b Updated Rector to commit 2b8855137508cda2d95ffb09c7819c43c6bbc72f
  • 437f434 Updated Rector to commit 2b8855137508cda2d95ffb09c7819c43c6bbc72f
  • 20b8562 Updated Rector to commit 2b8855137508cda2d95ffb09c7819c43c6bbc72f
  • 25b1e3a Updated Rector to commit 0c91a0fcf1ba02677d8364bcd73d49be23ee9c81
  • 9cc7f6d Updated Rector to commit 0c91a0fcf1ba02677d8364bcd73d49be23ee9c81
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 2.0.17 to 2.0.18.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.0.17...2.0.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jun 12, 2025
@jerowork jerowork merged commit 6cb1a16 into main Jun 12, 2025
3 checks passed
@jerowork jerowork deleted the dependabot/composer/rector/rector-2.0.18 branch June 12, 2025 19:22
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 php Pull requests that update php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant