Skip to content

Commit 0ced5ab

Browse files
authored
Merge pull request #26 from PromPHP/php-8-support
PHP 8 Support
2 parents f151e0b + 1383ee0 commit 0ced5ab

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
redis-version: [ 6 ]
1515

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"lkaemmerling/prometheus_client_php": "*"
1616
},
1717
"require": {
18-
"php": "^7.2",
18+
"php": "^7.2|^8.0",
1919
"ext-json": "*",
2020
"symfony/polyfill-apcu": "^1.6"
2121
},
@@ -25,7 +25,7 @@
2525
"phpstan/phpstan": "^0.12.50",
2626
"phpstan/phpstan-phpunit": "^0.12.16",
2727
"phpstan/phpstan-strict-rules": "^0.12.5",
28-
"phpunit/phpunit": "^8.4",
28+
"phpunit/phpunit": "^8.4|^9.4",
2929
"squizlabs/php_codesniffer": "^3.5"
3030
},
3131
"suggest": {

0 commit comments

Comments
 (0)