Skip to content

Commit 675a7fa

Browse files
authored
bring the realpath back (#22)
* bring the realpath back * fix return type * add cs fixer cache * run cs fixer
1 parent e8b96a7 commit 675a7fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+220
-91
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
/build
44
/vendor
55
.DS_Store
6+
.php-cs-fixer.cache
67
.phpunit.result.cache
78
composer.lock

src/Base64/Base64Parser.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Base64;
46

src/Base64/SafeBase64Parser.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Base64;
46

src/Cryptography/Algorithms/Ecdsa/AbstractEcdsaSigner.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Cryptography\Algorithms\Ecdsa;
46

57
use MiladRahimi\Jwt\Cryptography\Keys\EcdsaPrivateKey;
68
use MiladRahimi\Jwt\Cryptography\Signer;
79
use MiladRahimi\Jwt\Exceptions\SigningException;
10+
811
use function ltrim;
912
use function ord;
1013
use function str_pad;

src/Cryptography/Algorithms/Ecdsa/AbstractEcdsaVerifier.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Cryptography\Algorithms\Ecdsa;
46

57
use MiladRahimi\Jwt\Cryptography\Keys\EcdsaPublicKey;
68
use MiladRahimi\Jwt\Cryptography\Verifier;
79
use MiladRahimi\Jwt\Exceptions\InvalidSignatureException;
10+
811
use function chr;
912
use function ltrim;
1013
use function ord;

src/Cryptography/Algorithms/Ecdsa/Algorithm.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Cryptography\Algorithms\Ecdsa;
46

src/Cryptography/Algorithms/Ecdsa/ES256KVerifier.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Cryptography\Algorithms\Ecdsa;
46

src/Cryptography/Algorithms/Ecdsa/ES256Signer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Cryptography\Algorithms\Ecdsa;
46

src/Cryptography/Algorithms/Ecdsa/ES256Verifier.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Cryptography\Algorithms\Ecdsa;
46

src/Cryptography/Algorithms/Ecdsa/ES384Signer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MiladRahimi\Jwt\Cryptography\Algorithms\Ecdsa;
46

0 commit comments

Comments
 (0)