Skip to content

Bump rector/rector from 2.0.16 to 2.0.17 #13

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 2, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rector/rector from 2.0.16 to 2.0.17.

Release notes

Sourced from rector/rector's releases.

Released: Rector 2.0.17

New Features 🥳

  • [Php85] Add ArrayFirstLastRector (#6900)
  • Use active voice and add markdown style for code blocks (#6897), Thanks @​simonschaufi!
  • [Php83] Add ReadOnlyAnonymousClassRector (#6916)
  • [Php83] Add DynamicClassConstFetchRector (#6922)
  • [Test] Add test for crash after reprint Stmt (#6924)
  • [Command] Fix to make additionalAutoloader->autoloadPaths() works on both parallel and non-parallel proccess (#6927)
  • [Alternative] Add EnumCaseToPascalCaseRector with use of DynamicSourceLocatorProvider (#6899)

Bugfixes 🐛

  • Directly use isNames() in rector rules (#6896)
  • [StrContainsRector] also replace multibyte functions fro strpos and strstr (#6901), Thanks @​JohJohan!
  • [DeadCode] IsClassMethodUsedAnalyzer needs to use Scope from Class_ level (#6910)
  • [Php84] Skip with parentheses on class on NewMethodCallWithoutParenthesesRector (#6911)
  • [CodeQuality] Skip Assign Op on ternary on SimplifyUselessVariableRector (#6913)
  • Rectify to trigger latest build (#6914)
  • [Php82] Handle implicit public readonly on ReadOnlyClassRector (#6919)
  • Use dynamic check on last on ClassConstManipulator (#6921)
  • bump (rectorphp/rector-src@695228f)
  • [Naming] Re-use repetitive DateTimeInterface object type check on services into PropertyNaming service (#6926)
  • [AutoImport] Skip conflict aliased with docblock on auto import (#6929)
  • [AutoImport] Skip reserved class names on auto import (#6933)
  • [AutoImport] Fix empty uses on auto import + rename class on no namespaced file (#6935)
  • [Php83] Fix invalid constant use READONLY_CLASS -> READONLY_ANONYMOUS_CLASS on ReadOnlyAnonymousClassRector (#6936)
  • fix: RenameMethodRector does not rename trait methods (#6928), Thanks @​LordSimal!
  • [CodeQuality] Skip late static binding use on CompleteDynamicPropertiesRector (#6938)
  • [dx] report false skipped rules in more nicer way (#6941)
  • [PHP84] Deprecated annotation to Deprecated attribute (#6923), Thanks @​peterfox!
  • [Renaming] Allow rename method in trait itself on RenameMethodRector (#6942)
  • [Renaming] Handle rename caller on trait on RenameMethodRector (#6944)
  • [TypeDeclaration] Fix crash on already return static on AddReturnTypeDeclarationRector (#6940)
  • [TypeDeclaration] Handle crash on return different over static on AddReturnTypeDeclarationRector-a (#6943)

Removed 💀

  • Use active voice and remove note about PHPUnit (#6907), Thanks @​simonschaufi!
  • [DeadCode] Skip used by Array callable on RemoveEmptyClassMethodRector (#6908)
  • [DeadCode] Use IsClassMethodUsedAnalyzer service on RemoveEmptyClassMethodRector (#6909)
  • [DeadCode] Handle called by static call on RemoveUnusedPrivateMethodParameterRector (#6912)
  • [DeadCode] Skip used by $this on RemoveUnusedPrivateClassConstantRector (#6920)

... (truncated)

Commits
  • caa4ffd Rector 2.0.17
  • 2b3d47b Updated Rector to commit 728b284ccf69c8ec6a83d03d1be32eded88f2685
  • 56cab8b Updated Rector to commit 728b284ccf69c8ec6a83d03d1be32eded88f2685
  • e46fb7c Updated Rector to commit 30ecb365512dc3332703e46ce2da8c1acad1c268
  • 6dedccb Updated Rector to commit c7278fa576a22288228814bc2b20bd0cddea4677
  • 9ada35f Updated Rector to commit c7278fa576a22288228814bc2b20bd0cddea4677
  • 3ba0a66 Updated Rector to commit 8874702f3aeacf4dfe59e8f57b5d62c63d1dce79
  • 652df68 Updated Rector to commit 865e85b65ff9297009e97c6b91bc8d27393668d7
  • 749f6c2 Updated Rector to commit 865e85b65ff9297009e97c6b91bc8d27393668d7
  • 1c7d31e Updated Rector to commit 865e85b65ff9297009e97c6b91bc8d27393668d7
  • 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.16 to 2.0.17.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.0.16...2.0.17)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jun 2, 2025
@jerowork jerowork merged commit 602bd79 into main Jun 2, 2025
3 checks passed
@jerowork jerowork deleted the dependabot/composer/rector/rector-2.0.17 branch June 2, 2025 19:10
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