Skip to content

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

@kostajh

Description

@kostajh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions