From 353477eb168fe596b7c48c2f6d6424eaaf57548b Mon Sep 17 00:00:00 2001 From: Milad Rahimi Date: Sat, 1 Jun 2024 12:06:17 +0200 Subject: [PATCH] run cs fixer --- src/Base64/Base64Parser.php | 4 +++- src/Base64/SafeBase64Parser.php | 4 +++- .../Algorithms/Ecdsa/AbstractEcdsaSigner.php | 5 ++++- .../Algorithms/Ecdsa/AbstractEcdsaVerifier.php | 5 ++++- .../Algorithms/Ecdsa/Algorithm.php | 4 +++- .../Algorithms/Ecdsa/ES256KVerifier.php | 4 +++- .../Algorithms/Ecdsa/ES256Signer.php | 4 +++- .../Algorithms/Ecdsa/ES256Verifier.php | 4 +++- .../Algorithms/Ecdsa/ES384Signer.php | 4 +++- .../Algorithms/Ecdsa/ES384Verifier.php | 4 +++- .../Algorithms/Eddsa/EdDsaSigner.php | 5 ++++- .../Algorithms/Eddsa/EdDsaVerifier.php | 4 +++- .../Algorithms/Hmac/AbstractHmac.php | 4 +++- src/Cryptography/Algorithms/Hmac/HS256.php | 4 +++- src/Cryptography/Algorithms/Hmac/HS384.php | 4 +++- src/Cryptography/Algorithms/Hmac/HS512.php | 4 +++- .../Algorithms/Rsa/AbstractRsaSigner.php | 4 +++- .../Algorithms/Rsa/AbstractRsaVerifier.php | 4 +++- src/Cryptography/Algorithms/Rsa/Algorithm.php | 4 +++- .../Algorithms/Rsa/RS256Signer.php | 4 +++- .../Algorithms/Rsa/RS256Verifier.php | 4 +++- .../Algorithms/Rsa/RS384Signer.php | 4 +++- .../Algorithms/Rsa/RS384Verifier.php | 4 +++- .../Algorithms/Rsa/RS512Signer.php | 4 +++- .../Algorithms/Rsa/RS512Verifier.php | 4 +++- src/Cryptography/Keys/EcdsaPrivateKey.php | 4 +++- src/Cryptography/Keys/EcdsaPublicKey.php | 4 +++- src/Cryptography/Keys/EdDsaPrivateKey.php | 4 +++- src/Cryptography/Keys/EdDsaPublicKey.php | 4 +++- src/Cryptography/Keys/HmacKey.php | 4 +++- src/Cryptography/Keys/RsaPrivateKey.php | 4 +++- src/Cryptography/Keys/RsaPublicKey.php | 4 +++- src/Cryptography/Signer.php | 4 +++- src/Cryptography/Verifier.php | 4 +++- src/Enums/PublicClaimNames.php | 18 ++++++++++-------- src/Exceptions/InvalidKeyException.php | 4 +++- src/Exceptions/InvalidSignatureException.php | 4 +++- src/Exceptions/InvalidTokenException.php | 4 +++- src/Exceptions/JsonDecodingException.php | 4 +++- src/Exceptions/JsonEncodingException.php | 4 +++- src/Exceptions/NoKidException.php | 4 +++- src/Exceptions/SigningException.php | 4 +++- src/Exceptions/ValidationException.php | 4 +++- src/Exceptions/VerifierNotFoundException.php | 4 +++- src/Generator.php | 4 +++- src/Json/JsonParser.php | 4 +++- src/Json/StrictJsonParser.php | 4 +++- src/Parser.php | 7 ++++--- src/Validator/BaseValidator.php | 4 +++- src/Validator/DefaultValidator.php | 4 +++- src/Validator/Rule.php | 4 +++- src/Validator/Rules/ConsistsOf.php | 4 +++- src/Validator/Rules/EqualsTo.php | 4 +++- src/Validator/Rules/GreaterThan.php | 4 +++- src/Validator/Rules/GreaterThanOrEqualTo.php | 4 +++- src/Validator/Rules/IdenticalTo.php | 4 +++- src/Validator/Rules/LessThan.php | 4 +++- src/Validator/Rules/LessThanOrEqualTo.php | 4 +++- src/Validator/Rules/NewerThan.php | 4 +++- src/Validator/Rules/NewerThanOrSame.php | 4 +++- src/Validator/Rules/NotEmpty.php | 4 +++- src/Validator/Rules/NotNull.php | 4 +++- src/Validator/Rules/OlderThan.php | 4 +++- src/Validator/Rules/OlderThanOrSame.php | 4 +++- src/Validator/Validator.php | 4 +++- src/VerifierFactory.php | 2 +- 66 files changed, 207 insertions(+), 75 deletions(-) diff --git a/src/Base64/Base64Parser.php b/src/Base64/Base64Parser.php index edd8496..e0c81df 100644 --- a/src/Base64/Base64Parser.php +++ b/src/Base64/Base64Parser.php @@ -1,4 +1,6 @@ -verifier = $verifier; $this->validator = $validator ?: new DefaultValidator(); $this->jsonParser = $jsonParser ?: new StrictJsonParser(); diff --git a/src/Validator/BaseValidator.php b/src/Validator/BaseValidator.php index a703d86..adb6be7 100644 --- a/src/Validator/BaseValidator.php +++ b/src/Validator/BaseValidator.php @@ -1,4 +1,6 @@ -