diff --git a/composer.json b/composer.json index a107d033..c0f39262 100644 --- a/composer.json +++ b/composer.json @@ -40,15 +40,7 @@ "Jose\\Component\\Checker\\": "src/Component/Checker/", "Jose\\Component\\Console\\": "src/Component/Console/", "Jose\\Component\\Core\\": "src/Component/Core/", - "Jose\\Component\\Core\\Util\\Ecc\\": [ - "src/Ecc", - "src/Ecc/" - ], "Jose\\Component\\Encryption\\": "src/Component/Encryption/", - "Jose\\Component\\Encryption\\Algorithm\\": [ - "src/EncryptionAlgorithm/Experimental", - "src/EncryptionAlgorithm/Experimental/" - ], "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\": [ "src/EncryptionAlgorithm/ContentEncryption/AESCBC", "src/EncryptionAlgorithm/ContentEncryption/AESCBC/", @@ -119,7 +111,6 @@ "ext-curl": "*", "ext-gmp": "*", "bjeavons/zxcvbn-php": "^1.3", - "blackfire/php-sdk": "^2.0", "ekino/phpstan-banned-code": "^1.0", "infection/infection": "^0.27", "matthiasnoback/symfony-config-test": "^5.0", @@ -134,7 +125,7 @@ "phpstan/phpstan-strict-rules": "^1.4", "phpunit/phpunit": "^10.1", "qossmic/deptrac-shim": "^1.0", - "rector/rector": "^0.18", + "rector/rector": "^0.19", "roave/security-advisories": "dev-latest", "symfony/browser-kit": "^6.1|^7.0", "symfony/finder": "^6.1|^7.0", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ddad872d..167d3050 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2184 +1,2049 @@ parameters: ignoreErrors: - - message: "#^Parameter \\#1 \\$jwk of method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\KeyAnalyzerManager\\:\\:analyze\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DataCollector/KeyCollector.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\JoseFrameworkExtension\\:\\:getConfiguration\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/JoseFrameworkExtension.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\JoseFrameworkExtension\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/JoseFrameworkExtension.php - - - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/AbstractSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\AbstractSource\\:\\:create\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/AbstractSource.php - - - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" - count: 2 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\CheckerSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\CheckerSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\CheckerSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\ClaimChecker\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\ClaimChecker\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\ClaimChecker\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\HeaderChecker\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\HeaderChecker\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\HeaderChecker\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Console\\\\ConsoleSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Console/ConsoleSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Console\\\\ConsoleSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Console/ConsoleSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Console\\\\ConsoleSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Console/ConsoleSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Core\\\\CoreSource\\:\\:load\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Core/CoreSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Core\\\\CoreSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Core/CoreSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Core\\\\CoreSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Core/CoreSource.php - - - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\AbstractEncryptionSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\AbstractEncryptionSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + message: "#^Invalid type object to throw\\.$#" + count: 3 + path: src/Component/Checker/AudienceChecker.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\ClaimCheckerManager\\:\\:check\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php + path: src/Component/Checker/ClaimCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:getAlgorithmsFiles\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\ClaimCheckerManager\\:\\:check\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php + path: src/Component/Checker/ClaimCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\ClaimCheckerManager\\:\\:checkMandatoryClaims\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php + path: src/Component/Checker/ClaimCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkCriticalHeader\\(\\) has parameter \\$checkedHeaderParameters with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkCriticalHeader\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWEBuilder\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkCriticalHeader\\(\\) has parameter \\$protected with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWEBuilder.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWEDecrypter\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header1 with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWEDecrypter.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header2 with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWELoader\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkHeaders\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWELoader\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkHeaders\\(\\) has parameter \\$protected with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWELoader\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkMandatoryHeaderParameters\\(\\) has parameter \\$protected with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkMandatoryHeaderParameters\\(\\) has parameter \\$unprotected with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php + path: src/Component/Checker/HeaderCheckerManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWESerializer\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php + message: "#^Invalid type object to throw\\.$#" + count: 2 + path: src/Component/Checker/IssuerChecker.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWESerializer\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Checker\\\\IssuerChecker\\:\\:__construct\\(\\) has parameter \\$issuers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php + path: src/Component/Checker/IssuerChecker.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWESerializer\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Cannot cast mixed to int\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php + path: src/Component/Console/EcKeysetGeneratorCommand.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Console\\\\GeneratorCommand\\:\\:getOptions\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php + path: src/Component/Console/GeneratorCommand.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JKUSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$jwk of method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\KeyAnalyzerManager\\:\\:analyze\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php + path: src/Component/Console/KeysetAnalyzerCommand.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JKUSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php + path: src/Component/Console/KeysetAnalyzerCommand.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JKUSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Attribute class Jose\\\\Component\\\\Console\\\\AsCommand does not exist\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php + path: src/Component/Console/NoneKeyGeneratorCommand.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Cannot cast mixed to int\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php + path: src/Component/Console/OctKeyGeneratorCommand.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSetSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php + message: "#^Cannot cast mixed to int\\.$#" + count: 2 + path: src/Component/Console/OctKeysetGeneratorCommand.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSetSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Cannot cast mixed to int\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php + path: src/Component/Console/OkpKeysetGeneratorCommand.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSetSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Attribute class Jose\\\\Component\\\\Console\\\\AsCommand does not exist\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php + path: src/Component/Console/PublicKeyCommand.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Cannot cast mixed to int\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + path: src/Component/Console/RsaKeyGeneratorCommand.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + message: "#^Cannot cast mixed to int\\.$#" + count: 2 + path: src/Component/Console/RsaKeysetGeneratorCommand.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Attribute class Jose\\\\Component\\\\Console\\\\AsCommand does not exist\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + path: src/Component/Console/X5ULoaderCommand.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Property Jose\\\\Component\\\\Core\\\\AlgorithmManager\\:\\:\\$algorithms type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php + path: src/Component/Core/AlgorithmManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php + path: src/Component/Core/AlgorithmManagerFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Property Jose\\\\Component\\\\Core\\\\AlgorithmManagerFactory\\:\\:\\$algorithms type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php + path: src/Component/Core/AlgorithmManagerFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWK\\:\\:__construct\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php + path: src/Component/Core/JWK.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWK\\:\\:all\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + path: src/Component/Core/JWK.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWK\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + path: src/Component/Core/JWK.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Property Jose\\\\Component\\\\Core\\\\JWK\\:\\:\\$values type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + path: src/Component/Core/JWK.php - - message: "#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#" + message: "#^Class Jose\\\\Component\\\\Core\\\\JWKSet implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + path: src/Component/Core/JWKSet.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Instanceof between Jose\\\\Component\\\\Core\\\\JWK and Jose\\\\Component\\\\Core\\\\JWK will always evaluate to true\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + path: src/Component/Core/JWKSet.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:convertKeyOpsToKeyUse\\(\\) has parameter \\$key_ops with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + path: src/Component/Core/JWKSet.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:createFromKeyData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + path: src/Component/Core/JWKSet.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:doesKeySatisfyRestrictions\\(\\) has parameter \\$restrictions with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + path: src/Component/Core/JWKSet.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + path: src/Component/Core/JWKSet.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:sortKeys\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php + path: src/Component/Core/JWKSet.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKUriSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:sortKeys\\(\\) has parameter \\$b with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php + path: src/Component/Core/JWKSet.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKUriSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$values of class Jose\\\\Component\\\\Core\\\\JWK constructor expects array, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php + path: src/Component/Core/JWKSet.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKUriSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Property Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:\\$keys type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php + path: src/Component/Core/JWKSet.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\KeyManagementSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\Util\\\\ECKey\\:\\:createECKey\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + path: src/Component/Core/Util/ECKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\KeyManagementSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\Util\\\\ECKey\\:\\:createECKeyUsingOpenSSL\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + path: src/Component/Core/Util/ECKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\KeyManagementSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Strict comparison using \\=\\=\\= between '30' and '81' will always evaluate to false\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + path: src/Component/Core/Util/ECSignature.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php + message: "#^Binary operation \"\\^\" between string and 1 results in an error\\.$#" + count: 2 + path: src/Component/Core/Util/Ecc/Curve.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedToken\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Core\\\\Util\\\\RSAKey\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php + path: src/Component/Core/Util/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedToken\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$number of static method Brick\\\\Math\\\\BigInteger\\:\\:fromBase\\(\\) expects string, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php + path: src/Component/Core/Util/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedToken\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Property Jose\\\\Component\\\\Core\\\\Util\\\\RSAKey\\:\\:\\$values type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php + path: src/Component/Core/Util/RSAKey.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Compression\\\\CompressionMethodManager\\:\\:__construct\\(\\) has parameter \\$methods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + path: src/Component/Encryption/Compression/CompressionMethodManager.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenBuilder\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:__construct\\(\\) has parameter \\$recipients with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + path: src/Component/Encryption/JWE.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenBuilder\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:__construct\\(\\) has parameter \\$sharedHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + path: src/Component/Encryption/JWE.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenBuilder\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:__construct\\(\\) has parameter \\$sharedProtectedHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + path: src/Component/Encryption/JWE.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:getSharedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + path: src/Component/Encryption/JWE.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenLoader\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:getSharedProtectedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + path: src/Component/Encryption/JWE.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenLoader\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:addRecipient\\(\\) has parameter \\$recipientHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenLoader\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:checkAndSetContentEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header1 with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/AbstractSignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\AbstractSignatureSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header2 with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/AbstractSignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\AbstractSignatureSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:determineCEK\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/AbstractSignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSBuilder\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:encryptJWE\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSBuilder.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getCompressionMethod\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSLoader\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getContentEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSLoader\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKey\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSLoader\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKey\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSSerializer\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSSerializer\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyEncryptionAlgorithm\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSSerializer\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSVerifier\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyWrappingAlgorithm\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/JWSVerifier.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyWrappingAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:getAlgorithmsFiles\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getKeyEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:processRecipient\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:processRecipient\\(\\) has parameter \\$recipient with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:withSharedHeader\\(\\) has parameter \\$sharedHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Source\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:withSharedProtectedHeader\\(\\) has parameter \\$sharedProtectedHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Source.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Source\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Source.php + message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, \\(float\\|int\\) given\\.$#" + count: 2 + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Source\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Property Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:\\$recipients type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/DependencyInjection/Source/Source.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Parameter \\#1 \\$json of static method Jose\\\\Component\\\\Core\\\\JWK\\:\\:createFromJson\\(\\) expects string, mixed given\\.$#" + message: "#^Property Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:\\$sharedHeader type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/EnvVarProcessor/KeyEnvVarProcessor.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Parameter \\#1 \\$json of static method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:createFromJson\\(\\) expects string, mixed given\\.$#" + message: "#^Property Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:\\$sharedProtectedHeader type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/EnvVarProcessor/KeyEnvVarProcessor.php + path: src/Component/Encryption/JWEBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:__construct\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:checkCompleteHeader\\(\\) has parameter \\$completeHeaders with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedFailureEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryClaims with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decompressIfNeeded\\(\\) has parameter \\$completeHeaders with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedFailureEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:getClaims\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decryptCEK\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedFailureEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:getMandatoryClaims\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decryptPayload\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedFailureEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$checkedClaims with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:getContentEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedSuccessEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:getKeyEncryptionAlgorithm\\(\\) has parameter \\$completeHeaders with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedSuccessEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryClaims with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedSuccessEvent.php + message: "#^Parameter \\#1 \\$key of static method Jose\\\\Component\\\\Core\\\\Util\\\\KeyChecker\\:\\:checkKeyAlgorithm\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" + count: 2 + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:getCheckedClaims\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$key of static method Jose\\\\Component\\\\Core\\\\Util\\\\KeyChecker\\:\\:checkKeyUsage\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedSuccessEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:getClaims\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#3 \\$recipientKey of method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decryptCEK\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedSuccessEvent.php + path: src/Component/Encryption/JWEDecrypter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:getMandatoryClaims\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/ClaimCheckedSuccessEvent.php + path: src/Component/Encryption/JWELoaderFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedFailureEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryHeaderParameters with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/HeaderCheckedFailureEvent.php + path: src/Component/Encryption/JWELoaderFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedFailureEvent\\:\\:getMandatoryHeaderParameters\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$headerCheckers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/HeaderCheckedFailureEvent.php + path: src/Component/Encryption/JWELoaderFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryHeaderParameters with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/HeaderCheckedSuccessEvent.php + path: src/Component/Encryption/JWELoaderFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedSuccessEvent\\:\\:getMandatoryHeaderParameters\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$serializers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/HeaderCheckedSuccessEvent.php + path: src/Component/Encryption/JWELoaderFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$recipients with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Recipient\\:\\:__construct\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/JWEBuiltFailureEvent.php + path: src/Component/Encryption/Recipient.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$sharedHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Recipient\\:\\:getHeader\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/JWEBuiltFailureEvent.php + path: src/Component/Encryption/Recipient.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$sharedProtectedHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONFlattenedSerializer\\:\\:checkData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/JWEBuiltFailureEvent.php + path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:getRecipients\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONFlattenedSerializer\\:\\:processHeaders\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/JWEBuiltFailureEvent.php + path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:getSharedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONFlattenedSerializer\\:\\:processHeaders\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/JWEBuiltFailureEvent.php + path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:getSharedProtectedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/Event/JWEBuiltFailureEvent.php + message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" + count: 3 + path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWSBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$signatures with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:checkData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/JWSBuiltFailureEvent.php + path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWSBuiltFailureEvent\\:\\:getSignatures\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processHeaders\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Event/JWSBuiltFailureEvent.php + path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addClaimChecker\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processHeaders\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addHeaderChecker\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processRecipient\\(\\) has parameter \\$recipient with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processRecipient\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" + count: 3 + path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$keyEncryptionAlgorithm with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\Message\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/Analyzer/Message.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\MessageBag implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/Analyzer/MessageBag.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\MessageBag\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/Analyzer/MessageBag.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method get\\(\\) on mixed\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/Analyzer/MixedKeyTypes.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$keyEncryptionAlgorithm with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method get\\(\\) on mixed\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method has\\(\\) on mixed\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWELoader\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 2 + path: src/Component/KeyManagement/Analyzer/UsageAnalyzer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWESerializer\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JKUFactory\\:\\:loadFromUrl\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JKUFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSBuilder\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromCertificate\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSLoader\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromCertificateFile\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSSerializer\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromKey\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSVerifier\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromKeyFile\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKey\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromPKCS12CertificateFile\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKey\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromSecret\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyUri\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromValues\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyUri\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromX509Resource\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyset\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromX5C\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyset\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromX5C\\(\\) has parameter \\$x5c with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addNestedTokenBuilder\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$key of static method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromKey\\(\\) expects string, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addNestedTokenLoader\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, \\(float\\|int\\) given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:updateJoseConfiguration\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, float\\|int\\ given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/JWKFactory.php - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Helper/ConfigurationHelper.php + path: src/Component/KeyManagement/KeyConverter/ECKey.php - - message: "#^Class Jose\\\\Bundle\\\\JoseFramework\\\\Routing\\\\JWKSetLoader has an uninitialized property \\$resolver\\. Give it default value or assign it in the constructor\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:getSupportedCurves\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Routing/JWKSetLoader.php + path: src/Component/KeyManagement/KeyConverter/ECKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:decode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:loadJWK\\(\\) has parameter \\$jwk with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWEEncoder.php + path: src/Component/KeyManagement/KeyConverter/ECKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:encode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:loadPEM\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWEEncoder.php + path: src/Component/KeyManagement/KeyConverter/ECKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:getRecipientIndex\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWEEncoder.php + path: src/Component/KeyManagement/KeyConverter/ECKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:supportsDecoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Property Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:\\$values type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWEEncoder.php + path: src/Component/KeyManagement/KeyConverter/ECKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:supportsEncoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromKey\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWEEncoder.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWESerializer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromKeyFile\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWESerializer.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWESerializer\\:\\:supportsDenormalization\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromX5C\\(\\) has parameter \\$x5c with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWESerializer.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:decode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromX5C\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWSEncoder.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:encode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromCertificate\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWSEncoder.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:getSignatureIndex\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromCertificateFile\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWSEncoder.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:supportsDecoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromDER\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWSEncoder.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:supportsEncoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromPEM\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWSEncoder.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSSerializer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromX509Resource\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWSSerializer.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSSerializer\\:\\:supportsDenormalization\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:tryToLoadECKey\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Serializer/JWSSerializer.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\ClaimCheckerManager\\:\\:check\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:tryToLoadOtherKeyTypes\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/ClaimCheckerManager.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\ClaimCheckerManager\\:\\:check\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|null given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/ClaimCheckerManager.php + path: src/Component/KeyManagement/KeyConverter/KeyConverter.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWEDecrypterFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWEDecrypterFactory.php + path: src/Component/KeyManagement/KeyConverter/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWEDecrypterFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:createFromKeyDetails\\(\\) has parameter \\$details with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWEDecrypterFactory.php + path: src/Component/KeyManagement/KeyConverter/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWEDecrypterFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:loadJWK\\(\\) has parameter \\$jwk with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWEDecrypterFactory.php + path: src/Component/KeyManagement/KeyConverter/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWELoaderFactory.php + path: src/Component/KeyManagement/KeyConverter/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$details of static method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:createFromKeyDetails\\(\\) expects array, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWELoaderFactory.php + path: src/Component/KeyManagement/KeyConverter/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$headerCheckers with no value type specified in iterable type array\\.$#" + message: "#^Property Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:\\$values type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWELoaderFactory.php + path: src/Component/KeyManagement/KeyConverter/RSAKey.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\UrlKeySetFactory\\:\\:getContent\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWELoaderFactory.php + path: src/Component/KeyManagement/UrlKeySetFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$serializers with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$request of method Psr\\\\Http\\\\Client\\\\ClientInterface\\:\\:sendRequest\\(\\) expects Psr\\\\Http\\\\Message\\\\RequestInterface, Psr\\\\Http\\\\Message\\\\MessageInterface given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWELoaderFactory.php + path: src/Component/KeyManagement/UrlKeySetFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSLoaderFactory\\:\\:create\\(\\) has parameter \\$algorithms with no value type specified in iterable type array\\.$#" + message: "#^Cannot cast mixed to string\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWSLoaderFactory.php + path: src/Component/KeyManagement/X5UFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSLoaderFactory\\:\\:create\\(\\) has parameter \\$headerCheckers with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\X5UFactory\\:\\:loadFromUrl\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWSLoaderFactory.php + path: src/Component/KeyManagement/X5UFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSLoaderFactory\\:\\:create\\(\\) has parameter \\$serializers with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$certificate of static method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromCertificate\\(\\) expects string, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWSLoaderFactory.php + path: src/Component/KeyManagement/X5UFactory.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSVerifierFactory\\:\\:create\\(\\) has parameter \\$algorithms with no value type specified in iterable type array\\.$#" + message: "#^Call to function array_key_exists\\(\\) with 'key' and array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, header\\?\\: array\\\\} will always evaluate to true\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/JWSVerifierFactory.php + path: src/Component/NestedToken/NestedTokenBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" + message: "#^Call to function array_key_exists\\(\\) with 'key' and array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, protected_header\\?\\: array\\, header\\?\\: array\\\\} will always evaluate to true\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenBuilderFactory.php + path: src/Component/NestedToken/NestedTokenBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Call to function is_array\\(\\) with array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, header\\?\\: array\\\\} will always evaluate to true\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenBuilderFactory.php + path: src/Component/NestedToken/NestedTokenBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$jwe_serializers with no value type specified in iterable type array\\.$#" + message: "#^Call to function is_array\\(\\) with array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, protected_header\\?\\: array\\, header\\?\\: array\\\\} will always evaluate to true\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenBuilderFactory.php + path: src/Component/NestedToken/NestedTokenBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$jws_serializers with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenBuilderFactory.php + message: "#^Result of \\|\\| is always false\\.$#" + count: 2 + path: src/Component/NestedToken/NestedTokenBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenBuilderFactory.php + path: src/Component/Signature/JWS.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$signatureAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenBuilderFactory.php + path: src/Component/Signature/JWS.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/JWSBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/JWSBuilder.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jweHeaderCheckers with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$algorithm of method Jose\\\\Component\\\\Core\\\\AlgorithmManager\\:\\:get\\(\\) expects string, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/JWSVerifier.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jweSerializers with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/JWSVerifier.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jwsHeaderCheckers with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\Serializer\\:\\:isPayloadEncoded\\(\\) expects array\\, array given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/Serializer/CompactSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jwsSerializers with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/Serializer/CompactSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php - - message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$signatureAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\Serializer\\:\\:isPayloadEncoded\\(\\) expects array\\, array given\\.$#" count: 1 - path: src/Bundle/JoseFramework/Services/NestedTokenLoaderFactory.php + path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php - - message: "#^Invalid type object to throw\\.$#" - count: 3 - path: src/Component/Checker/AudienceChecker.php + message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array given\\.$#" + count: 1 + path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\ClaimCheckerManager\\:\\:check\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array given\\.$#" count: 1 - path: src/Component/Checker/ClaimCheckerManager.php + path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\ClaimCheckerManager\\:\\:check\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" count: 1 - path: src/Component/Checker/ClaimCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\ClaimCheckerManager\\:\\:checkMandatoryClaims\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" + message: "#^Cannot access offset 'signature' on mixed\\.$#" count: 1 - path: src/Component/Checker/ClaimCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkCriticalHeader\\(\\) has parameter \\$checkedHeaderParameters with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkCriticalHeader\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$signature of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processHeaders\\(\\) expects array\\{protected\\?\\: string, header\\?\\: array\\\\}, mixed given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkCriticalHeader\\(\\) has parameter \\$protected with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, mixed given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header1 with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processIsPayloadEncoded\\(\\) expects array\\, mixed given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header2 with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#3 \\$encodedProtectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects string\\|null, mixed given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkHeaders\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, mixed given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/Component/Signature/Serializer/JSONGeneralSerializer.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkHeaders\\(\\) has parameter \\$protected with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, float\\|int\\<1, max\\> given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/EncryptionAlgorithm/ContentEncryption/AESCBC/AESCBCHS.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkMandatoryHeaderParameters\\(\\) has parameter \\$protected with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, float\\|int\\ given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/EncryptionAlgorithm/KeyEncryption/ECDHES/AbstractECDH.php - - message: "#^Method Jose\\\\Component\\\\Checker\\\\HeaderCheckerManager\\:\\:checkMandatoryHeaderParameters\\(\\) has parameter \\$unprotected with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#" count: 1 - path: src/Component/Checker/HeaderCheckerManager.php + path: src/EncryptionAlgorithm/KeyEncryption/PBES2/PBES2AESKW.php - - message: "#^Invalid type object to throw\\.$#" + message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#" count: 2 - path: src/Component/Checker/IssuerChecker.php - - - - message: "#^Method Jose\\\\Component\\\\Checker\\\\IssuerChecker\\:\\:__construct\\(\\) has parameter \\$issuers with no value type specified in iterable type array\\.$#" - count: 1 - path: src/Component/Checker/IssuerChecker.php + path: src/EncryptionAlgorithm/KeyEncryption/RSA/Util/RSACrypt.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\AddKeyIntoKeysetCommand\\:\\:\\$defaultDescription has no type specified\\.$#" - count: 1 - path: src/Component/Console/AddKeyIntoKeysetCommand.php + message: "#^Variable static method call on Jose\\\\Component\\\\Core\\\\Util\\\\Hash\\.$#" + count: 2 + path: src/EncryptionAlgorithm/KeyEncryption/RSA/Util/RSACrypt.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\AddKeyIntoKeysetCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Parameter \\#1 \\$jwk of method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\KeyAnalyzerManager\\:\\:analyze\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" count: 1 - path: src/Component/Console/AddKeyIntoKeysetCommand.php + path: src/JoseFramework/DataCollector/KeyCollector.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\EcKeyGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\JoseFrameworkExtension\\:\\:getConfiguration\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/EcKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/JoseFrameworkExtension.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\EcKeyGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\JoseFrameworkExtension\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/EcKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/JoseFrameworkExtension.php - - message: "#^Cannot cast mixed to int\\.$#" - count: 1 - path: src/Component/Console/EcKeysetGeneratorCommand.php + message: "#^Parameter \\#1 \\$configs \\(array\\\\) of method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\JoseFrameworkExtension\\:\\:load\\(\\) should be contravariant with parameter \\$configs \\(array\\) of method Symfony\\\\Component\\\\DependencyInjection\\\\Extension\\\\ExtensionInterface\\:\\:load\\(\\)$#" + count: 2 + path: src/JoseFramework/DependencyInjection/JoseFrameworkExtension.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\EcKeysetGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/EcKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/AbstractSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\EcKeysetGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\AbstractSource\\:\\:create\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/EcKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/AbstractSource.php - - message: "#^Method Jose\\\\Component\\\\Console\\\\GeneratorCommand\\:\\:getOptions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/Component/Console/GeneratorCommand.php + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + count: 2 + path: src/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\GetThumbprintCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\CheckerSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/GetThumbprintCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\GetThumbprintCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\CheckerSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/GetThumbprintCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\JKULoaderCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\CheckerSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/JKULoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/CheckerSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\JKULoaderCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/JKULoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\KeyAnalyzerCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\ClaimChecker\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/KeyAnalyzerCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\KeyAnalyzerCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\ClaimChecker\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/KeyAnalyzerCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\KeyFileLoaderCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\ClaimChecker\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/KeyFileLoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/ClaimChecker.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\KeyFileLoaderCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/KeyFileLoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - message: "#^Parameter \\#1 \\$jwk of method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\KeyAnalyzerManager\\:\\:analyze\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\HeaderChecker\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/KeysetAnalyzerCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\HeaderChecker\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/KeysetAnalyzerCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\KeysetAnalyzerCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Checker\\\\HeaderChecker\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/KeysetAnalyzerCommand.php + path: src/JoseFramework/DependencyInjection/Source/Checker/HeaderChecker.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\KeysetAnalyzerCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Console\\\\ConsoleSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/KeysetAnalyzerCommand.php + path: src/JoseFramework/DependencyInjection/Source/Console/ConsoleSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\MergeKeysetCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Console\\\\ConsoleSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/MergeKeysetCommand.php + path: src/JoseFramework/DependencyInjection/Source/Console/ConsoleSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\MergeKeysetCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Console\\\\ConsoleSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/MergeKeysetCommand.php + path: src/JoseFramework/DependencyInjection/Source/Console/ConsoleSource.php - - message: "#^Attribute class Jose\\\\Component\\\\Console\\\\AsCommand does not exist\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Core\\\\CoreSource\\:\\:load\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/NoneKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Core/CoreSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\NoneKeyGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Core\\\\CoreSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/NoneKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Core/CoreSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\NoneKeyGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Core\\\\CoreSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/NoneKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Core/CoreSource.php - - message: "#^Cannot cast mixed to int\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/OctKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OctKeyGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\AbstractEncryptionSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OctKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OctKeyGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\AbstractEncryptionSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OctKeyGeneratorCommand.php - - - - message: "#^Cannot cast mixed to int\\.$#" - count: 2 - path: src/Component/Console/OctKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OctKeysetGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/OctKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OctKeysetGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\A128CTR not found\\.$#" count: 1 - path: src/Component/Console/OctKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OkpKeyGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\Chacha20Poly1305 not found\\.$#" count: 1 - path: src/Component/Console/OkpKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OkpKeyGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:getAlgorithmsFiles\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OkpKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php - - message: "#^Cannot cast mixed to int\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OkpKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OkpKeysetGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OkpKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OkpKeysetGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\EncryptionSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OkpKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/EncryptionSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OptimizeRsaKeyCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWEBuilder\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OptimizeRsaKeyCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWEBuilder.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\OptimizeRsaKeyCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWEDecrypter\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/OptimizeRsaKeyCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWEDecrypter.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\P12CertificateLoaderCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/P12CertificateLoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\P12CertificateLoaderCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWELoader\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/P12CertificateLoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\PemConverterCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWELoader\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/PemConverterCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\PemConverterCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWELoader\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/PemConverterCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWELoader.php - - message: "#^Attribute class Jose\\\\Component\\\\Console\\\\AsCommand does not exist\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/PublicKeyCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\PublicKeyCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWESerializer\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/PublicKeyCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\PublicKeyCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWESerializer\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/PublicKeyCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\PublicKeysetCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Encryption\\\\JWESerializer\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/PublicKeysetCommand.php + path: src/JoseFramework/DependencyInjection/Source/Encryption/JWESerializer.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\PublicKeysetCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/PublicKeysetCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\RotateKeysetCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JKUSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/RotateKeysetCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\RotateKeysetCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JKUSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/RotateKeysetCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php - - message: "#^Cannot cast mixed to int\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JKUSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/RsaKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JKUSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\RsaKeyGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/RsaKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\RsaKeyGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSetSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/RsaKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - message: "#^Cannot cast mixed to int\\.$#" - count: 2 - path: src/Component/Console/RsaKeysetGeneratorCommand.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSetSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\RsaKeysetGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSetSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/RsaKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\RsaKeysetGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/RsaKeysetGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\SecretKeyGeneratorCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/SecretKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\SecretKeyGeneratorCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/SecretKeyGeneratorCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\X509CertificateLoaderCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/X509CertificateLoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\X509CertificateLoaderCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/X509CertificateLoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php - - message: "#^Attribute class Jose\\\\Component\\\\Console\\\\AsCommand does not exist\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/X5ULoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\X5ULoaderCommand\\:\\:\\$defaultDescription has no type specified\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Console/X5ULoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php - - message: "#^Property Jose\\\\Component\\\\Console\\\\X5ULoaderCommand\\:\\:\\$defaultName has no type specified\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Console/X5ULoaderCommand.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - message: "#^Property Jose\\\\Component\\\\Core\\\\AlgorithmManager\\:\\:\\$algorithms type has no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/AlgorithmManager.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php - - message: "#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/AlgorithmManagerFactory.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - message: "#^Property Jose\\\\Component\\\\Core\\\\AlgorithmManagerFactory\\:\\:\\$algorithms type has no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#" count: 1 - path: src/Component/Core/AlgorithmManagerFactory.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWK\\:\\:__construct\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/JWK.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWK\\:\\:all\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/JWK.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWK\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/JWK.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - message: "#^Property Jose\\\\Component\\\\Core\\\\JWK\\:\\:\\$values type has no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/JWK.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - message: "#^Class Jose\\\\Component\\\\Core\\\\JWKSet implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - message: "#^Instanceof between Jose\\\\Component\\\\Core\\\\JWK and Jose\\\\Component\\\\Core\\\\JWK will always evaluate to true\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:convertKeyOpsToKeyUse\\(\\) has parameter \\$key_ops with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKUriSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:createFromKeyData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKUriSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:doesKeySatisfyRestrictions\\(\\) has parameter \\$restrictions with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\JWKUriSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\KeyManagementSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/KeyManagementSource.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:sortKeys\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\KeyManagementSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/KeyManagementSource.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:sortKeys\\(\\) has parameter \\$b with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\KeyManagement\\\\KeyManagementSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/KeyManagement/KeyManagementSource.php - - message: "#^Only numeric types are allowed in \\+, int\\|true given on the right side\\.$#" - count: 2 - path: src/Component/Core/JWKSet.php + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" + count: 1 + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php - - message: "#^Parameter \\#1 \\$values of class Jose\\\\Component\\\\Core\\\\JWK constructor expects array, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedToken\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php - - message: "#^Property Jose\\\\Component\\\\Core\\\\JWKSet\\:\\:\\$keys type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedToken\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/JWKSet.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\Util\\\\ECKey\\:\\:createECKey\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedToken\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/Util/ECKey.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedToken.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\Util\\\\ECKey\\:\\:createECKeyUsingOpenSSL\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/Util/ECKey.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - message: "#^Strict comparison using \\=\\=\\= between '30' and '81' will always evaluate to false\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenBuilder\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/Util/ECSignature.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - message: "#^Method Jose\\\\Component\\\\Core\\\\Util\\\\RSAKey\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenBuilder\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/Util/RSAKey.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - message: "#^Parameter \\#1 \\$number of static method Brick\\\\Math\\\\BigInteger\\:\\:fromBase\\(\\) expects string, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenBuilder\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Core/Util/RSAKey.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - message: "#^Property Jose\\\\Component\\\\Core\\\\Util\\\\RSAKey\\:\\:\\$values type has no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Core/Util/RSAKey.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Compression\\\\CompressionMethodManager\\:\\:__construct\\(\\) has parameter \\$methods with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenLoader\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Compression/CompressionMethodManager.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:__construct\\(\\) has parameter \\$recipients with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenLoader\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWE.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:__construct\\(\\) has parameter \\$sharedHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\NestedToken\\\\NestedTokenLoader\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWE.php + path: src/JoseFramework/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:__construct\\(\\) has parameter \\$sharedProtectedHeader with no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Encryption/JWE.php + path: src/JoseFramework/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:getSharedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\AbstractSignatureSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWE.php + path: src/JoseFramework/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWE\\:\\:getSharedProtectedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\AbstractSignatureSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWE.php + path: src/JoseFramework/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:addRecipient\\(\\) has parameter \\$recipientHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSBuilder\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSBuilder.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:checkAndSetContentEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header1 with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSLoader\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:checkDuplicatedHeaderParameters\\(\\) has parameter \\$header2 with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSLoader\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:determineCEK\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSLoader\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSLoader.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:encryptJWE\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getCompressionMethod\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSSerializer\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getContentEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSSerializer\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKey\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSSerializer\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSSerializer.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKey\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\JWSVerifier\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/JWSVerifier.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:children\\(\\)\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Signature\\\\Algorithm\\\\HS1 not found\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyEncryptionAlgorithm\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:getAlgorithmsFiles\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyWrappingAlgorithm\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getEncryptedKeyFromKeyWrappingAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Signature\\\\SignatureSource\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Signature/SignatureSource.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:getKeyEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Source\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Source.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:processRecipient\\(\\) has parameter \\$additionalHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Source\\:\\:prepend\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Source.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:processRecipient\\(\\) has parameter \\$recipient with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\DependencyInjection\\\\Source\\\\Source\\:\\:prepend\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/DependencyInjection/Source/Source.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:withSharedHeader\\(\\) has parameter \\$sharedHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:__construct\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/Event/ClaimCheckedFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:withSharedProtectedHeader\\(\\) has parameter \\$sharedProtectedHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryClaims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/Event/ClaimCheckedFailureEvent.php - - message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, \\(float\\|int\\) given\\.$#" - count: 2 - path: src/Component/Encryption/JWEBuilder.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:getClaims\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Event/ClaimCheckedFailureEvent.php - - message: "#^Property Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:\\$recipients type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedFailureEvent\\:\\:getMandatoryClaims\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/Event/ClaimCheckedFailureEvent.php - - message: "#^Property Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:\\$sharedHeader type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$checkedClaims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/Event/ClaimCheckedSuccessEvent.php - - message: "#^Property Jose\\\\Component\\\\Encryption\\\\JWEBuilder\\:\\:\\$sharedProtectedHeader type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEBuilder.php + path: src/JoseFramework/Event/ClaimCheckedSuccessEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:checkCompleteHeader\\(\\) has parameter \\$completeHeaders with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryClaims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/ClaimCheckedSuccessEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decompressIfNeeded\\(\\) has parameter \\$completeHeaders with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:getCheckedClaims\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/ClaimCheckedSuccessEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decryptCEK\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:getClaims\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/ClaimCheckedSuccessEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decryptPayload\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\ClaimCheckedSuccessEvent\\:\\:getMandatoryClaims\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/ClaimCheckedSuccessEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:getContentEncryptionAlgorithm\\(\\) has parameter \\$completeHeader with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedFailureEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryHeaderParameters with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/HeaderCheckedFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:getKeyEncryptionAlgorithm\\(\\) has parameter \\$completeHeaders with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedFailureEvent\\:\\:getMandatoryHeaderParameters\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/HeaderCheckedFailureEvent.php - - message: "#^Parameter \\#1 \\$key of static method Jose\\\\Component\\\\Core\\\\Util\\\\KeyChecker\\:\\:checkKeyAlgorithm\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" - count: 2 - path: src/Component/Encryption/JWEDecrypter.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedSuccessEvent\\:\\:__construct\\(\\) has parameter \\$mandatoryHeaderParameters with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Event/HeaderCheckedSuccessEvent.php - - message: "#^Parameter \\#1 \\$key of static method Jose\\\\Component\\\\Core\\\\Util\\\\KeyChecker\\:\\:checkKeyUsage\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\HeaderCheckedSuccessEvent\\:\\:getMandatoryHeaderParameters\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/HeaderCheckedSuccessEvent.php - - message: "#^Parameter \\#3 \\$recipientKey of method Jose\\\\Component\\\\Encryption\\\\JWEDecrypter\\:\\:decryptCEK\\(\\) expects Jose\\\\Component\\\\Core\\\\JWK, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$recipients with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWEDecrypter.php + path: src/JoseFramework/Event/JWEBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$sharedHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWELoaderFactory.php + path: src/JoseFramework/Event/JWEBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$sharedProtectedHeader with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWELoaderFactory.php + path: src/JoseFramework/Event/JWEBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$headerCheckers with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:getRecipients\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWELoaderFactory.php + path: src/JoseFramework/Event/JWEBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:getSharedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWELoaderFactory.php + path: src/JoseFramework/Event/JWEBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$serializers with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWEBuiltFailureEvent\\:\\:getSharedProtectedHeader\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/JWELoaderFactory.php + path: src/JoseFramework/Event/JWEBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Recipient\\:\\:__construct\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWSBuiltFailureEvent\\:\\:__construct\\(\\) has parameter \\$signatures with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Recipient.php + path: src/JoseFramework/Event/JWSBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Recipient\\:\\:getHeader\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Event\\\\JWSBuiltFailureEvent\\:\\:getSignatures\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Recipient.php + path: src/JoseFramework/Event/JWSBuiltFailureEvent.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONFlattenedSerializer\\:\\:checkData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addClaimChecker\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONFlattenedSerializer\\:\\:processHeaders\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addHeaderChecker\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONFlattenedSerializer\\:\\:processHeaders\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" - count: 3 - path: src/Component/Encryption/Serializer/JSONFlattenedSerializer.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:checkData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$keyEncryptionAlgorithm with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processHeaders\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEBuilder\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processHeaders\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processRecipient\\(\\) has parameter \\$recipient with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\Encryption\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processRecipient\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$keyEncryptionAlgorithm with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" - count: 3 - path: src/Component/Encryption/Serializer/JSONGeneralSerializer.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWEDecrypter\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\Message\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWELoader\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/Analyzer/Message.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Class Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\MessageBag implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWESerializer\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/Analyzer/MessageBag.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\Analyzer\\\\MessageBag\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSBuilder\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/Analyzer/MessageBag.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Cannot call method get\\(\\) on mixed\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSLoader\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/Analyzer/MixedKeyTypes.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Cannot call method get\\(\\) on mixed\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSSerializer\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Cannot call method has\\(\\) on mixed\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addJWSVerifier\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" - count: 2 - path: src/Component/KeyManagement/Analyzer/UsageAnalyzer.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKey\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JKUFactory\\:\\:loadFromUrl\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKey\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JKUFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromCertificate\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyUri\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromCertificateFile\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyUri\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromKey\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyset\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromKeyFile\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addKeyset\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromPKCS12CertificateFile\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addNestedTokenBuilder\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromSecret\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:addNestedTokenLoader\\(\\) has parameter \\$tags with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromValues\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Helper\\\\ConfigurationHelper\\:\\:updateJoseConfiguration\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromX509Resource\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Helper/ConfigurationHelper.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromX5C\\(\\) has parameter \\$additional_values with no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A128CCM_16_128 not found\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromX5C\\(\\) has parameter \\$x5c with no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A128CCM_16_64 not found\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Parameter \\#1 \\$key of static method Jose\\\\Component\\\\KeyManagement\\\\JWKFactory\\:\\:createFromKey\\(\\) expects string, mixed given\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A128CCM_64_128 not found\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, \\(float\\|int\\) given\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A128CCM_64_64 not found\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, float\\|int\\ given\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A256CCM_16_128 not found\\.$#" count: 1 - path: src/Component/KeyManagement/JWKFactory.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A256CCM_16_64 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/ECKey.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:getSupportedCurves\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A256CCM_64_128 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/ECKey.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:loadJWK\\(\\) has parameter \\$jwk with no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\ContentEncryption\\\\A256CCM_64_64 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/ECKey.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:loadPEM\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\A128CTR not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/ECKey.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\A192CTR not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/ECKey.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Property Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\ECKey\\:\\:\\$values type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\A256CTR not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/ECKey.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromKey\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\RSAOAEP384 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromKeyFile\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\RSAOAEP512 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromX5C\\(\\) has parameter \\$x5c with no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Encryption\\\\Algorithm\\\\KeyEncryption\\\\Chacha20Poly1305 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/encryption_experimental_chacha20_poly1305.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadFromX5C\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Signature\\\\Algorithm\\\\Blake2b not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/signature_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromCertificate\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Signature\\\\Algorithm\\\\ES256K not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/signature_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromCertificateFile\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Signature\\\\Algorithm\\\\HS1 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/signature_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromDER\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Signature\\\\Algorithm\\\\HS256_64 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/signature_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromPEM\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Component\\\\Signature\\\\Algorithm\\\\RS1 not found\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Resources/config/Algorithms/signature_experimental.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromX509Resource\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Class Jose\\\\Bundle\\\\JoseFramework\\\\Routing\\\\JWKSetLoader has an uninitialized property \\$resolver\\. Give it default value or assign it in the constructor\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Routing/JWKSetLoader.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:tryToLoadECKey\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:decode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Serializer/JWEEncoder.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:tryToLoadOtherKeyTypes\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:encode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Serializer/JWEEncoder.php - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|null given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:getRecipientIndex\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/KeyConverter.php + path: src/JoseFramework/Serializer/JWEEncoder.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:supportsDecoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/RSAKey.php + path: src/JoseFramework/Serializer/JWEEncoder.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:createFromKeyDetails\\(\\) has parameter \\$details with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWEEncoder\\:\\:supportsEncoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/RSAKey.php + path: src/JoseFramework/Serializer/JWEEncoder.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:loadJWK\\(\\) has parameter \\$jwk with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWESerializer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/RSAKey.php + path: src/JoseFramework/Serializer/JWESerializer.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWESerializer\\:\\:getSupportedTypes\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/RSAKey.php + path: src/JoseFramework/Serializer/JWESerializer.php - - message: "#^Parameter \\#1 \\$details of static method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:createFromKeyDetails\\(\\) expects array, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWESerializer\\:\\:supportsDenormalization\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/RSAKey.php + path: src/JoseFramework/Serializer/JWESerializer.php - - message: "#^Property Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\RSAKey\\:\\:\\$values type has no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:decode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/KeyConverter/RSAKey.php + path: src/JoseFramework/Serializer/JWSEncoder.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\UrlKeySetFactory\\:\\:getContent\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:encode\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/UrlKeySetFactory.php + path: src/JoseFramework/Serializer/JWSEncoder.php - - message: "#^Cannot cast mixed to string\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:getSignatureIndex\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/X5UFactory.php + path: src/JoseFramework/Serializer/JWSEncoder.php - - message: "#^Method Jose\\\\Component\\\\KeyManagement\\\\X5UFactory\\:\\:loadFromUrl\\(\\) has parameter \\$header with no value type specified in iterable type array\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:supportsDecoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/X5UFactory.php + path: src/JoseFramework/Serializer/JWSEncoder.php - - message: "#^Parameter \\#1 \\$certificate of static method Jose\\\\Component\\\\KeyManagement\\\\KeyConverter\\\\KeyConverter\\:\\:loadKeyFromCertificate\\(\\) expects string, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSEncoder\\:\\:supportsEncoding\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/KeyManagement/X5UFactory.php + path: src/JoseFramework/Serializer/JWSEncoder.php - - message: "#^Call to function array_key_exists\\(\\) with 'key' and array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, header\\?\\: array\\\\} will always evaluate to true\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSSerializer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/NestedToken/NestedTokenBuilder.php + path: src/JoseFramework/Serializer/JWSSerializer.php - - message: "#^Call to function array_key_exists\\(\\) with 'key' and array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, protected_header\\?\\: array\\, header\\?\\: array\\\\} will always evaluate to true\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSSerializer\\:\\:getSupportedTypes\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/NestedToken/NestedTokenBuilder.php + path: src/JoseFramework/Serializer/JWSSerializer.php - - message: "#^Call to function is_array\\(\\) with array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, header\\?\\: array\\\\} will always evaluate to true\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Serializer\\\\JWSSerializer\\:\\:supportsDenormalization\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/NestedToken/NestedTokenBuilder.php + path: src/JoseFramework/Serializer/JWSSerializer.php - - message: "#^Call to function is_array\\(\\) with array\\{key\\: Jose\\\\Component\\\\Core\\\\JWK, protected_header\\?\\: array\\, header\\?\\: array\\\\} will always evaluate to true\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\ClaimCheckerManager\\:\\:check\\(\\) has parameter \\$claims with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/NestedToken/NestedTokenBuilder.php + path: src/JoseFramework/Services/ClaimCheckerManager.php - - message: "#^Result of \\|\\| is always false\\.$#" - count: 2 - path: src/Component/NestedToken/NestedTokenBuilder.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\ClaimCheckerManager\\:\\:check\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Services/ClaimCheckerManager.php - - message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWEDecrypterFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/JWS.php + path: src/JoseFramework/Services/JWEDecrypterFactory.php - - message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWEDecrypterFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/JWS.php + path: src/JoseFramework/Services/JWEDecrypterFactory.php - - message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWEDecrypterFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/JWSBuilder.php + path: src/JoseFramework/Services/JWEDecrypterFactory.php - - message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array\\ given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/JWSBuilder.php + path: src/JoseFramework/Services/JWELoaderFactory.php - - message: "#^Parameter \\#1 \\$algorithm of method Jose\\\\Component\\\\Core\\\\AlgorithmManager\\:\\:get\\(\\) expects string, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/JWSVerifier.php + path: src/JoseFramework/Services/JWELoaderFactory.php - - message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$headerCheckers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/JWSVerifier.php + path: src/JoseFramework/Services/JWELoaderFactory.php - - message: "#^Parameter \\#1 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\Serializer\\:\\:isPayloadEncoded\\(\\) expects array\\, array given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/CompactSerializer.php + path: src/JoseFramework/Services/JWELoaderFactory.php - - message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWELoaderFactory\\:\\:create\\(\\) has parameter \\$serializers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/CompactSerializer.php + path: src/JoseFramework/Services/JWELoaderFactory.php - - message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSLoaderFactory\\:\\:create\\(\\) has parameter \\$algorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php + path: src/JoseFramework/Services/JWSLoaderFactory.php - - message: "#^Parameter \\#1 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\Serializer\\:\\:isPayloadEncoded\\(\\) expects array\\, array given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSLoaderFactory\\:\\:create\\(\\) has parameter \\$headerCheckers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php + path: src/JoseFramework/Services/JWSLoaderFactory.php - - message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSLoaderFactory\\:\\:create\\(\\) has parameter \\$serializers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php + path: src/JoseFramework/Services/JWSLoaderFactory.php - - message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, array given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\JWSVerifierFactory\\:\\:create\\(\\) has parameter \\$algorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONFlattenedSerializer.php + path: src/JoseFramework/Services/JWSVerifierFactory.php - - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenBuilderFactory.php - - message: "#^Cannot access offset 'signature' on mixed\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenBuilderFactory.php - - message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$jwe_serializers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenBuilderFactory.php - - message: "#^Parameter \\#1 \\$signature of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processHeaders\\(\\) expects array\\{protected\\?\\: string, header\\?\\: array\\\\}, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$jws_serializers with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenBuilderFactory.php - - message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenBuilderFactory.php - - message: "#^Parameter \\#2 \\$protectedHeader of method Jose\\\\Component\\\\Signature\\\\Serializer\\\\JSONGeneralSerializer\\:\\:processIsPayloadEncoded\\(\\) expects array\\, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenBuilderFactory\\:\\:create\\(\\) has parameter \\$signatureAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenBuilderFactory.php - - message: "#^Parameter \\#3 \\$encodedProtectedHeader of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects string\\|null, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$compressionMethods with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - - message: "#^Parameter \\#4 \\$header of method Jose\\\\Component\\\\Signature\\\\JWS\\:\\:addSignature\\(\\) expects array\\{alg\\?\\: string, string\\?\\: mixed\\}, mixed given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$contentEncryptionAlgorithms with no value type specified in iterable type array\\.$#" count: 1 - path: src/Component/Signature/Serializer/JSONGeneralSerializer.php + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - - message: "#^Binary operation \"\\^\" between string and 1 results in an error\\.$#" - count: 2 - path: src/Ecc/Curve.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jweHeaderCheckers with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - - message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, float\\|int\\<1, max\\> given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jweSerializers with no value type specified in iterable type array\\.$#" count: 1 - path: src/EncryptionAlgorithm/ContentEncryption/AESCBC/AESCBCHS.php + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - - message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, float\\|int\\ given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jwsHeaderCheckers with no value type specified in iterable type array\\.$#" count: 1 - path: src/EncryptionAlgorithm/KeyEncryption/ECDHES/AbstractECDH.php + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - - message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#" + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$jwsSerializers with no value type specified in iterable type array\\.$#" count: 1 - path: src/EncryptionAlgorithm/KeyEncryption/PBES2/PBES2AESKW.php + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - - message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#" - count: 2 - path: src/EncryptionAlgorithm/KeyEncryption/RSA/Util/RSACrypt.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$keyEncryptionAlgorithms with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - - message: "#^Variable static method call on Jose\\\\Component\\\\Core\\\\Util\\\\Hash\\.$#" - count: 2 - path: src/EncryptionAlgorithm/KeyEncryption/RSA/Util/RSACrypt.php + message: "#^Method Jose\\\\Bundle\\\\JoseFramework\\\\Services\\\\NestedTokenLoaderFactory\\:\\:create\\(\\) has parameter \\$signatureAlgorithms with no value type specified in iterable type array\\.$#" + count: 1 + path: src/JoseFramework/Services/NestedTokenLoaderFactory.php - message: "#^Strict comparison using \\=\\=\\= between non\\-empty\\-string and '' will always evaluate to false\\.$#" diff --git a/rector.php b/rector.php index f3066104..b06b2a09 100644 --- a/rector.php +++ b/rector.php @@ -3,7 +3,6 @@ declare(strict_types=1); use Rector\Config\RectorConfig; -use Rector\Core\ValueObject\PhpVersion; use Rector\Doctrine\Set\DoctrineSetList; use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector; use Rector\PHPUnit\Set\PHPUnitLevelSetList; @@ -12,6 +11,7 @@ use Rector\Set\ValueObject\SetList; use Rector\Symfony\Set\SymfonyLevelSetList; use Rector\Symfony\Set\SymfonySetList; +use Rector\ValueObject\PhpVersion; return static function (RectorConfig $config): void { $config->import(SetList::DEAD_CODE); diff --git a/src/Component/Checker/LICENSE b/src/Component/Checker/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Component/Checker/LICENSE +++ b/src/Component/Checker/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Component/Console/LICENSE b/src/Component/Console/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Component/Console/LICENSE +++ b/src/Component/Console/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Component/Core/LICENSE b/src/Component/Core/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Component/Core/LICENSE +++ b/src/Component/Core/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Component/Core/Util/ECSignature.php b/src/Component/Core/Util/ECSignature.php index 1d6ac0aa..4ca1c0c1 100644 --- a/src/Component/Core/Util/ECSignature.php +++ b/src/Component/Core/Util/ECSignature.php @@ -73,7 +73,9 @@ public static function fromAsn1(string $signature, int $length): string $pointR = self::retrievePositiveInteger(self::readAsn1Integer($message, $position)); $pointS = self::retrievePositiveInteger(self::readAsn1Integer($message, $position)); - $bin = hex2bin(str_pad($pointR, $length, '0', STR_PAD_LEFT) . str_pad($pointS, $length, '0', STR_PAD_LEFT)); + $bin = hex2bin( + str_pad($pointR, $length, '0', STR_PAD_LEFT) . str_pad($pointS, $length, '0', STR_PAD_LEFT) + ); if (! is_string($bin)) { throw new InvalidArgumentException('Unable to parse the data'); } diff --git a/src/Ecc/Curve.php b/src/Component/Core/Util/Ecc/Curve.php similarity index 100% rename from src/Ecc/Curve.php rename to src/Component/Core/Util/Ecc/Curve.php diff --git a/src/Ecc/EcDH.php b/src/Component/Core/Util/Ecc/EcDH.php similarity index 100% rename from src/Ecc/EcDH.php rename to src/Component/Core/Util/Ecc/EcDH.php diff --git a/src/Ecc/Math.php b/src/Component/Core/Util/Ecc/Math.php similarity index 100% rename from src/Ecc/Math.php rename to src/Component/Core/Util/Ecc/Math.php diff --git a/src/Ecc/ModularArithmetic.php b/src/Component/Core/Util/Ecc/ModularArithmetic.php similarity index 100% rename from src/Ecc/ModularArithmetic.php rename to src/Component/Core/Util/Ecc/ModularArithmetic.php diff --git a/src/Ecc/NistCurve.php b/src/Component/Core/Util/Ecc/NistCurve.php similarity index 100% rename from src/Ecc/NistCurve.php rename to src/Component/Core/Util/Ecc/NistCurve.php diff --git a/src/Ecc/Point.php b/src/Component/Core/Util/Ecc/Point.php similarity index 100% rename from src/Ecc/Point.php rename to src/Component/Core/Util/Ecc/Point.php diff --git a/src/Ecc/PrivateKey.php b/src/Component/Core/Util/Ecc/PrivateKey.php similarity index 100% rename from src/Ecc/PrivateKey.php rename to src/Component/Core/Util/Ecc/PrivateKey.php diff --git a/src/Ecc/PublicKey.php b/src/Component/Core/Util/Ecc/PublicKey.php similarity index 100% rename from src/Ecc/PublicKey.php rename to src/Component/Core/Util/Ecc/PublicKey.php diff --git a/src/Component/Core/composer.json b/src/Component/Core/composer.json index be8dea79..dbbeb81c 100644 --- a/src/Component/Core/composer.json +++ b/src/Component/Core/composer.json @@ -47,5 +47,9 @@ }, "conflict": { "spomky-labs/jose": "*" + }, + "suggest": { + "ext-gmp": "GMP or BCMath is highly recommended to improve the library performance", + "ext-bcmath": "GMP or BCMath is highly recommended to improve the library performance" } } diff --git a/src/Component/Encryption/LICENSE b/src/Component/Encryption/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Component/Encryption/LICENSE +++ b/src/Component/Encryption/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Component/KeyManagement/Analyzer/ESKeyAnalyzer.php b/src/Component/KeyManagement/Analyzer/ESKeyAnalyzer.php index 13d1275b..2c003861 100644 --- a/src/Component/KeyManagement/Analyzer/ESKeyAnalyzer.php +++ b/src/Component/KeyManagement/Analyzer/ESKeyAnalyzer.php @@ -7,20 +7,11 @@ use Brick\Math\BigInteger; use Jose\Component\Core\JWK; use Jose\Component\Core\Util\Ecc\Curve; -use Jose\Component\Core\Util\Ecc\NistCurve; use ParagonIE\ConstantTime\Base64UrlSafe; -use RuntimeException; use function is_string; abstract class ESKeyAnalyzer implements KeyAnalyzer { - public function __construct() - { - if (! class_exists(NistCurve::class)) { - throw new RuntimeException('Please install web-token/jwt-util-ecc to use this key analyzer'); - } - } - public function analyze(JWK $jwk, MessageBag $bag): void { if ($jwk->get('kty') !== 'EC') { diff --git a/src/Component/KeyManagement/LICENSE b/src/Component/KeyManagement/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Component/KeyManagement/LICENSE +++ b/src/Component/KeyManagement/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Component/KeyManagement/composer.json b/src/Component/KeyManagement/composer.json index 87144a63..22c1128d 100644 --- a/src/Component/KeyManagement/composer.json +++ b/src/Component/KeyManagement/composer.json @@ -46,7 +46,6 @@ }, "suggest": { "ext-sodium": "Sodium is required for OKP key creation, EdDSA signature algorithm and ECDH-ES key encryption with OKP keys", - "web-token/jwt-util-ecc": "To use EC key analyzers.", "php-http/message-factory": "To enable JKU/X5U support.", "php-http/httplug": "To enable JKU/X5U support." } diff --git a/src/Component/NestedToken/LICENSE b/src/Component/NestedToken/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Component/NestedToken/LICENSE +++ b/src/Component/NestedToken/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Component/Signature/LICENSE b/src/Component/Signature/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Component/Signature/LICENSE +++ b/src/Component/Signature/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Ecc/LICENSE b/src/Ecc/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Ecc/LICENSE +++ b/src/Ecc/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Ecc/composer.json b/src/Ecc/composer.json index d6e36e60..7588a392 100644 --- a/src/Ecc/composer.json +++ b/src/Ecc/composer.json @@ -1,6 +1,6 @@ { "name": "web-token/jwt-util-ecc", - "description": "ECC Tools for the JWT Framework.", + "description": "[DEPRECATED] Please use web-token/jwt-core instead.", "type": "library", "license": "MIT", "keywords": [ @@ -32,17 +32,7 @@ "homepage": "https://github.com/web-token/jwt-framework/contributors" } ], - "autoload": { - "psr-4": { - "Jose\\Component\\Core\\Util\\Ecc\\": "" - } - }, "require": { - "php": ">=8.1", - "brick/math": "^0.9|^0.10|^0.11|^0.12" - }, - "suggest": { - "ext-gmp": "GMP or BCMath is highly recommended to improve the library performance", - "ext-bcmath": "GMP or BCMath is highly recommended to improve the library performance" + "web-token/jwt-core": "^3.3" } } diff --git a/src/EncryptionAlgorithm/ContentEncryption/AESCBC/LICENSE b/src/EncryptionAlgorithm/ContentEncryption/AESCBC/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/ContentEncryption/AESCBC/LICENSE +++ b/src/EncryptionAlgorithm/ContentEncryption/AESCBC/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/ContentEncryption/AESGCM/LICENSE b/src/EncryptionAlgorithm/ContentEncryption/AESGCM/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/ContentEncryption/AESGCM/LICENSE +++ b/src/EncryptionAlgorithm/ContentEncryption/AESGCM/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/Experimental/LICENSE b/src/EncryptionAlgorithm/Experimental/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/Experimental/LICENSE +++ b/src/EncryptionAlgorithm/Experimental/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/KeyEncryption/AESGCMKW/LICENSE b/src/EncryptionAlgorithm/KeyEncryption/AESGCMKW/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/KeyEncryption/AESGCMKW/LICENSE +++ b/src/EncryptionAlgorithm/KeyEncryption/AESGCMKW/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/KeyEncryption/AESKW/LICENSE b/src/EncryptionAlgorithm/KeyEncryption/AESKW/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/KeyEncryption/AESKW/LICENSE +++ b/src/EncryptionAlgorithm/KeyEncryption/AESKW/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/KeyEncryption/Direct/LICENSE b/src/EncryptionAlgorithm/KeyEncryption/Direct/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/KeyEncryption/Direct/LICENSE +++ b/src/EncryptionAlgorithm/KeyEncryption/Direct/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/KeyEncryption/ECDHES/LICENSE b/src/EncryptionAlgorithm/KeyEncryption/ECDHES/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/KeyEncryption/ECDHES/LICENSE +++ b/src/EncryptionAlgorithm/KeyEncryption/ECDHES/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/KeyEncryption/ECDHES/composer.json b/src/EncryptionAlgorithm/KeyEncryption/ECDHES/composer.json index 127f460b..cc627fc5 100644 --- a/src/EncryptionAlgorithm/KeyEncryption/ECDHES/composer.json +++ b/src/EncryptionAlgorithm/KeyEncryption/ECDHES/composer.json @@ -45,6 +45,6 @@ "ext-openssl": "*", "spomky-labs/aes-key-wrap": "^7.0", "web-token/jwt-encryption": "^3.2", - "web-token/jwt-util-ecc": "^3.2" + "web-token/jwt-core": "^3.3" } } diff --git a/src/EncryptionAlgorithm/KeyEncryption/PBES2/LICENSE b/src/EncryptionAlgorithm/KeyEncryption/PBES2/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/KeyEncryption/PBES2/LICENSE +++ b/src/EncryptionAlgorithm/KeyEncryption/PBES2/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/EncryptionAlgorithm/KeyEncryption/RSA/LICENSE b/src/EncryptionAlgorithm/KeyEncryption/RSA/LICENSE index 37cf976b..5ab75060 100644 --- a/src/EncryptionAlgorithm/KeyEncryption/RSA/LICENSE +++ b/src/EncryptionAlgorithm/KeyEncryption/RSA/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Experimental/LICENSE b/src/Experimental/LICENSE index 37cf976b..5ab75060 100644 --- a/src/Experimental/LICENSE +++ b/src/Experimental/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Experimental/Signature/RS1.php b/src/Experimental/Signature/RS1.php index 7209418c..a8cc7b91 100644 --- a/src/Experimental/Signature/RS1.php +++ b/src/Experimental/Signature/RS1.php @@ -4,7 +4,7 @@ namespace Jose\Experimental\Signature; -use Jose\Experimental\RSAPKCS1; +use Jose\Component\Signature\Algorithm\RSAPKCS1; final class RS1 extends RSAPKCS1 { diff --git a/src/JoseFramework/LICENSE b/src/JoseFramework/LICENSE index 37cf976b..5ab75060 100644 --- a/src/JoseFramework/LICENSE +++ b/src/JoseFramework/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_aescbc.php b/src/JoseFramework/Resources/config/Algorithms/encryption_aescbc.php index 12b461b4..0cdb60f7 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_aescbc.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_aescbc.php @@ -5,15 +5,6 @@ use Jose\Component\Encryption\Algorithm\ContentEncryption\A128CBCHS256; use Jose\Component\Encryption\Algorithm\ContentEncryption\A192CBCHS384; use Jose\Component\Encryption\Algorithm\ContentEncryption\A256CBCHS512; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcm.php b/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcm.php index 9a686292..ae4b659d 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcm.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcm.php @@ -5,15 +5,6 @@ use Jose\Component\Encryption\Algorithm\ContentEncryption\A128GCM; use Jose\Component\Encryption\Algorithm\ContentEncryption\A192GCM; use Jose\Component\Encryption\Algorithm\ContentEncryption\A256GCM; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcmkw.php b/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcmkw.php index 76f2601c..e31bcb97 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcmkw.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_aesgcmkw.php @@ -5,15 +5,6 @@ use Jose\Component\Encryption\Algorithm\KeyEncryption\A128GCMKW; use Jose\Component\Encryption\Algorithm\KeyEncryption\A192GCMKW; use Jose\Component\Encryption\Algorithm\KeyEncryption\A256GCMKW; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_aeskw.php b/src/JoseFramework/Resources/config/Algorithms/encryption_aeskw.php index 71b171f7..626c3bcf 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_aeskw.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_aeskw.php @@ -5,15 +5,6 @@ use Jose\Component\Encryption\Algorithm\KeyEncryption\A128KW; use Jose\Component\Encryption\Algorithm\KeyEncryption\A192KW; use Jose\Component\Encryption\Algorithm\KeyEncryption\A256KW; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_dir.php b/src/JoseFramework/Resources/config/Algorithms/encryption_dir.php index 9acf0534..4e77f0c3 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_dir.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_dir.php @@ -3,15 +3,6 @@ declare(strict_types=1); use Jose\Component\Encryption\Algorithm\KeyEncryption\Dir; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_ecdhes.php b/src/JoseFramework/Resources/config/Algorithms/encryption_ecdhes.php index 4d7b587c..3824854c 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_ecdhes.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_ecdhes.php @@ -10,15 +10,6 @@ use Jose\Component\Encryption\Algorithm\KeyEncryption\ECDHSSA128KW; use Jose\Component\Encryption\Algorithm\KeyEncryption\ECDHSSA192KW; use Jose\Component\Encryption\Algorithm\KeyEncryption\ECDHSSA256KW; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php b/src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php index f872ce64..9fae6661 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_experimental.php @@ -15,15 +15,6 @@ use Jose\Component\Encryption\Algorithm\KeyEncryption\A256CTR; use Jose\Component\Encryption\Algorithm\KeyEncryption\RSAOAEP384; use Jose\Component\Encryption\Algorithm\KeyEncryption\RSAOAEP512; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; /* diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_experimental_chacha20_poly1305.php b/src/JoseFramework/Resources/config/Algorithms/encryption_experimental_chacha20_poly1305.php index baeafde4..db0dee1a 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_experimental_chacha20_poly1305.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_experimental_chacha20_poly1305.php @@ -3,15 +3,6 @@ declare(strict_types=1); use Jose\Component\Encryption\Algorithm\KeyEncryption\Chacha20Poly1305; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; /* diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_pbes2.php b/src/JoseFramework/Resources/config/Algorithms/encryption_pbes2.php index 124bef64..3e821684 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_pbes2.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_pbes2.php @@ -5,15 +5,6 @@ use Jose\Component\Encryption\Algorithm\KeyEncryption\PBES2HS256A128KW; use Jose\Component\Encryption\Algorithm\KeyEncryption\PBES2HS384A192KW; use Jose\Component\Encryption\Algorithm\KeyEncryption\PBES2HS512A256KW; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/encryption_rsa.php b/src/JoseFramework/Resources/config/Algorithms/encryption_rsa.php index 7b40407d..e9f9d117 100644 --- a/src/JoseFramework/Resources/config/Algorithms/encryption_rsa.php +++ b/src/JoseFramework/Resources/config/Algorithms/encryption_rsa.php @@ -5,15 +5,6 @@ use Jose\Component\Encryption\Algorithm\KeyEncryption\RSA15; use Jose\Component\Encryption\Algorithm\KeyEncryption\RSAOAEP; use Jose\Component\Encryption\Algorithm\KeyEncryption\RSAOAEP256; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/signature_ecdsa.php b/src/JoseFramework/Resources/config/Algorithms/signature_ecdsa.php index d3ccb9c6..fdbac900 100644 --- a/src/JoseFramework/Resources/config/Algorithms/signature_ecdsa.php +++ b/src/JoseFramework/Resources/config/Algorithms/signature_ecdsa.php @@ -5,15 +5,6 @@ use Jose\Component\Signature\Algorithm\ES256; use Jose\Component\Signature\Algorithm\ES384; use Jose\Component\Signature\Algorithm\ES512; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/signature_eddsa.php b/src/JoseFramework/Resources/config/Algorithms/signature_eddsa.php index 5dcb0dee..a7a568ad 100644 --- a/src/JoseFramework/Resources/config/Algorithms/signature_eddsa.php +++ b/src/JoseFramework/Resources/config/Algorithms/signature_eddsa.php @@ -3,15 +3,6 @@ declare(strict_types=1); use Jose\Component\Signature\Algorithm\EdDSA; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/signature_experimental.php b/src/JoseFramework/Resources/config/Algorithms/signature_experimental.php index 79395a83..7517626e 100644 --- a/src/JoseFramework/Resources/config/Algorithms/signature_experimental.php +++ b/src/JoseFramework/Resources/config/Algorithms/signature_experimental.php @@ -7,15 +7,6 @@ use Jose\Component\Signature\Algorithm\HS1; use Jose\Component\Signature\Algorithm\HS256_64; use Jose\Component\Signature\Algorithm\RS1; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; /* diff --git a/src/JoseFramework/Resources/config/Algorithms/signature_hmac.php b/src/JoseFramework/Resources/config/Algorithms/signature_hmac.php index e5189a4b..f88eb4e4 100644 --- a/src/JoseFramework/Resources/config/Algorithms/signature_hmac.php +++ b/src/JoseFramework/Resources/config/Algorithms/signature_hmac.php @@ -5,15 +5,6 @@ use Jose\Component\Signature\Algorithm\HS256; use Jose\Component\Signature\Algorithm\HS384; use Jose\Component\Signature\Algorithm\HS512; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/signature_none.php b/src/JoseFramework/Resources/config/Algorithms/signature_none.php index 956c3a22..0417e986 100644 --- a/src/JoseFramework/Resources/config/Algorithms/signature_none.php +++ b/src/JoseFramework/Resources/config/Algorithms/signature_none.php @@ -3,15 +3,6 @@ declare(strict_types=1); use Jose\Component\Signature\Algorithm\None; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/Algorithms/signature_rsa.php b/src/JoseFramework/Resources/config/Algorithms/signature_rsa.php index 1a4ba593..a0fd7106 100644 --- a/src/JoseFramework/Resources/config/Algorithms/signature_rsa.php +++ b/src/JoseFramework/Resources/config/Algorithms/signature_rsa.php @@ -8,15 +8,6 @@ use Jose\Component\Signature\Algorithm\RS256; use Jose\Component\Signature\Algorithm\RS384; use Jose\Component\Signature\Algorithm\RS512; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/analyzers.php b/src/JoseFramework/Resources/config/analyzers.php index fc244844..2f2cdec3 100644 --- a/src/JoseFramework/Resources/config/analyzers.php +++ b/src/JoseFramework/Resources/config/analyzers.php @@ -18,15 +18,6 @@ use Jose\Component\KeyManagement\Analyzer\NoneAnalyzer; use Jose\Component\KeyManagement\Analyzer\OctAnalyzer; use Jose\Component\KeyManagement\Analyzer\UsageAnalyzer; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Jose\Component\KeyManagement\Analyzer\ZxcvbnKeyAnalyzer; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use ZxcvbnPhp\Zxcvbn; diff --git a/src/JoseFramework/Resources/config/checkers.php b/src/JoseFramework/Resources/config/checkers.php index b961bc87..568db5f5 100644 --- a/src/JoseFramework/Resources/config/checkers.php +++ b/src/JoseFramework/Resources/config/checkers.php @@ -11,15 +11,6 @@ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use function Symfony\Component\DependencyInjection\Loader\Configurator\service; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - return function (ContainerConfigurator $container): void { $container = $container->services() ->defaults() diff --git a/src/JoseFramework/Resources/config/commands.php b/src/JoseFramework/Resources/config/commands.php index 5e20ed39..85f78a03 100644 --- a/src/JoseFramework/Resources/config/commands.php +++ b/src/JoseFramework/Resources/config/commands.php @@ -25,15 +25,6 @@ use Jose\Component\Console\RsaKeysetGeneratorCommand; use Jose\Component\Console\SecretKeyGeneratorCommand; use Jose\Component\Console\X509CertificateLoaderCommand; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/compression_methods.php b/src/JoseFramework/Resources/config/compression_methods.php index b97120bb..b98fd4d9 100644 --- a/src/JoseFramework/Resources/config/compression_methods.php +++ b/src/JoseFramework/Resources/config/compression_methods.php @@ -4,15 +4,6 @@ use Jose\Component\Encryption\Compression\CompressionMethodManagerFactory; use Jose\Component\Encryption\Compression\Deflate; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/dev_services.php b/src/JoseFramework/Resources/config/dev_services.php index 5999961d..d36fc938 100644 --- a/src/JoseFramework/Resources/config/dev_services.php +++ b/src/JoseFramework/Resources/config/dev_services.php @@ -8,15 +8,6 @@ use Jose\Bundle\JoseFramework\DataCollector\JWECollector; use Jose\Bundle\JoseFramework\DataCollector\JWSCollector; use Jose\Bundle\JoseFramework\DataCollector\KeyCollector; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/env_var.php b/src/JoseFramework/Resources/config/env_var.php index 7d006cd9..2fda0b76 100644 --- a/src/JoseFramework/Resources/config/env_var.php +++ b/src/JoseFramework/Resources/config/env_var.php @@ -3,15 +3,6 @@ declare(strict_types=1); use Jose\Bundle\JoseFramework\EnvVarProcessor\KeyEnvVarProcessor; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/jku_commands.php b/src/JoseFramework/Resources/config/jku_commands.php index d0dc942c..41c7901e 100644 --- a/src/JoseFramework/Resources/config/jku_commands.php +++ b/src/JoseFramework/Resources/config/jku_commands.php @@ -4,15 +4,6 @@ use Jose\Component\Console\JKULoaderCommand; use Jose\Component\Console\X5ULoaderCommand; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/jku_source.php b/src/JoseFramework/Resources/config/jku_source.php index c7f5b10a..36ca5ead 100644 --- a/src/JoseFramework/Resources/config/jku_source.php +++ b/src/JoseFramework/Resources/config/jku_source.php @@ -4,15 +4,6 @@ use Jose\Component\KeyManagement\JKUFactory; use Jose\Component\KeyManagement\X5UFactory; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use function Symfony\Component\DependencyInjection\Loader\Configurator\service; diff --git a/src/JoseFramework/Resources/config/jwe_serializers.php b/src/JoseFramework/Resources/config/jwe_serializers.php index 56ffadfd..7d5e50b2 100644 --- a/src/JoseFramework/Resources/config/jwe_serializers.php +++ b/src/JoseFramework/Resources/config/jwe_serializers.php @@ -6,15 +6,6 @@ use Jose\Component\Encryption\Serializer\JSONFlattenedSerializer; use Jose\Component\Encryption\Serializer\JSONGeneralSerializer; use Jose\Component\Encryption\Serializer\JWESerializerManagerFactory; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/jwe_services.php b/src/JoseFramework/Resources/config/jwe_services.php index 639479b4..c981b4b2 100644 --- a/src/JoseFramework/Resources/config/jwe_services.php +++ b/src/JoseFramework/Resources/config/jwe_services.php @@ -6,15 +6,6 @@ use Jose\Bundle\JoseFramework\Services\JWEDecrypterFactory; use Jose\Bundle\JoseFramework\Services\JWELoaderFactory; use Jose\Component\Encryption\JWETokenSupport; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/jwk_sources.php b/src/JoseFramework/Resources/config/jwk_sources.php index ec96979a..76c99b59 100644 --- a/src/JoseFramework/Resources/config/jwk_sources.php +++ b/src/JoseFramework/Resources/config/jwk_sources.php @@ -10,15 +10,6 @@ use Jose\Bundle\JoseFramework\DependencyInjection\Source\KeyManagement\JWKSource\Secret; use Jose\Bundle\JoseFramework\DependencyInjection\Source\KeyManagement\JWKSource\Values; use Jose\Bundle\JoseFramework\DependencyInjection\Source\KeyManagement\JWKSource\X5C; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/jwkset_sources.php b/src/JoseFramework/Resources/config/jwkset_sources.php index ee441c8d..b58f21af 100644 --- a/src/JoseFramework/Resources/config/jwkset_sources.php +++ b/src/JoseFramework/Resources/config/jwkset_sources.php @@ -5,15 +5,6 @@ use Jose\Bundle\JoseFramework\DependencyInjection\Source\KeyManagement\JWKSetSource\JKU; use Jose\Bundle\JoseFramework\DependencyInjection\Source\KeyManagement\JWKSetSource\JWKSet; use Jose\Bundle\JoseFramework\DependencyInjection\Source\KeyManagement\JWKSetSource\X5U; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/jws_serializers.php b/src/JoseFramework/Resources/config/jws_serializers.php index bf323c5f..dfbde37c 100644 --- a/src/JoseFramework/Resources/config/jws_serializers.php +++ b/src/JoseFramework/Resources/config/jws_serializers.php @@ -6,15 +6,6 @@ use Jose\Component\Signature\Serializer\JSONFlattenedSerializer; use Jose\Component\Signature\Serializer\JSONGeneralSerializer; use Jose\Component\Signature\Serializer\JWSSerializerManagerFactory; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/jws_services.php b/src/JoseFramework/Resources/config/jws_services.php index 18f2fb1a..a10cf3ff 100644 --- a/src/JoseFramework/Resources/config/jws_services.php +++ b/src/JoseFramework/Resources/config/jws_services.php @@ -6,15 +6,6 @@ use Jose\Bundle\JoseFramework\Services\JWSLoaderFactory; use Jose\Bundle\JoseFramework\Services\JWSVerifierFactory; use Jose\Component\Signature\JWSTokenSupport; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/JoseFramework/Resources/config/nested_token.php b/src/JoseFramework/Resources/config/nested_token.php index 7428e894..bad778bd 100644 --- a/src/JoseFramework/Resources/config/nested_token.php +++ b/src/JoseFramework/Resources/config/nested_token.php @@ -4,15 +4,6 @@ use Jose\Bundle\JoseFramework\Services\NestedTokenBuilderFactory; use Jose\Bundle\JoseFramework\Services\NestedTokenLoaderFactory; -/* - * The MIT License (MIT) - * - * Copyright (c) 2014-2020 Spomky-Labs - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; return function (ContainerConfigurator $container): void { diff --git a/src/SignatureAlgorithm/ECDSA/LICENSE b/src/SignatureAlgorithm/ECDSA/LICENSE index 37cf976b..5ab75060 100644 --- a/src/SignatureAlgorithm/ECDSA/LICENSE +++ b/src/SignatureAlgorithm/ECDSA/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/SignatureAlgorithm/EdDSA/LICENSE b/src/SignatureAlgorithm/EdDSA/LICENSE index 37cf976b..5ab75060 100644 --- a/src/SignatureAlgorithm/EdDSA/LICENSE +++ b/src/SignatureAlgorithm/EdDSA/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/SignatureAlgorithm/Experimental/LICENSE b/src/SignatureAlgorithm/Experimental/LICENSE index 37cf976b..5ab75060 100644 --- a/src/SignatureAlgorithm/Experimental/LICENSE +++ b/src/SignatureAlgorithm/Experimental/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/SignatureAlgorithm/HMAC/LICENSE b/src/SignatureAlgorithm/HMAC/LICENSE index 37cf976b..5ab75060 100644 --- a/src/SignatureAlgorithm/HMAC/LICENSE +++ b/src/SignatureAlgorithm/HMAC/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/SignatureAlgorithm/None/LICENSE b/src/SignatureAlgorithm/None/LICENSE index 37cf976b..5ab75060 100644 --- a/src/SignatureAlgorithm/None/LICENSE +++ b/src/SignatureAlgorithm/None/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/SignatureAlgorithm/RSA/LICENSE b/src/SignatureAlgorithm/RSA/LICENSE index 37cf976b..5ab75060 100644 --- a/src/SignatureAlgorithm/RSA/LICENSE +++ b/src/SignatureAlgorithm/RSA/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Spomky-Labs +Copyright (c) 2014-2024 Spomky-Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal