Skip to content

Commit

Permalink
Update test environment to all stable dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Mar 29, 2024
1 parent 4cdcb4c commit 0358bdc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
- name: Run hhvm composer.phar require --dev react/async:^2 react/promise:^2 phpunit/phpunit:^5.7 # downgrade Async and Promise for HHVM
- name: Run hhvm composer.phar require react/async:^2 react/promise:^2 # downgrade Async and Promise for HHVM
uses: docker://hhvm/hhvm:3.30-lts-latest
with:
args: hhvm composer.phar require --dev react/async:^2 react/promise:^2 phpunit/phpunit:^5.7
args: hhvm composer.phar require react/async:^2 react/promise:^2
- name: Run hhvm vendor/bin/phpunit --exclude-group internet
uses: docker://hhvm/hhvm:3.30-lts-latest
with:
Expand Down
20 changes: 7 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,20 @@
},
"require": {
"php": ">=5.3.8",
"react/async": "^4 || ^3 || ^2",
"react/async": "^4.2 || ^3.2 || ^2.2",
"react/cache": "^1.1",
"react/dns": "^1.11",
"react/dns": "^1.12",
"react/event-loop": "^1.4",
"react/http": "^1.8",
"react/http": "^1.10",
"react/promise": "^3 || ^2.10 || ^1.3",
"react/promise-stream": "^1.6",
"react/promise-timer": "^1.9",
"react/socket": "^1.13",
"react/promise-stream": "^1.7",
"react/promise-timer": "^1.10",
"react/socket": "^1.14",
"react/stream": "^1.3"
},
"require-dev": {
"clue/stream-filter": "^1.3",
"phpunit/phpunit": "^9.6 || ^7.5 || ^5.7 || ^4.8.36",
"react/async": "^4.2@dev || ^3.2@dev || ^4 || ^3 || ^2",
"react/dns": "^1.12@dev",
"react/http": "^1.10@dev",
"react/promise-stream": "^1.7@dev",
"react/promise-timer": "^1.10@dev",
"react/socket": "^1.14@dev"
"phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
},
"config": {
"preferred-install": {
Expand Down

0 comments on commit 0358bdc

Please sign in to comment.