mikeerickson / phpunit-pretty-result-printer

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

Add support for PHPUnit 7.0 #28

Closed dbudwin closed 6 years ago

dbudwin commented 6 years ago

PHPUnit 7.0 was released on 02/02/2018. The existing printer in this repository didn't work due to PHPUnit 7.0 supporting PHP >=7.1 and needed return types. Because of that, this code breaks compatibility with PHP 5.X and 7.0.

I upgraded the version in composer.json from 0.5.4 to 0.6.0. I ran the tests included in this repository and they all passed. Also, I tested this code using PHPUnit 6.5 and PHPUnit 7.0.

dbudwin commented 6 years ago

I rebased on top of the latest master to make sure this pull request will pass the StyleCI check implemented in #30.