From fbc6d22fefa86a37e7b313c25e40a7812c378d6e Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 24 Feb 2026 18:50:44 +0100 Subject: [PATCH] test: add strict preset manually to remove toHaveProtectedMethods test --- tests/ArchTest.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/ArchTest.php b/tests/ArchTest.php index e54ad749f..5e2076796 100644 --- a/tests/ArchTest.php +++ b/tests/ArchTest.php @@ -8,12 +8,14 @@ use Throwable; arch()->preset()->php(); arch()->preset()->security(); -arch()->preset()->strict(); - arch('App') ->expect('App') + ->toUseStrictTypes() + ->toUseStrictEquality() ->not->toBeEnums() ->ignoring('App\Enums') + ->classes()->not->toBeAbstract() + ->classes()->toBeFinal() ->not->toExtend(\Illuminate\Database\Eloquent\Model::class) ->ignoring('App\Models') ->not->toExtend(\Illuminate\Foundation\Http\FormRequest::class) @@ -218,5 +220,5 @@ arch('Providers') ->toHaveSuffix('ServiceProvider'); arch('Functions') - ->expect(['dd', 'ddd', 'dump', 'env', 'exit', 'ray']) + ->expect(['dd', 'ddd', 'dump', 'env', 'exit', 'ray', 'sleep', 'usleep']) ->not->toBeUsed();