Is phpinsights "stuck" at version 2.12.0? #480
-
|
I would like some features of 2.13.x, but even downloading the latest phpqa image, the phpinsights is still v2.12.0, released Nov 2024. I don't know if this is a request for toolbox or not. phpinsights itself only requires php: ^8.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
It's installed with composer-bin-plugin, with no specified version: It's exactly as if you run composer global install or composer install. I can see in the logs that 2.13.3 is currently selected for installation: https://github.com/jakzal/phpqa/actions/runs/21931603561/job/63336524546 However, the tool reports a different version as you noticed: $ phpinsights --version
PHP Insights v2.12.0It seems that this version is hard-coded in phpinsights: I have to conclude the latest version of phpinsights is being installed, but the tool reports a wrong version. Hope this helps. |
Beta Was this translation helpful? Give feedback.
It's installed with composer-bin-plugin, with no specified version:
https://github.com/jakzal/toolbox/blob/657d07c0a8a10f54b299fcd8d75ff77ed05a73b0/resources/metrics.json#L11-L14
It's exactly as if you run composer global install or composer install.
I can see in the logs that 2.13.3 is currently selected for installation: https://github.com/jakzal/phpqa/actions/runs/21931603561/job/63336524546
However, the tool reports a different version as you noticed:
It seems that this version is hard-coded in phpinsights:
https://github.com/nunomaduro/phpinsights/blob/ae780a92e2b15d8cf64d2e0c1cd2b86e16a2e882/src/Domain/Kernel.php#L19
I have to conclude th…