Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jan 6, 2026

by a recent release of dotrince/instantiator 2.1.x it seems we now need to explicitly declare doctrine/instantiator:^1.0 for the PHPUnit downgrade.

I don't know exactly why that is, but it seems with this PR we are at least back to the state we had yesterday and no longer have additional errors we just saw in #4724 like

Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - doctrine/instantiator is locked to version 2.1.0 and an update of this package was not requested.
    - doctrine/instantiator 2.1.0 requires php ^8.4 -> your php version (8.2.99; overridden via config.platform, actual: 7.4.33) does not satisfy that requirement.
  Problem 2
    - phpunit/phpunit is locked to version 9.6.31 and an update of this package was not requested.
    - doctrine/instantiator 2.1.0 requires php ^8.4 -> your php version (8.2.99; overridden via config.platform, actual: 7.4.33) does not satisfy that requirement.
    - phpunit/phpunit 9.6.31 requires doctrine/instantiator ^1.5.0 || ^2 -> satisfiable by doctrine/instantiator[2.1.0].

Error: Your lock file does not contain a compatible set of packages. Please run composer update.

@staabm staabm marked this pull request as ready for review January 6, 2026 09:46
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 06806d7 into phpstan:2.1.x Jan 6, 2026
633 of 647 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the build4 branch January 6, 2026 12:22
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.

3 participants