From 0b776a468b1432b1cd113b8190fcb4cceed196f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20K=C3=A4mmerling?= Date: Wed, 18 Nov 2020 07:53:24 +0100 Subject: [PATCH] Add PHP 8 Support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lukas Kämmerling --- .github/workflows/tests.yml | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2e3cafe..ea1306c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 }} diff --git a/composer.json b/composer.json index cbe8cfd..b9e37e7 100644 --- a/composer.json +++ b/composer.json @@ -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",