Skip to content

Commit

Permalink
Add PHP 8 Support (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Kämmerling <[email protected]>
  • Loading branch information
LKaemmerling authored Nov 18, 2020
1 parent a353ed1 commit bb2ef22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 7.2, 7.3, 7.4 ]
php: [ 7.2, 7.3, 7.4, 8.0 ]
dependency-version: [ prefer-lowest, prefer-stable ]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"description": "Prometheus Push Gateway client for PHP applications.",
"type": "library",
"require": {
"php": "^7.2",
"php": "^7.2|^8.0",
"guzzlehttp/guzzle": "^6.3|^7.0",
"promphp/prometheus_client_php": "^1.0|^2.0"
},
"require-dev": {
"phpunit/phpunit": "^8.4",
"phpunit/phpunit": "^8.4|^9.4",
"squizlabs/php_codesniffer": "^3.5",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.50",
Expand Down

0 comments on commit bb2ef22

Please sign in to comment.