mikeerickson / phpunit-pretty-result-printer

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

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 2 years ago

kostajh commented 2 years ago

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.