From 6943778636ee5ca79e193dd16bee47b984edadde Mon Sep 17 00:00:00 2001 From: Rougin Gutib Date: Thu, 16 Nov 2023 03:11:55 +0800 Subject: [PATCH] Fix error in installing packages in build.yml --- .github/workflows/build.yml | 3 +-- composer.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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":