Closed Razoxane closed 6 years ago
@Razoxane What verison of PHP are you using?
5.6.33
@Razoxane That explains the issue (these type hints require PHP 7.x or greater). However, this is not required for this project, thus i am going to remove the type hint.
https://github.com/mikeerickson/phpunit-pretty-result-printer/blob/30bd2d7975187b49b3e4eaef7780dd08fa8ae7e1/src/Printer.php#L301
The
: int
appears to be causing the following error message in PHPUnit 5.7.26:When I remove that text, the package works correctly. Is it meant to be there for different versions, or is it a typo?