From 478091ddd969b4e2ba8521d62c960e2b261e5ebd Mon Sep 17 00:00:00 2001 From: Alexander Kroneis Date: Wed, 14 Feb 2024 13:53:32 +0100 Subject: [PATCH 1/5] Add Laravel 11 support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0d055a7..20c3a1e 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^9.0|^10.0", + "illuminate/contracts": "^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.9.2", "spatie/once": "^3.1" }, From 3a5c05a5dedf33016f5ee9457e0b5b18d35df5bd Mon Sep 17 00:00:00 2001 From: Alexander Kroneis Date: Wed, 14 Feb 2024 12:59:45 +0000 Subject: [PATCH 2/5] add l11 tests --- .github/workflows/run-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 93a111e..d81659c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,8 +12,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 8.1, 8.2] - laravel: [10.*, 9.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [11.*, 10.*, 9.*] include: - laravel: 10.* testbench: 8.* From bd158881596b13bd3d496844da87887ad7df33a3 Mon Sep 17 00:00:00 2001 From: Alexander Kroneis Date: Wed, 14 Feb 2024 13:01:34 +0000 Subject: [PATCH 3/5] add include for laravel 11 --- .github/workflows/run-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d81659c..42866d2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,6 +15,8 @@ jobs: php: [8.0, 8.1, 8.2, 8.3] laravel: [11.*, 10.*, 9.*] include: + - laravel: 11.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.* From eca3bf8a48984ec93d0021f5b647316686042fc8 Mon Sep 17 00:00:00 2001 From: Alexander Kroneis Date: Wed, 14 Feb 2024 13:02:47 +0000 Subject: [PATCH 4/5] add exclude for laravel 11 at php8.0 and 8.1 --- .github/workflows/run-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 42866d2..516cfb4 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -23,7 +23,11 @@ jobs: testbench: 7.* exclude: - laravel: 10.* - php: 8.0 + php: 8.0 + - laravel: 11.* + php: 8.1 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} From ea0f65258865f0d77cb34142e6abf87ae1eceffb Mon Sep 17 00:00:00 2001 From: Alexander Kroneis Date: Wed, 14 Feb 2024 13:04:39 +0000 Subject: [PATCH 5/5] update pest dependencies for l11 --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 20c3a1e..ac971f4 100644 --- a/composer.json +++ b/composer.json @@ -24,10 +24,10 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", - "phpstan/extension-installer": "^1.1", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^1.21|^2.0", + "pestphp/pest-plugin-laravel": "^1.1|^2.0", + "phpstan/extension-installer": "^1.1|^2.0", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "spatie/laravel-ray": "^1.26"