From fab7dbb2eed1d6f7cb03f832cf715c5bfc9c4d29 Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Mon, 2 Nov 2020 11:48:42 +0100 Subject: [PATCH] Add support for PHP 8.0 (#34) --- .github/workflows/run-tests.yml | 8 +++++++- composer.json | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8b15477..39efd6c 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.1, 7.2, 7.3, 7.4 ] + php: [ 7.1, 7.2, 7.3, 7.4, 8.0 ] laravel: [ 5.6.*, 5.7.*, 5.8.*, 6.*, 7.*, 8.* ] dependency-version: [ prefer-stable ] include: @@ -34,6 +34,12 @@ jobs: php: 7.1 - laravel: 6.* php: 7.1 + - laravel: 5.8.* + php: 8.0 + - laravel: 5.7.* + php: 8.0 + - laravel: 5.6.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 3a1f0d6..9d27e46 100644 --- a/composer.json +++ b/composer.json @@ -20,13 +20,13 @@ } ], "require": { - "php": "^7.1", + "php": "^7.1|^8.0", "0.0.0/composer-include-files": "^1.5", "codezero/laravel-localizer": "^1.1", "illuminate/support": "^5.6|^6.0|^7.0|^8.0" }, "require-dev": { - "mockery/mockery": "^1.0", + "mockery/mockery": "^1.3.3", "orchestra/testbench": "^3.6|^4.0|^5.0|^6.0", "phpunit/phpunit": "^7.0|^8.0|^9.0" }, @@ -60,4 +60,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} +} \ No newline at end of file