From 1cf66355eb055b6b1809b6c16a7ad674dbcd179e Mon Sep 17 00:00:00 2001 From: erikn69 Date: Wed, 5 Feb 2025 09:25:32 -0500 Subject: [PATCH] Laravel 12.x Support --- .github/workflows/run-static-analysis.yml | 4 +++- .github/workflows/run-tests.yml | 5 ++++- .gitignore | 3 ++- composer.json | 6 +++--- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-static-analysis.yml b/.github/workflows/run-static-analysis.yml index 692c29f..5ac6325 100644 --- a/.github/workflows/run-static-analysis.yml +++ b/.github/workflows/run-static-analysis.yml @@ -23,9 +23,11 @@ jobs: fail-fast: false matrix: php: [8.1, 8.2, 8.3, 8.4] - laravel: [9.*, 10.*, 11.*] + laravel: [9.*, 10.*, 11.*, 12.*] dependency-version: [prefer-stable] exclude: + - laravel: 12.* + php: 8.1 - laravel: 11.* php: 8.1 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 75dc13a..bfeeb9d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -23,8 +23,11 @@ jobs: fail-fast: false matrix: php: [8.1, 8.2, 8.3, 8.4] - laravel: ['9.*', '10.*', '11.*'] + laravel: ['9.*', '10.*', '11.*', '12.*'] dependency-version: [prefer-lowest, prefer-stable] + exclude: + - laravel: 12.* + php: 8.1 exclude: - laravel: 11.* php: 8.1 diff --git a/.gitignore b/.gitignore index 753837b..c6f30dd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ composer.phar composer.lock .DS_Store /.idea -.phpunit.result.cache \ No newline at end of file +.phpunit.cache +.phpunit.result.cache diff --git a/composer.json b/composer.json index 5422d18..6b62a96 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ "require": { "php": "^8.1", "dompdf/dompdf": "^3.0", - "illuminate/support": "^9|^10|^11" + "illuminate/support": "^9|^10|^11|^12" }, "require-dev": { - "orchestra/testbench": "^7|^8|^9", + "orchestra/testbench": "^7|^8|^9|^10", "squizlabs/php_codesniffer": "^3.5", "phpro/grumphp": "^2.5", - "larastan/larastan": "^2.7.0" + "larastan/larastan": "^2.7" }, "autoload": { "psr-4": {