From 52ebdb840bdd37bf778c3f28a76e899796ed000c Mon Sep 17 00:00:00 2001 From: Juha Jantunen Date: Tue, 30 Apr 2024 14:37:55 +0300 Subject: [PATCH] tests: fixed with php-cs-fixer --- tests/Key/RsaTest.php | 2 +- tests/KeyConverterTest.php | 2 +- tests/KeyFactoryTest.php | 2 +- tests/KeySetFactoryTest.php | 2 +- tests/KeySetTest.php | 14 +++++++------- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/Key/RsaTest.php b/tests/Key/RsaTest.php index 253804f..3168dc0 100644 --- a/tests/Key/RsaTest.php +++ b/tests/Key/RsaTest.php @@ -50,7 +50,7 @@ public static function provideCreateFromJSON(): \Generator } EOT ]; -} + } public function testToString(): void { diff --git a/tests/KeyConverterTest.php b/tests/KeyConverterTest.php index 5979635..c0859a3 100644 --- a/tests/KeyConverterTest.php +++ b/tests/KeyConverterTest.php @@ -50,7 +50,7 @@ public static function provideKeyToPem(): \Generator -----END PUBLIC KEY----- EOT ]; -} + } public function testUnsupportedKeyTypeRaisesException(): void { diff --git a/tests/KeyFactoryTest.php b/tests/KeyFactoryTest.php index 108739b..32c4280 100644 --- a/tests/KeyFactoryTest.php +++ b/tests/KeyFactoryTest.php @@ -55,5 +55,5 @@ public static function provideCreateFromPem(): \Generator ], 'expectedInstance' => Rsa::class, ]; -} + } } diff --git a/tests/KeySetFactoryTest.php b/tests/KeySetFactoryTest.php index 953b4a6..bc25490 100644 --- a/tests/KeySetFactoryTest.php +++ b/tests/KeySetFactoryTest.php @@ -63,5 +63,5 @@ public static function provideCreateFromJSON(): \Generator } EOT ]; -} + } } diff --git a/tests/KeySetTest.php b/tests/KeySetTest.php index d56c182..452b07b 100644 --- a/tests/KeySetTest.php +++ b/tests/KeySetTest.php @@ -34,8 +34,8 @@ public static function provideCreateFromJSON(): \Generator } EOT; - yield [ - 'expected' => <<<'EOT' + yield [ + 'expected' => <<<'EOT' { "keys": [ { @@ -49,11 +49,11 @@ public static function provideCreateFromJSON(): \Generator ] } EOT - , - 'keySet' => (new KeySet()) - ->addKey(Rsa::createFromJSON($keyJson)), - ]; -} + , + 'keySet' => (new KeySet()) + ->addKey(Rsa::createFromJSON($keyJson)), + ]; + } public function testAddKeyThrowsErrorOnDuplicateKid(): void {