Skip to content

Update phpunit to 9.5.19#2

Merged
matthi4s merged 1 commit into
aternosorg:masterfrom
pavog:master
Mar 17, 2022
Merged

Update phpunit to 9.5.19#2
matthi4s merged 1 commit into
aternosorg:masterfrom
pavog:master

Conversation

@pavog

@pavog pavog commented Mar 17, 2022

Copy link
Copy Markdown
Member

If you use php-lock in an environment with php >= 8.0, you will get the following error when running composer install:

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - phpspec/prophecy is locked to version 1.11.1 and an update of this package was not requested.
    - phpspec/prophecy 1.11.1 requires php ^7.2 -> your php version (8.1.3) does not satisfy that requirement.
  Problem 2
    - phpspec/prophecy 1.11.1 requires php ^7.2 -> your php version (8.1.3) does not satisfy that requirement.
    - phpunit/phpunit 9.3.9 requires phpspec/prophecy ^1.11.1 -> satisfiable by phpspec/prophecy[1.11.1].
    - phpunit/phpunit is locked to version 9.3.9 and an update of this package was not requested.

This happens because phpunit 9.3.* requires phpspec/prophecy ^1.11.1, which does not allow php 8.
phpspec/prophecy 1.12 allows php 8.
We need at least phpunit 9.4.1 to use phpspec/prophecy ^1.12.1.

@matthi4s matthi4s merged commit 08dc5a1 into aternosorg:master Mar 17, 2022
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.

2 participants