From 8765246f234087ef4beb1b9eb45a0af8b01342f7 Mon Sep 17 00:00:00 2001 From: Shuvro Roy Date: Sun, 11 Feb 2024 23:42:01 +0600 Subject: [PATCH 1/2] chore: add support for laravel 11 --- .github/workflows/run-tests.yml | 9 +++++++-- composer.json | 12 ++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9279221..822f646 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,14 +12,19 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.1] - laravel: [10.*, 9.*] + php: [8.3, 8.2, 8.1] + laravel: [11.*, 10.*, 9.*] stability: [prefer-stable] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* testbench: 7.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index 7028416..18799cf 100644 --- a/composer.json +++ b/composer.json @@ -23,21 +23,21 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^9.0|^10.0", + "illuminate/contracts": "^9.0|^10.0|^11.0", "spatie/backtrace": "^1.2", "spatie/invade": "^1.1", "spatie/laravel-package-tools": "^1.12" }, "require-dev": { - "nunomaduro/collision": "^6.2", + "nunomaduro/collision": "^6.2|^8.0", "nunomaduro/larastan": "^2.1", - "orchestra/testbench": "^7.6|^8.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.2", + "orchestra/testbench": "^7.6|^8.0|^9.0", + "pestphp/pest": "^1.21|^2.0", + "pestphp/pest-plugin-laravel": "^1.2|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^9.5|^10.0", "spatie/laravel-ray": "^1.29" }, "autoload": { From 3b892583651b4932b9e320ea5ef160e1a8f685d3 Mon Sep 17 00:00:00 2001 From: Shuvro Roy Date: Tue, 20 Feb 2024 21:00:26 +0600 Subject: [PATCH 2/2] chore: update larastan --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 18799cf..d6e034a 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ }, "require-dev": { "nunomaduro/collision": "^6.2|^8.0", - "nunomaduro/larastan": "^2.1", + "larastan/larastan": "^2.1", "orchestra/testbench": "^7.6|^8.0|^9.0", "pestphp/pest": "^1.21|^2.0", "pestphp/pest-plugin-laravel": "^1.2|^2.0",