From c7997608d7e9220498f5105f6e7474ad41bf8e7d Mon Sep 17 00:00:00 2001 From: Jasper Zonneveld Date: Wed, 27 Mar 2024 11:48:21 +0100 Subject: [PATCH] build: drop Laravel <10 and PHP <8.1 support --- .github/workflows/tests.yml | 32 ++------------------------------ composer.json | 10 +++++----- 2 files changed, 7 insertions(+), 35 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c7ef210..2428207 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,38 +11,10 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.4', '8.0', '8.1', '8.2', '8.3'] - laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*'] + php: ['8.1', '8.2', '8.3'] + laravel: ['10.*', '11.*'] stability: [prefer-lowest, prefer-stable] exclude: - - laravel: 6.* - php: '8.1' - - laravel: 6.* - php: '8.2' - - laravel: 6.* - php: '8.3' - - laravel: 7.* - php: '8.1' - - laravel: 7.* - php: '8.2' - - laravel: 7.* - php: '8.3' - - laravel: 8.* - php: '8.2' - - laravel: 8.* - php: '8.3' - - laravel: 9.* - php: '7.4' - - laravel: 9.* - php: '8.3' - - laravel: 10.* - php: '7.4' - - laravel: 10.* - php: '8.0' - - laravel: 11.* - php: '7.4' - - laravel: 11.* - php: '8.0' - laravel: 11.* php: '8.1' diff --git a/composer.json b/composer.json index 7146d49..6ecfb3c 100644 --- a/composer.json +++ b/composer.json @@ -17,11 +17,11 @@ } ], "require": { - "php": "^7.4|^8.0", - "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" + "php": "^8.1", + "illuminate/console": "^10.0|^11.0", + "illuminate/contracts": "^10.0|^11.0", + "illuminate/database": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0" }, "require-dev": { "laravel/pint": "^1.15",