From 8485a9bcb62d0747606d7d672a0c294812f48d67 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 18 Feb 2025 20:15:58 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 8d20470..d3983d9 100644 --- a/composer.json +++ b/composer.json @@ -18,20 +18,20 @@ "require": { "php": "^8.1", "spatie/laravel-package-tools": "^1.9.2", - "illuminate/contracts": "^9.0|^10.0|^11.0" + "illuminate/contracts": "^9.0|^10.0|^11.0|^12.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", "larastan/larastan": "^2.7", "laravel/pint": "^1.13", "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^7.0|^8.0|^9.0", - "pestphp/pest": "^2.0", - "pestphp/pest-plugin-laravel": "^2.0", + "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0", + "pestphp/pest": "^2.0|^3.7", + "pestphp/pest-plugin-laravel": "^2.0|^3.1", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.10", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan": "^1.10|^2.1", + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.0|^2.0", "spatie/laravel-ray": "^1.26" }, "autoload": { From b974a2cbd00f8c2fb6fdfda787e777a97cc997c0 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 18 Feb 2025 20:15:58 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/run-tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3154474..04cadd8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,14 +13,17 @@ jobs: matrix: os: [ubuntu-latest] php: [8.1, '8.2'] - laravel: ['10.*', '11.*'] + laravel: ['10.*', '11.*', '12.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* - laravel: 11.* + - laravel: 12.* exclude: - laravel: 11.* php: 8.1 + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}