From 1115c64186e69ec6d34b224af22517e6880f36d7 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 1 Oct 2024 11:48:14 +0100 Subject: [PATCH] chore: style changes --- tests/Features/Expect/toUseStrictTypes.php | 1 - tests/Fixtures/Arch/ToUseStrictTypes/HasNoStrictType.php | 5 +---- tests/Fixtures/Arch/ToUseStrictTypes/HasStrictType.php | 5 +---- .../ToUseStrictTypes/HasStrictTypeWithCommentsAbove.php | 9 ++++----- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/tests/Features/Expect/toUseStrictTypes.php b/tests/Features/Expect/toUseStrictTypes.php index 2fa82eba..9a609e50 100644 --- a/tests/Features/Expect/toUseStrictTypes.php +++ b/tests/Features/Expect/toUseStrictTypes.php @@ -15,4 +15,3 @@ test('pass', function () { test('failures', function () { expect(HasNoStrictType::class)->toUseStrictTypes(); })->throws(ArchExpectationFailedException::class); - diff --git a/tests/Fixtures/Arch/ToUseStrictTypes/HasNoStrictType.php b/tests/Fixtures/Arch/ToUseStrictTypes/HasNoStrictType.php index ce87bf9a..7dc3b5aa 100644 --- a/tests/Fixtures/Arch/ToUseStrictTypes/HasNoStrictType.php +++ b/tests/Fixtures/Arch/ToUseStrictTypes/HasNoStrictType.php @@ -2,7 +2,4 @@ namespace Tests\Fixtures\Arch\ToUseStrictTypes; -class HasNoStrictType -{ - -} +class HasNoStrictType {} diff --git a/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictType.php b/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictType.php index d8c65e71..01e47781 100644 --- a/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictType.php +++ b/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictType.php @@ -4,7 +4,4 @@ declare(strict_types=1); namespace Tests\Fixtures\Arch\ToUseStrictTypes; -class HasStrictType -{ - -} +class HasStrictType {} diff --git a/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictTypeWithCommentsAbove.php b/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictTypeWithCommentsAbove.php index 14020599..fc4703ff 100644 --- a/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictTypeWithCommentsAbove.php +++ b/tests/Fixtures/Arch/ToUseStrictTypes/HasStrictTypeWithCommentsAbove.php @@ -1,4 +1,6 @@ -