From 0a78b75ed77729c733b0b9a24545521d01a1e6a5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Mar 2026 17:05:15 +0000 Subject: [PATCH 1/3] Initial plan From 72c007888128d8895efef2c6924929cf9dde0e4a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Mar 2026 17:15:13 +0000 Subject: [PATCH 2/3] feat: add Laravel 13 compatibility Co-authored-by: stevebauman <6421846+stevebauman@users.noreply.github.com> --- .github/workflows/run-tests.yml | 4 ++++ composer.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5dd342b..a607f9e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,6 +14,10 @@ jobs: os: [ubuntu-latest] php: [8.2, 8.3, 8.4] include: + - php: 8.4 + laravel: 13.* + testbench: 11.* + - php: 8.4 laravel: 12.* testbench: 10.* diff --git a/composer.json b/composer.json index 0e5d80c..f416d2e 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ "require": { "php": "^8.2", "fakerphp/faker": "^1.0", - "illuminate/support": "^11.0|^12.0" + "illuminate/support": "^11.0|^12.0|^13.0" }, "require-dev": { "pestphp/pest": "^3.8", "laravel/pint": "^1.24", "phpbench/phpbench": "^1.4", - "orchestra/testbench": "^9.0|^10.0" + "orchestra/testbench": "^9.0|^10.0|^11.0" }, "autoload": { "psr-4": { From a75e963a44e0e80df2098f50d5f7f3fd1c46653c Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Mar 2026 17:21:53 +0000 Subject: [PATCH 3/3] Fix code style with Laravel Pint --- src/Facades/Anonymize.php | 2 +- tests/Pest.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Facades/Anonymize.php b/src/Facades/Anonymize.php index 105043a..d56236e 100644 --- a/src/Facades/Anonymize.php +++ b/src/Facades/Anonymize.php @@ -11,7 +11,7 @@ * @method static bool isEnabled() * @method static \Faker\Generator faker(string|int|null $seed = null) * - * @see \DirectoryTree\Anonymize\AnonymizeManager + * @see AnonymizeManager */ class Anonymize extends Facade { diff --git a/tests/Pest.php b/tests/Pest.php index 594a588..ea10726 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -1,3 +1,5 @@ in(__DIR__); +use DirectoryTree\Anonymize\Tests\TestCase; + +uses(TestCase::class)->in(__DIR__);