sonatype-nexus-community / bach

Dependency vulnerability auditor for PHP
Apache License 2.0
14 stars 15 forks source link

cannot `composer install` #22

Closed jkowalleck closed 3 years ago

jkowalleck commented 3 years ago

using php7.4.9 using composer2.0.9

ran

composer install                                  

got the following output:

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
    - Root composer.json requires php ^8.0 but your php version (7.4.9) does not satisfy that requirement.

could be fixed via

composer require 'php:^7.1.3 || ^8.0'
jkowalleck commented 3 years ago

this issue is probably caused by #21