Closed llaville closed 2 years ago
Because v6.1 introduced a new way to handle packages installed (CompatInfo and CompatInfoDB), we must be sure that nobody will try to install PHP_CompatInfo with Composer v1.
Patch is easy:
diff --git a/composer.json b/composer.json index 3cd30e51..de8d86f3 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ "ext-spl": "*", "bartlett/php-compatinfo-db": "^3.17", "bartlett/sarif-php-sdk": "^1.0", + "composer-runtime-api": "^2.0", "doctrine/collections": "^1.4", "nikic/php-parser": "^4.10", "psr/log": "^1.0",
Because v6.1 introduced a new way to handle packages installed (CompatInfo and CompatInfoDB), we must be sure that nobody will try to install PHP_CompatInfo with Composer v1.
Patch is easy: