From 2c6643dfce11bc6d051da86478e3db975dc8f137 Mon Sep 17 00:00:00 2001 From: thekevinm Date: Mon, 4 May 2026 21:50:05 +0000 Subject: [PATCH 1/2] Laravel 13 compatibility --- .gitignore | 1 + composer.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 30d01f8..882da78 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /.idea composer.phar composer.lock +.phpunit.result.cache diff --git a/composer.json b/composer.json index bdc69a6..343a1d5 100644 --- a/composer.json +++ b/composer.json @@ -31,10 +31,13 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { + "php": "^8.3", "dreamfactory/df-core": "~1.0.4" }, "require-dev": { - "phpunit/phpunit": "@stable" + "laravel/framework": "^13.7", + "phpunit/phpunit": "^11.5.3", + "orchestra/testbench": "^11.0" }, "autoload": { "psr-4": { From 77032646b9e558c6acf3bccbd11d8ffebdab96a3 Mon Sep 17 00:00:00 2001 From: thekevinm Date: Mon, 4 May 2026 22:18:09 +0000 Subject: [PATCH 2/2] Address review: explicit laravel/helpers + align dev tooling Reviewer flagged: laravel/helpers was relied on transitively via df-core but should be declared explicitly since this package's src/ uses array_get and array_except directly. Also align mockery/nunomaduro-collision to match df-system/df-user require-dev for consistency across foundation tier. --- composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composer.json b/composer.json index 343a1d5..7a9df9e 100644 --- a/composer.json +++ b/composer.json @@ -32,10 +32,13 @@ "prefer-stable": true, "require": { "php": "^8.3", + "laravel/helpers": "^1.8", "dreamfactory/df-core": "~1.0.4" }, "require-dev": { "laravel/framework": "^13.7", + "mockery/mockery": "^1.6", + "nunomaduro/collision": "^8.6", "phpunit/phpunit": "^11.5.3", "orchestra/testbench": "^11.0" },