Simple-PHP-Code-Parser icon indicating copy to clipboard operation
Simple-PHP-Code-Parser copied to clipboard

Update for use with PHP 8.4

Open tacman opened this issue 9 months ago • 0 comments

Some outdated libraries make it difficult to install.

Problem 1 - Root composer.json requires voku/simple-php-code-parser * -> satisfiable by voku/simple-php-code-parser[0.1.0, ..., 0.20.1]. - voku/simple-php-code-parser[0.1.0, ..., 0.13.0] require nikic/php-parser ~4.4 -> found nikic/php-parser[v4.4.0, ..., v4.19.4] but the package is fixed to v5.4.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - voku/simple-php-code-parser[0.7.0, ..., 0.12.0] require jetbrains/phpstorm-stubs 2019.3 -> found jetbrains/phpstorm-stubs[v2019.3] but the package is fixed to v2024.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - voku/simple-php-code-parser[0.13.1, ..., 0.14.0] require phpstan/phpdoc-parser 0.4.* -> found phpstan/phpdoc-parser[0.4.0, ..., 0.4.14] but it conflicts with your root composer.json require (^2.1). - voku/simple-php-code-parser[0.15.0, ..., 0.16.6] require phpstan/phpdoc-parser ~0.4 -> found phpstan/phpdoc-parser[0.4.0, ..., 0.5.7] but it conflicts with your root composer.json require (^2.1). - voku/simple-php-code-parser 0.17.0 requires phpstan/phpdoc-parser ~0.5 -> found phpstan/phpdoc-parser[0.5.0, ..., 0.5.7] but it conflicts with your root composer.json require (^2.1). - voku/simple-php-code-parser[0.18.0, ..., 0.19.2] require phpdocumentor/type-resolver ~1.5.1 -> found phpdocumentor/type-resolver[1.5.1] but the package is fixed to 1.10.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - voku/simple-php-code-parser[0.19.3, ..., 0.19.6] require phpdocumentor/type-resolver ~1.6.1 -> found phpdocumentor/type-resolver[1.6.1, 1.6.2] but the package is fixed to 1.10.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - voku/simple-php-code-parser[0.20.0, ..., 0.20.1] require react/filesystem ^0.2@dev -> found react/filesystem[0.2.x-dev] but it does not match your minimum-stability.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require voku/simple-php-code-parser:*" to figure out if any version is installable, or "composer require voku/simple-php-code-parser:^2.1" if you know which you need.

tacman avatar Mar 26 '25 15:03 tacman