Closed jasonsaayman closed 6 years ago
What version of result printer are you using?
Also, what version of PHP and version of PHPUnit
Hi Mike
Sorry I realized after creating this issue that I was on an older version. Upgrading to the newest version fixed this issue.
Thank you
Awesome, happy to hear. We’ve spent quite a bit of time over last few weeks ironing out all these types of issues, very confident we have addressed them all, thus reason for asking
No problems :) after upgrading it works like a dream. Thanks for the awesome package!!
Hi
It seems that the Printer.php file is not compatible with the _ResultsPrinter interface in PHP unit 7.
Two functions are affected, that being
writeProgress
andwriteProgressWithColor
.writeProgress changes From:
... protected function writeProgress($progress) ...
To:... protected function writeProgress(string $progress): void ...
writeProgressWithColor changes From:
... protected function writeProgressWithColor($color, $buffer) ...
To:... protected function writeProgressWithColor($color, $buffer): void ...
Thanks