From 94a5f0cf4c493a9573359690fe4ad9f8f4063ac0 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 15 Dec 2022 15:10:34 +0100 Subject: [PATCH 1/3] Drop old PHP and Laravel versions --- .github/workflows/tests.yml | 11 ++--------- composer.json | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29e3406e..3773eb3a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,15 +16,8 @@ jobs: strategy: fail-fast: true matrix: - php: [7.3, 7.4, '8.0', 8.1, 8.2] - laravel: [8, 9] - exclude: - - php: 7.3 - laravel: 9 - - php: 7.4 - laravel: 9 - - php: 8.2 - laravel: 8 + php: [8.1, 8.2] + laravel: [9] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 7c6f510f..b09b90ae 100644 --- a/composer.json +++ b/composer.json @@ -14,19 +14,19 @@ } ], "require": { - "php": "^7.3|^8.0", - "illuminate/bus": "^8.0|^9.0", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/database": "^8.0|^9.0", - "illuminate/http": "^8.0|^9.0", - "illuminate/pagination": "^8.0|^9.0", - "illuminate/queue": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0" + "php": "^8.1", + "illuminate/bus": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/database": "^9.0", + "illuminate/http": "^9.0", + "illuminate/pagination": "^9.0", + "illuminate/queue": "^9.0", + "illuminate/support": "^9.0" }, "require-dev": { - "meilisearch/meilisearch-php": "^0.19", + "meilisearch/meilisearch-php": "^0.23", "mockery/mockery": "^1.0", - "orchestra/testbench": "^6.17|^7.0", + "orchestra/testbench": "^7.0", "phpunit/phpunit": "^9.3" }, "autoload": { From 3f9360004303d7584285f72142548a400c56243e Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 15 Dec 2022 15:49:34 +0100 Subject: [PATCH 2/3] Update tests.yml --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3773eb3a..c3537218 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,8 +16,11 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2] + php: ['8.0', 8.1, 8.2] laravel: [9] + exclude: + - php: '8.0' + laravel: 9 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} From bf57bbc5d245e975443bf388b0b817e9a8a57496 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 15 Dec 2022 15:49:44 +0100 Subject: [PATCH 3/3] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b09b90ae..4b374838 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ } ], "require": { - "php": "^8.1", + "php": "^8.0", "illuminate/bus": "^9.0", "illuminate/contracts": "^9.0", "illuminate/database": "^9.0",