humanmade / Cavalcade

A better wp-cron. Horizontally scalable, works perfectly with multisite.
https://engineering.hmn.md/projects/cavalcade/
Other
528 stars 46 forks source link

PHP 8.0 composer support #108

Closed tomjn closed 2 years ago

tomjn commented 3 years ago

The PHPUnit 7.1 dev dependency prevents the installation of cavalcade using composer on PHP 8.0

> composer install  --no-dev

No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/phpunit 7.1 -> satisfiable by phpunit/phpunit[7.1.0].
    - phpunit/phpunit 7.1.0 requires php ^7.1 -> your php version (8.0.1) does not satisfy that requirement.

Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.