From 1b40ec35c0f4b30da76a47816524f0f156d0d21e Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 22 Jul 2022 15:43:05 +0200 Subject: [PATCH] Drop old Laravel and PHP versions --- .github/workflows/tests.yml | 17 ++--------------- composer.json | 14 +++++++------- 2 files changed, 9 insertions(+), 22 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6fecee53..1bfc7571 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,21 +13,8 @@ jobs: strategy: fail-fast: true matrix: - php: [7.2, 7.3, 7.4, '8.0', 8.1] - laravel: [6, 7, 8, 9] - exclude: - - php: 7.2 - laravel: 8 - - php: 7.2 - laravel: 9 - - php: 7.3 - laravel: 9 - - php: 7.4 - laravel: 9 - - php: 8.1 - laravel: 6 - - php: 8.1 - laravel: 7 + php: ['8.0', 8.1] + laravel: [9] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 3ea7d31b..f7abbc56 100644 --- a/composer.json +++ b/composer.json @@ -14,17 +14,17 @@ } ], "require": { - "php": "^7.2|^8.0", + "php": "^8.0.2", "ext-json": "*", - "illuminate/console": "^6.9|^7.0|^8.0|^9.0", - "illuminate/contracts": "^6.9|^7.0|^8.0|^9.0", - "illuminate/database": "^6.9|^7.0|^8.0|^9.0", - "illuminate/support": "^6.9|^7.0|^8.0|^9.0" + "illuminate/console": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/database": "^9.0", + "illuminate/support": "^9.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0", - "phpunit/phpunit": "^8.0|^9.3" + "orchestra/testbench": "^7.0", + "phpunit/phpunit": "^9.3" }, "autoload": { "psr-4": {