Skip to content

chore(deps): update dependency rector/rector to v2.3.6#264

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/rector-rector-2.x-lockfile
Open

chore(deps): update dependency rector/rector to v2.3.6#264
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/rector-rector-2.x-lockfile

Conversation

@renovate
Copy link

@renovate renovate bot commented Jan 28, 2026

This PR contains the following updates:

Package Change Age Confidence
rector/rector (source) 2.3.42.3.6 age confidence

Release Notes

rectorphp/rector (rector/rector)

v2.3.6: Released Rector 2.3.6

Compare Source

New Features 🥳


Bugfixes 🐛

  • [Php83] Handle parent class consume trait on AddOverrideAttributeToOverriddenMethodsRector (#​7868)
  • Fix fixture source warning on AddOverrideAttributeToOverriddenMethodsRector (missing TestCase suffix) (#​7869)
  • add JSON_THROW_ON_ERROR even if there is already a flag (#​7867), Thanks @​Lenny4!
  • [DeadCode] No need additional parentheses () on multiply to function call (#​7883)
  • [Php80] Handle crash on empty name attribute field value on AnnotationToAttributeRector (#​7864)
  • Fix JsonValidateRector: remove associative argument not supported by json_validate (#​7865), Thanks @​carlos-granados!
  • Fix deep ArrayItem scope filling on Foreach_ value (#​7873)
  • Fix StaticCallOnNonStaticToInstanceCallRector for same-class calls (#​7876), Thanks @​carlos-granados!
  • Bump PHPStan to 2.1.38 (#​7879)
  • [DeadCode] Allow remove @​var on expression assign on RemoveUselessVarTagRector (#​7871)
  • [DeadCode] Handle multiply to parenthesized on RemoveDeadZeroAndOneOperationRector (#​7882)

rectorphp/rector-symfony 🎵


rectorphp/rector-phpunit 🟢

  • [phpunit 12] Add CreateStubInCoalesceArgRector (#​650)
  • [code-quality] Add DecorateWillReturnMapWithExpectsMockRector (#​649)
  • [code-quality] Add RemoveStandaloneCreateMockRector (#​648)
  • add class method (#​647)
  • improve check for used mock property (#​646)
  • skip if used in array (#​645)
  • [code-quality] Add RemoveNeverUsedMockPropertyRector (#​644)
  • [phpunit 12] Add AllowMockObjectsForDataProviderRector (#​643)
  • add to setUp with only variables (#​642)
  • [phpunit 12] Add AllowMockObjectsWhereParentClassRector (#​641)
  • improve AllowMockObjectsWithoutExpectationsAttributeRector (#​639)
  • add fixture (#​638)
  • handle in call likes as well (#​637)
  • [code-quality] Add InlineStubPropertyToCreateStubMethodCallRector (#​636)
  • skip property fetch in CreateStubOverCreateMockArgRector (#​635)
  • [phpunit 12] Add PropertyCreateMockToCreateStubRector (#​634)
  • add variable support to CreateStubOverCreateMockArgRector (#​633)
  • [CodeQuality] Add failing fixture crash on deep ArrayItem as Foreach_ value on DirectInstanceOverMockArgRector (#​632)
  • skip abstract entity and interface, as cannot be instantiated (#​630)
  • [code-quality] Add ConfiguredMockEntityToSetterObjectRector (#​629)
  • [code-quality] Add AssertThatToDirectAssertRector (#​627)
  • [phpunit 12] Add ExpressionCreateMockToCreateStubRector (#​626)
  • cover interfaces in BareCreateMockAssignToDirectUseRector (#​625)
  • [code-quality] Add SuffixMockObjectPropertyRector, not enabled (#​622)
  • [phpunit 12] Add ExplicitMockExpectsCallRector (#​621)

v2.3.5: Released Rector 2.3.5

Compare Source

New Features 🥳


Bugfixes 🐛

  • Fix ArrayItem scope filling on Foreach_ value (#​7858)
  • Fix use of deprecated Node\Expr\ArrayItem over Node\ArrayItem (#​7859)
  • make PropertyFetchFinder more generic (to be used in rector-phpunit) (#​7860)
  • Fix arrow function scope search in BetterNodeFinder (#​7861)

rectorphp/rector-symfony 🎵

  • Rename Annotation\Route attributes to Attribute\Route on Symfony 7.x (#​917), Thanks @​mickverm

rectorphp/rector-doctrine 🟠

  • [ODM 2.16] Rename 'Doctrine\ODM\MongoDB\Mapping\Annotations' namespace to 'Doctrine\ODM\MongoDB\Mapping\Attribute' (#​477), Thanks @​mickverm

rectorphp/rector-phpunit 🟢

  • [code-quality] Add NoSetupWithParentCallOverrideRector (#​617)
  • [code-quality] Add BareCreateMockAssignToDirectUseRector (#​611)
  • [code-quality] Add DirectInstanceOverMockArgRector (#​609)
  • [PHPUnit 12] Add CreateStubOverCreateMockArgRector (#​608)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e5f7382) to head (6bc8934).

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #264   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        72        72           
===========================================
  Files              7         7           
  Lines            209       209           
===========================================
  Hits             209       209           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@renovate renovate bot force-pushed the renovate/rector-rector-2.x-lockfile branch 3 times, most recently from 8a4b71e to be01b36 Compare January 31, 2026 17:18
@renovate renovate bot force-pushed the renovate/rector-rector-2.x-lockfile branch from be01b36 to 6bc8934 Compare January 31, 2026 17:21
@renovate renovate bot changed the title chore(deps): update dependency rector/rector to v2.3.5 chore(deps): update dependency rector/rector to v2.3.6 Feb 7, 2026
@renovate
Copy link
Author

renovate bot commented Feb 7, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update rector/rector:2.3.6 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency phpstan/phpstan is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires rector/rector ^2.0 -> satisfiable by rector/rector[2.3.6].
    - rector/rector 2.3.6 requires phpstan/phpstan ^2.1.38 -> found phpstan/phpstan[2.1.38, 2.1.x-dev] but the package is fixed to 2.1.37 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants