Skip to content

Commit

Permalink
tests: fixed with php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Strobotti committed Apr 30, 2024
1 parent 0a83588 commit 52ebdb8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion tests/Key/RsaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function provideCreateFromJSON(): \Generator
}
EOT
];
}
}

public function testToString(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/KeyConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function provideKeyToPem(): \Generator
-----END PUBLIC KEY-----
EOT
];
}
}

public function testUnsupportedKeyTypeRaisesException(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/KeyFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ public static function provideCreateFromPem(): \Generator
],
'expectedInstance' => Rsa::class,
];
}
}
}
2 changes: 1 addition & 1 deletion tests/KeySetFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ public static function provideCreateFromJSON(): \Generator
}
EOT
];
}
}
}
14 changes: 7 additions & 7 deletions tests/KeySetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public static function provideCreateFromJSON(): \Generator
}
EOT;

yield [
'expected' => <<<'EOT'
yield [
'expected' => <<<'EOT'
{
"keys": [
{
Expand All @@ -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
{
Expand Down

0 comments on commit 52ebdb8

Please sign in to comment.