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

PHP Fatal error: Declaration of NyanCat\PHPUnit\ResultPrinter::addError(PHPUnit\Framework\Test $test, Exception $e, $time) must be compatible with PHPUnit\TextUI\ResultPrinter::addError(PHPUnit\Framework\Test $test, Throwable $t, float $time): void in /Users/renatog/Projects/JnJ/PGA/genius/drupal/vendor/whatthejeff/nyancat-phpunit-resultprinter/src/NyanCat/PHPUnit/ResultPrinter.php on line 181 #20

Open
renatog-cit opened this issue Feb 11, 2020 · 0 comments

Comments

@renatog-cit
Copy link

renatog-cit commented Feb 11, 2020

Hello guys!

Congrats on your project.

I'm trying to use but I got this error:

Command
$ vendor/bin/phpunit --configuration web/profile web/profiles/contrib/profile/modules/phpunit/tests/src/Unit/ClassTest.php

Result:
PHP Fatal error: Declaration of NyanCat\PHPUnit\ResultPrinter::addError(PHPUnit\Framework\Test $test, Exception $e, $time) must be compatible with PHPUnit\TextUI\ResultPrinter::addError(PHPUnit\Framework\Test $test, Throwable $t, float $time): void in /Users/renatog/Projects/JnJ/PGA/genius/drupal/vendor/whatthejeff/nyancat-phpunit resultprinter/src/NyanCat/PHPUnit/ResultPrinter.php on line 181

Do you know how we can solve it?

Thanks

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

1 participant