From 56f2b513f2243fd4b3e55be22ac3ed3d1dcc0579 Mon Sep 17 00:00:00 2001 From: Shift Date: Mon, 17 Feb 2025 01:57:11 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 2bf152c..a75ad50 100644 --- a/composer.json +++ b/composer.json @@ -18,19 +18,19 @@ "require": { "php": "^8.1", "coderflexx/laravel-presenter": "^2.0", - "illuminate/contracts": "^10.0|^11.0", + "illuminate/contracts": "^10.0|^11.0|^12.0", "jaybizzle/crawler-detect": "^1.2", "spatie/laravel-package-tools": "^1.9.2" }, "require-dev": { "nunomaduro/collision": "^7.0|^8.0", "nunomaduro/larastan": "^1.0|^2.0", - "orchestra/testbench": "^8.0|^9.0", - "pestphp/pest": "^1.22|^2.34", + "orchestra/testbench": "^8.0|^9.0|^10.0", + "pestphp/pest": "^1.22|^2.34|^3.7", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5|^10.0" + "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", + "phpstan/phpstan-phpunit": "^1.0|^2.0", + "phpunit/phpunit": "^9.5|^10.0|^11.5.3" }, "autoload": { "psr-4": { From 6e92b90caafd033c9c7ba4a5415f075c5c68c62b Mon Sep 17 00:00:00 2001 From: Shift Date: Mon, 17 Feb 2025 01:57:11 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/run-tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b976b90..abf4473 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,21 +11,26 @@ on: jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.1, 8.2, 8.3] - laravel: ["10.*", "11.*"] + laravel: ['10.*', '11.*', '12.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: ^8.0 - laravel: 11.* testbench: ^9.0 + - laravel: 12.* + testbench: ^10.0 exclude: - laravel: 11.* php: 8.1 + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}