From 1ffb7392b2ea3459c44e0d0d8d960f3e8c3e6988 Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Tue, 9 Feb 2021 20:29:33 +0100 Subject: [PATCH] added php 8 support (#22) * Updated Support for PHP 8.0 * Updated run-tests --- .github/workflows/run-tests.yml | 11 ++++++++++- composer.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3d3763c..d26db30 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-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] laravel: [6, 7, 8] dependency-version: [prefer-lowest, prefer-stable] include: @@ -20,8 +20,17 @@ jobs: - laravel: 6 testbench: 4.* exclude: + - laravel: 6 + php: 8.0 + - laravel: 7 + php: 8.0 - laravel: 8 php: 7.2 + - laravel: 8 + php: 7.3 + - laravel: 8 + php: 8.0 + dependency-version: prefer-lowest name: P${{ matrix.php }} - L${{ matrix.laravel }}.* - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 483eb4d..3f31c67 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": ">=7.2", "illuminate/support": "^6.0|^7.0|^8.0", "guzzlehttp/guzzle": "^6.0|^7.0", - "symfony/psr-http-message-bridge": "^1.3" + "symfony/psr-http-message-bridge": "^1.3|^2.0" }, "require-dev": {