From 3399868f31b905e076f324d28a607d53722e5327 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 24 Jan 2025 18:56:03 +0800 Subject: [PATCH 1/2] Supports Laravel 12 Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 2 ++ composer.json | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0af74d7f..ebb84c82 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,8 @@ jobs: exclude: - php: 8.1 laravel: 11 + - php: 8.1 + laravel: 12 - php: 8.4 laravel: 10 diff --git a/composer.json b/composer.json index 390a040f..2bde5593 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,15 @@ "php": "^8.0", "ext-json": "*", "firebase/php-jwt": "^6.4", - "illuminate/auth": "^9.21|^10.0|^11.0", - "illuminate/console": "^9.21|^10.0|^11.0", - "illuminate/container": "^9.21|^10.0|^11.0", - "illuminate/contracts": "^9.21|^10.0|^11.0", - "illuminate/cookie": "^9.21|^10.0|^11.0", - "illuminate/database": "^9.21|^10.0|^11.0", - "illuminate/encryption": "^9.21|^10.0|^11.0", - "illuminate/http": "^9.21|^10.0|^11.0", - "illuminate/support": "^9.21|^10.0|^11.0", + "illuminate/auth": "^9.21|^10.0|^11.0|^12.0", + "illuminate/console": "^9.21|^10.0|^11.0|^12.0", + "illuminate/container": "^9.21|^10.0|^11.0|^12.0", + "illuminate/contracts": "^9.21|^10.0|^11.0|^12.0", + "illuminate/cookie": "^9.21|^10.0|^11.0|^12.0", + "illuminate/database": "^9.21|^10.0|^11.0|^12.0", + "illuminate/encryption": "^9.21|^10.0|^11.0|^12.0", + "illuminate/http": "^9.21|^10.0|^11.0|^12.0", + "illuminate/support": "^9.21|^10.0|^11.0|^12.0", "lcobucci/jwt": "^4.3|^5.0", "league/oauth2-server": "^8.5.3", "nyholm/psr7": "^1.5", @@ -35,9 +35,9 @@ }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^7.35|^8.14|^9.0", + "orchestra/testbench": "^7.35|^8.14|^9.0|^10.0", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.3|^10.5" + "phpunit/phpunit": "^9.3|^10.5|^11.5" }, "autoload": { "psr-4": { From f6c2b33861c00baf235f2a31bcfd8fc3efbe3ac7 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 24 Jan 2025 18:59:13 +0800 Subject: [PATCH 2/2] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ebb84c82..4b191774 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: fail-fast: true matrix: php: [8.1, 8.2, 8.3, 8.4] - laravel: [10, 11] + laravel: [10, 11, 12] include: - php: 8.2 laravel: 9