Skip to content

Commit

Permalink
Forward compatibility with upcoming Promise v3
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Sep 11, 2022
1 parent 14b4b07 commit cdfd338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -44,5 +44,5 @@ jobs:
with:
version: lts-3.30
- run: composer self-update --2.2 # downgrade Composer for HHVM
- run: hhvm $(which composer) require react/async:^2 # downgrade Async component for HHVM
- run: hhvm $(which composer) require react/async:^2 react/promise:^2 # downgrade Async and Promise for HHVM
- run: hhvm vendor/bin/phpunit --exclude-group internet
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -13,10 +13,10 @@
"react/cache": "^1.1",
"react/dns": "^1.10",
"react/event-loop": "^1.3",
"react/http": "^1.7",
"react/promise": "^2.9 || ^1.2",
"react/http": "^1.8@dev || ^1.7",
"react/promise": "^3@dev || ^2.9 || ^1.2",
"react/promise-stream": "^1.5",
"react/promise-timer": "^1.8",
"react/promise-timer": "^1.9",
"react/socket": "^1.12",
"react/stream": "^1.2"
},
Expand Down

0 comments on commit cdfd338

Please sign in to comment.