mikeerickson / phpunit-pretty-result-printer

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

Not working on php 7.2? #120

Closed dingo-d closed 6 years ago

dingo-d commented 6 years ago

I tried to update the version of the package in my composer to the 0.20.3 and when I hit composer update I got

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • Installation request for codedungeon/phpunit-result-printer ^0.20.3 -> satisfiable by codedungeon/phpunit-result-printer[0.20.3].
  • codedungeon/phpunit-result-printer 0.20.3 requires php ^7.1 -> your PHP version (7.2.4) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.

So it requires PHP > 7.1, which I have (7.2.4) but it still fails, and I'm not sure why tbh.

dingo-d commented 6 years ago

Nvm, I figured it out. I had platform set to php 7 in the config in the project.