Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps rector/rector from 2.0.11 to 2.0.12.

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 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 will merge this PR once CI passes on it, as requested by @nextcloud-command.


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.11 to 2.0.12.
- [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
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added 3. to review dependencies Pull requests that update a dependency file labels Apr 26, 2025
@dependabot dependabot bot requested a review from nickvergessen as a code owner April 26, 2025 01:14
Copy link
Contributor

@nextcloud-command nextcloud-command left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit 505e44d into master Apr 26, 2025
47 checks passed
@dependabot dependabot bot deleted the dependabot/composer/vendor-bin/rector/rector/rector-2.0.12 branch April 26, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants