BenSampo / laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.
https://sampo.co.uk/blog/using-enums-in-laravel
MIT License
2k stars 164 forks source link

Dump phpunit/phpunit to v11 #348

Closed websitevirtuoso closed 8 months ago

websitevirtuoso commented 8 months ago

It is not available when using phpunit 11

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires bensampo/laravel-enum ^v6.8.0 -> satisfiable by bensampo/laravel-enum[v6.8.0].
    - phpunit/php-code-coverage 11.0.0 requires nikic/php-parser ^5.0 -> satisfiable by nikic/php-parser[v5.0.0beta1, v5.0.0rc1, v5.0.0].
    - You can only install one version of a package, so only one of these can be installed: nikic/php-parser[v1.0.0beta1, ..., v1.4.1, v2.0.0beta1, ..., v2.1.1, v3.0.0beta1, ..., v3.1.5, v4.3.0, ..., v4.18.0, v5.0.0beta1, v5.0.0rc1, v5.0.0].
    - phpunit/phpunit 11.0.3 requires phpunit/php-code-coverage ^11.0 -> satisfiable by phpunit/php-code-coverage[11.0.0].
    - bensampo/laravel-enum v6.8.0 requires nikic/php-parser ^4.13 -> satisfiable by nikic/php-parser[v4.13.0, ..., v4.18.0].
    - Root composer.json requires phpunit/phpunit ^11.0.3 -> satisfiable by phpunit/phpunit[11.0.3].

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

Works with https://github.com/BenSampo/laravel-enum/releases/tag/v6.10.0