Skip to content

chore(deps-dev): update rector/rector requirement from 2.0.11 to 2.0.12 #9540

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
Apr 22, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2025

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

Release notes

Sourced from rector/rector's releases.

Released Rector 2.0.12

New Features 🥳

  • [dx] [experimental] Prepend command name automatically if only paths are passed (#6759)
# before
vendor/bin/rector process src
now - default command is run, no need to write the sole main command manually
vendor/bin/rector src

  • [Configuration] [experimental] Add ability to specify file path without extension (#6839)
  • [type-declaration] Add AddClosureParamArrayWhereDimFetchRector (#6815)
  • [dx] add test to check that a rule is not applied if it does not change the code (#6794), Thanks @​carlos-granados!
  • [renaming Add enum support to rename method (#6832)
  • [Php83] Make configurable to allow add #[\Override] on override empty method on AddOverrideAttributeToOverriddenMethodsRector (#6831)
  • [Transform] Follow parent construct before add new param on StaticCallToMethodCallRector (#6854)

Bugfixes 🐛

  • Skip DateTime from property type to property renaming to keep code readable (#6812)
  • Add a hint how to upgrade custom SetListInterface to Rector 2.0 (#6816), Thanks @​alexander-schranz!
  • Return if var type has changed in PhpDocTypeChanger (#6813), Thanks @​carlos-granados!
  • fix: RenamePropertyToMatchTypeRector renames DateTimeInterface (#6814), Thanks @​tony-stark-eth!
  • [TypeDeclaration] ReturnTypeFromStrictNewArrayRector support list (#6820), Thanks @​staabm!
  • [Php80] Handle null value on AnnotationToAttributeRector (#6821)
  • [DeadCode] Handle crash on no stmts on ReplaceBlockToItsStmtsRector (#6824)
  • [type-declaration] Override existing wrong type on TypedPropertyFromCreateMockAssignRector (#6826)
  • [TypeDeclaration] Skip already typed with PHPUnit\Framework\MockObject\MockObject on TypedPropertyFromCreateMockAssignRector (#6827)
  • [NodeTypeResolver] Pass null on 2nd arg on ReflectionProvider->getFunction() to ensure get correct function (#6829)
  • [Php80] Handle aliased with multi properties on AnnotationToAttributeRector (#6838)
  • [Configuration] Fix root standalone registered rules verify on RectorConfigBuilder (#6840)
  • [Php73] Fix escaped single quote on RegexDashEscapeRector (#6843)
  • [Php80] Handle crash on @​testdoc with rector-phpunit AnnotationWithValueToAttributeRector (#6846)
  • Fix scoped error on ClassConstFetchAnnotationToAttributeMapper (#6848)
  • [PhpAttribute] Handle multi double colon on AnnotationWithValueToAttributeRector (#6851)
  • [Transform] Follow empty parent construct parameters on StaticCallToMethodCallRector (#6855)
  • [TypeDeclaration] Skip with closure inside on AddArrowFunctionParamArrayWhereDimFetchRector (#6817)
  • [Php71] Skip replaced native function on RemoveExtraParametersRector (#6828)
  • [DeadCode] Skip switch break not unreachable on RemoveUnreachableStatementRector (#6837)

rectorphp/rector-symfony 🎵

  • Clean up #[RunClassInSeparateProcess] tweak (#721)

... (truncated)

Commits
  • a7f9b96 Rector 2.0.12
  • aee9f64 Updated Rector to commit f37b64ff26c78dd7ec2e1402e83e68bdccf52b34
  • 881bcbe Updated Rector to commit bc3a50188be303409d4d2ee86c21f5d00de0c6f9
  • 0e8bc21 Updated Rector to commit 1fd4615de691eb43a3f47a60cf14028247ca9d24
  • 1b9283a Updated Rector to commit 25944daa5f2b31d7c4f2833ab31c8970140c596b
  • 3a88524 Updated Rector to commit d50c1f3b642e747724eec2e134653524ba7ee921
  • 3808f70 Updated Rector to commit ea0c50398d51467297a671b31b4508ae696c95bb
  • 320feb0 Updated Rector to commit 8a6fb8dce9ee78b29a124cfecb20a0be1a15f569
  • 930e97c Updated Rector to commit 8a6fb8dce9ee78b29a124cfecb20a0be1a15f569
  • a5915cb Updated Rector to commit a30656b1054f2b418c84f448775f3e2033b95797
  • Additional commits viewable in compare view

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)

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](rectorphp/rector@2.0.11...2.0.12)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update external dependencies php Pull requests that update Php code labels Apr 22, 2025
@samsonasik samsonasik merged commit 28d368b into develop Apr 22, 2025
48 checks passed
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-2.0.12 branch April 22, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update external dependencies php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant