Skip to content

Commit

Permalink
Fix error in installing packages in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Nov 15, 2023
1 parent 2ad5a54 commit 6943778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"require-dev":
{
"phpunit/phpunit": "~4.2",
"phpunit/phpunit": "~4.2|~5.7",
"scrutinizer/ocular": "~1.1"
},
"autoload":
Expand Down

0 comments on commit 6943778

Please sign in to comment.