Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
regiszanandrea opened this issue Apr 23, 2018 · 2 comments

Comments

@regiszanandrea
Copy link

regiszanandrea commented Apr 23, 2018

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:

  • Laravel: 5.4
  • PHPUnit: 5.7
  • PHP: 7.1
  • codedungeon/phpunit-result-printer: 0.16.1

Can anyone can help with this?

@regiszanandrea
Copy link
Author

Fixed updating my PHPUnit to 7.1.

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

@mikeerickson
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants