From 2e78b2f8e1f13ce6e811b2b3e6a089defcd9f51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 6 Mar 2025 14:48:36 +0100 Subject: [PATCH] Laravel 12 support --- .github/workflows/ci.yml | 2 +- composer.json | 6 +++--- phpstan.neon | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8172838..3d7c2fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - laravel: [10, 11] + laravel: [10, 11, 12] steps: - uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index fe1ea2e..e9a5685 100644 --- a/composer.json +++ b/composer.json @@ -24,11 +24,11 @@ }, "require": { "php": "^8.2", - "illuminate/support": "^10.0|^11.0", - "illuminate/view": "^10.0|^11.0" + "illuminate/support": ">=10.0", + "illuminate/view": ">=10.0" }, "require-dev": { - "orchestra/testbench": "^8.0|^9.0", + "orchestra/testbench": ">=8.0", "nunomaduro/larastan": "^2.4", "pestphp/pest": "^2.0", "pestphp/pest-plugin-laravel": "^2.0", diff --git a/phpstan.neon b/phpstan.neon index 9cc794e..d8f0cf3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,10 +10,10 @@ parameters: universalObjectCratesClasses: - Illuminate\Routing\Route - ArchTech\SEO\SEOManager - checkMissingIterableValueType: false ignoreErrors: - '#^Method ArchTech\\SEO\\SEOManager::flipp\(\) should return static\(ArchTech\\SEO\\SEOManager\)\|string but returns array\|string\|null\.$#' - '#^Method ArchTech\\SEO\\SEOManager::previewify\(\) should return static\(ArchTech\\SEO\\SEOManager\)\|string but returns array\|string\|null\.$#' - '#^Method ArchTech\\SEO\\SEOManager::render\(\) has parameter \$args with no type specified\.$#' - '#^Parameter \#1 \$value of function e expects#' + - identifier: missingType.iterableValue