nunomaduro / collision

💥 Collision is a beautiful error reporting tool for command-line applications
https://nunomaduro.com
MIT License
4.49k stars 156 forks source link

[7.x] Misleading error message for incompatible PHPUnit version #300

Closed mbabker closed 7 months ago

mbabker commented 7 months ago

Renovate opened PRs today to update some apps to use PHPUnit 11. In these PRs, artisan test fails with this message:

"Running Collision 7.x artisan test command requires at least PHPUnit 10.x."

This is a bit misleading as the code is explicitly checking for exactly version 10 and not at least version 10.

(I realize this might be a won't fix at this point but figured I'd log it since the error message threw me off until I looked at the code)

nunomaduro commented 7 months ago

Fixed here; https://github.com/laravel/framework/pull/49957.