From 3cdc7ca2c9d015ce22894403e1263d741a472420 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 21 Jun 2024 02:38:16 +0300 Subject: [PATCH] Drop Laravel 10 support Old version of Laravel does not have `afterQuery` method See more: https://github.com/laravel/framework/pull/50587 --- .github/workflows/tests.yml | 7 ++----- composer.json | 10 +++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a823565..5f7e2eb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,11 +17,8 @@ jobs: strategy: fail-fast: true matrix: - php: [ "8.1", "8.2", "8.3" ] - laravel: [ "10.0", "11.0" ] - exclude: - - laravel: "11.0" - php: "8.1" + php: [ "8.2", "8.3" ] + laravel: [ "11.0" ] name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 45e5d4f..48ae275 100644 --- a/composer.json +++ b/composer.json @@ -39,17 +39,17 @@ "php": "^8.1", "composer/class-map-generator": "^1.3", "dragon-code/support": "^6.13", - "illuminate/database": "^10.0 || ^11.0", - "illuminate/support": "^10.0 || ^11.0", - "laravel-lang/config": "dev-main as 1.6.0", + "illuminate/database": "^11.4", + "illuminate/support": "^11.4", + "laravel-lang/config": "^1.6", "laravel-lang/locales": "^2.8", "laravel/prompts": "^0.1.24" }, "require-dev": { - "orchestra/testbench": "^8.23 || ^9.1", + "orchestra/testbench": "^9.1", "pestphp/pest": "^2.34", "pestphp/pest-plugin-laravel": "^2.4", - "symfony/var-dumper": "^6.0 || ^7.0" + "symfony/var-dumper": "^7.0" }, "minimum-stability": "stable", "prefer-stable": true,