Open fabpico opened 1 year ago
@fabpico This package is a bit outdated and only support PHP 7 See https://github.com/mamuz/PhpDependencyAnalysis/blob/v2.0.2/composer.json#L30 or even master branch !
Your platform is PHP 8.1.1
- mamuz/php-dependency-analysis[v2.0.0, ..., v2.0.2] require php ^7.3 -> your php version (8.1.11) does not satisfy that requirement.
So it's impossible to install latest version ! But You should be able to install v1.2.0
Check constraint with an online semver tool, if you're not sure : https://jubianchi.github.io/semver-check/#/constraint/^7.3
If you really want to install v2.0.2 (latest) at your own risk, you could bypass platform verification with composer.
composer require --dev --ignore-platform-req=php mamuz/php-dependency-analysis
I am just asking to update the package compatibility to 8.1.
Even after removing
composer.lock
, after runningcomposer require --dev mamuz/php-dependency-analysis
, following error happens: