Skip to content

Commit bb2ef22

Browse files
authored
Add PHP 8 Support (#4)
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
1 parent a353ed1 commit bb2ef22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ ubuntu-latest ]
12-
php: [ 7.2, 7.3, 7.4 ]
12+
php: [ 7.2, 7.3, 7.4, 8.0 ]
1313
dependency-version: [ prefer-lowest, prefer-stable ]
1414

1515
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "Prometheus Push Gateway client for PHP applications.",
44
"type": "library",
55
"require": {
6-
"php": "^7.2",
6+
"php": "^7.2|^8.0",
77
"guzzlehttp/guzzle": "^6.3|^7.0",
88
"promphp/prometheus_client_php": "^1.0|^2.0"
99
},
1010
"require-dev": {
11-
"phpunit/phpunit": "^8.4",
11+
"phpunit/phpunit": "^8.4|^9.4",
1212
"squizlabs/php_codesniffer": "^3.5",
1313
"phpstan/extension-installer": "^1.0",
1414
"phpstan/phpstan": "^0.12.50",

0 commit comments

Comments
 (0)