Skip to content

Commit 545684c

Browse files
committed
allow installation on PHP 8
1 parent b39735b commit 545684c

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",
@@ -26,7 +26,7 @@
2626
"psr/http-message": "^1.0"
2727
},
2828
"require-dev": {
29-
"phpspec/phpspec": "^2.4",
29+
"phpspec/phpspec": "^5.0 || ^6.0 || ^7.0",
3030
"php-http/mock-client": "^1.2",
3131
"php-xapi/test-fixtures": "^1.0",
3232
"symfony/phpunit-bridge": "^5.2"

0 commit comments

Comments
 (0)