diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 734f58e2..663fd102 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,8 +43,7 @@ jobs: run: composer install --prefer-dist --no-progress - name: Install third-party Composer packages - if: ${{ steps.setup-php.outputs.php-version != '5.3' }} - run: composer require league/container:~2.4 nikic/fast-route phroute/phroute zendframework/zend-diactoros zendframework/zend-stratigility + run: composer require league/container nikic/fast-route phroute/phroute zendframework/zend-diactoros zendframework/zend-stratigility http-interop/http-middleware # - name: Install Composer packages for PHP 7.1 # if: ${{ steps.setup-php.outputs.php-version == '7.1' }} diff --git a/composer.json b/composer.json index 0a9dd615..f240e8e5 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "require-dev": { - "phpunit/phpunit": "~4.2", + "phpunit/phpunit": "~4.2|~5.7", "scrutinizer/ocular": "~1.1" }, "autoload":