Skip to content

Commit

Permalink
run cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
miladrahimi committed Jun 1, 2024
1 parent 95ccc64 commit a41c622
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions tests/ExamplesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,16 @@ public function test_eddsa_algorithms()
public function test_multiple_keys()
{
$privateKey1 = new RsaPrivateKey(
__DIR__ . '/../assets/keys/rsa-private.pem', '', 'key-1'
__DIR__ . '/../assets/keys/rsa-private.pem',
'',
'key-1'
);
$publicKey1 = new RsaPublicKey(__DIR__ . '/../assets/keys/rsa-public.pem', 'key-1');

$privateKey2 = new EcdsaPrivateKey(
__DIR__ . '/../assets/keys/ecdsa384-private.pem', '', 'key-2'
__DIR__ . '/../assets/keys/ecdsa384-private.pem',
'',
'key-2'
);
$publicKey2 = new EcdsaPublicKey(__DIR__ . '/../assets/keys/ecdsa384-public.pem', 'key-2');

Expand Down
4 changes: 3 additions & 1 deletion tests/VerifierFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class VerifierFactoryTest extends TestCase
public function test_getVerifier_it_should_return_the_right_verifier()
{
$privateKey = new RsaPrivateKey(
__DIR__ . '/../assets/keys/rsa-private.pem', '', 'key-1'
__DIR__ . '/../assets/keys/rsa-private.pem',
'',
'key-1'
);
$publicKey = new RsaPublicKey(__DIR__ . '/../assets/keys/rsa-public.pem', 'key-1');

Expand Down

0 comments on commit a41c622

Please sign in to comment.