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 Codedungeon\PHPUnitPrettyResultPrinter\ResultPrinter5::startTest(PHPUnit_Framework_Test $test) must be compatible with PHPUnit\TextUI\ResultPrinter::startTest(PHPUnit\Framework\Test $test): void in vendor/codedungeon/phpunit-result-printer/src/ResultPrinter5.php on line 11 #174

Open
kostajh opened this issue Dec 1, 2021 · 0 comments · May be fixed by #175

Comments

@kostajh
Copy link

kostajh commented Dec 1, 2021

What version of this package are you using?

0.31.0

What operating system, Node.js, and npm version?

macOS
node v12.21.0
6.14.11

What happened?

I get this error when invoking PHPUnit after following the README instructions to set printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer" in phpunit.xml.dist

What did you expect to happen?

For the tests to run.

Are you willing to submit a pull request to fix this bug?

Yes, incoming.

@kostajh kostajh linked a pull request Dec 1, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant