mikeerickson / phpunit-pretty-result-printer

PHPUnit Pretty Result Printer -- make your PHPUnit tests look pretty!
MIT License
1.2k stars 71 forks source link

Class 'PHPUnit\Runner\Version' not found in codedungeon/phpunit-result-printer/src/Printer.php on line 15 #84

Closed regiszanandrea closed 6 years ago

regiszanandrea commented 6 years ago

Hi,

I got this error when I tried to run phpunit with the package:

Uncaught Error: Class 'PHPUnit\Runner\Version' not found in codedungeon/phpunit-result-printer/src/Printer.php on line 15

Config:

Can anyone can help with this?

regiszanandrea commented 6 years ago

Fixed updating my PHPUnit to 7.1.

The minimum version of PHPUnit should be on the documentation @mikeerickson, can you add please?

mikeerickson commented 6 years ago

You can surely use PHPUnit 7.0, it just requires version 0.18.2 (which is documented) having said that, I have intentions to make this clearer in the documentation.