doctum icon indicating copy to clipboard operation
doctum copied to clipboard

Support nikic/php-parser v5

Open AcriCAA opened this issue 1 year ago • 2 comments

Hi I am trying to install doctum via composer on a Laravel 11 project and composer version problems:

  - code-lts/doctum[v5.0.0, ..., v5.0.1] require nikic/php-parser ~4.5 -> found nikic/php-parser[v4.5.0, ..., v4.19.4] but the package is fixed to v5.3.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.
  - code-lts/doctum[v5.0.2, ..., v5.3.1] require nikic/php-parser ~4.6 -> found nikic/php-parser[v4.6.0, ..., v4.19.4] but the package is fixed to v5.3.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.
  - code-lts/doctum[v5.3.2, ..., v5.3.3] require php >=7.1.3 <7.2.0 -> your php version (8.3.12) does not satisfy that requirement.
  - code-lts/doctum[v5.4.0, ..., v5.5.4] require nikic/php-parser ^4.10 -> found nikic/php-parser[v4.10.0, ..., v4.19.4] but the package is fixed to v5.3.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.
  - Root composer.json requires code-lts/doctum * -> satisfiable by code-lts/doctum[v5.0.0, ..., v5.5.4].```
  

AcriCAA avatar Oct 18 '24 17:10 AcriCAA

Hi, This is caused by nikic/php-parser v5 if you read the debug log I will see how this can be supported, thank you for reporting this

williamdes avatar Oct 19 '24 09:10 williamdes

Ref https://github.com/code-lts/doctum/pull/71

williamdes avatar Oct 19 '24 09:10 williamdes

#71 is merged but for it to really work and nikic/php-parser to be done I will have to drop PHP versions

williamdes avatar Feb 12 '25 18:02 williamdes