Skip to content

Commit a41166f

Browse files
committed
allow installation on PHP 8
1 parent 9087da5 commit a41166f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
composer-options: '--prefer-stable'
2222
- php-version: '7.3'
2323
composer-options: '--prefer-stable'
24+
- php-version: '7.4'
25+
composer-options: '--prefer-stable'
26+
- php-version: '8.0'
27+
composer-options: '--prefer-stable'
2428

2529
steps:
2630
- name: 'Check out'

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^7.1",
15+
"php": "^7.1||^8.0",
1616
"php-http/client-common": "^1.0 || ^2.0",
1717
"php-http/client-implementation": "^1.0",
1818
"php-http/httplug": "^1.0 || ^2.0",
@@ -52,7 +52,7 @@
5252
},
5353
"extra": {
5454
"branch-alias": {
55-
"dev-master": "0.7.x-dev"
55+
"dev-master": "0.8.x-dev"
5656
}
5757
}
5858
}

0 commit comments

Comments
 (0)