mikeerickson / phpunit-pretty-result-printer

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

Error when composer require codedungeon/phpunit-result-printer@^0.8 --dev #59

Closed permadiwibisono closed 6 years ago

permadiwibisono commented 6 years ago

I got error in my terminal: [Composer\Downloader\TransportException]
The "http://packagist.org/p/provider-2018-01%24bf6dfbd24258ae775d775a25568400d088a62534c6c3de33fba60da6776dacf1.json" file could not be downloaded (HT
TP/1.1 302 Found)

I'm using:

mikeerickson commented 6 years ago

How did you attempt to install?

mikeerickson commented 6 years ago

Please try just to make certain

composer require codedungeon/phpunit-result-printer:0.8.2

When using PHP 7.0.x, you will need to use the compatibility version of 0.8.2 as all newer versions require PHP 7.1

permadiwibisono commented 6 years ago

v0.8.2 compatible too in PHP 7.1?

mikeerickson commented 6 years ago

No, you will need to use >= 0.11.0

mikeerickson commented 6 years ago

Moving forward, there is a minimum PHP version of 7.1

permadiwibisono commented 6 years ago

The problem is, I'm using php7.0 in my local development using lampp and my server production using php7.1. So, I cannot using this package. Must re-install my lampp into newer php version. Because there is no solution to upgrade php only in lampp.

mikeerickson commented 6 years ago

@permadiwibisono Good news... I just tested 0.8.2 with PHPUnit 5.7.27 and PHP v7.1.3 and all is working just fine.

mikeerickson commented 6 years ago
    "require": {
        "php": "^7.1.3"
    },
    "require-dev": {
        "codedungeon/phpunit-result-printer": "0.8.2",
        "phpunit/phpunit": "^5.7"
    },