Skip to content
Discussion options

You must be logged in to vote

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:

$ phpinsights --version
PHP Insights v2.12.0

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@markkimsal
Comment options

Answer selected by jakzal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants