Skip to content

composer (master)(deps-dev): update rector/rector requirement from ^2.0.11 to ^2.0.12 #775

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 26, 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

You can trigger a rebase of this PR 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 requested a review from mimmi20 April 26, 2025 03:00
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 26, 2025
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
composer/rector/rector >= 2.0.12, < 3.0.0 🟢 4.8
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/30 approved changesets -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow⚠️ -1no workflows found
Token-Permissions⚠️ -1No tokens found
Maintained🟢 1030 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
SAST⚠️ 0no SAST tool detected
Binary-Artifacts🟢 9binaries present in source code
Pinned-Dependencies⚠️ -1no dependencies found
Vulnerabilities🟢 100 existing vulnerabilities detected

Scanned Files

  • composer.json

Copy link

codeclimate bot commented Apr 26, 2025

Code Climate has analyzed commit cf9d0be and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 86.4% (0.0% change).

View more on Code Climate.

Copy link

codecov bot commented Apr 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.70%. Comparing base (7a9bddc) to head (cf9d0be).
Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #775   +/-   ##
=========================================
  Coverage     94.70%   94.70%           
  Complexity      781      781           
=========================================
  Files           105      105           
  Lines          2852     2852           
=========================================
  Hits           2701     2701           
  Misses          151      151           
Flag Coverage Δ
php-8.3 94.70% <ø> (ø)
php-amqplib 89.65% <ø> (ø)
phpunit 94.70% <ø> (ø)
ubuntu-24.04 94.70% <ø> (ø)
with amqp 88.00% <ø> (ø)
with curl 90.67% <ø> (ø)
with mongodb 88.00% <ø> (ø)
with-sockets 89.97% <ø> (ø)
without-extensions 87.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mimmi20 mimmi20 merged commit fb013ba into master Apr 26, 2025
300 checks passed
@mimmi20 mimmi20 deleted the dependabot/composer/master/rector/rector-tw-2.0.12 branch April 26, 2025 06:47
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