From 0aeff745bedbf1bf279b8d803ee19b80b5b35392 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:43:39 +0200 Subject: [PATCH 01/19] Remove legacy configuration and redundant files. Deleted outdated config files (ecs.php, deptrac.yaml, rector.php, infection.json, etc.), old workflows, and replaced `autoload.php` with a centralized `bootstrap.php`. Introduced a streamlined CI workflow with `.github/workflows/ci.yml`. --- deptrac.yaml => .ci-tools/deptrac.yaml | 2 +- ecs.php => .ci-tools/ecs.php | 23 +- .../infection.json.dist | 0 phpbench.json => .ci-tools/phpbench.json | 4 +- .ci-tools/phpstan-baseline.neon | 10453 ++++++++++++++++ .ci-tools/phpstan.neon | 23 + .ci-tools/phpunit.xml.dist | 33 + .ci-tools/phpunit.xsd | 348 + .ci-tools/rector.php | 47 + .github/dependabot.yml | 19 - .github/renovate-global.json | 10 + .github/workflows/ci.yml | 391 + .github/workflows/infection.yml | 30 - .github/workflows/integrate.yml | 223 - .github/workflows/renovate.yml | 17 + .gitignore | 2 + .mergify.yml | 16 - SECURITY.md | 3 +- castor.php | 388 +- composer.json | 30 +- phpstan-baseline.neon | 5779 --------- phpstan.neon | 10 - phpunit.xml.dist | 41 - rector.php | 45 - .../Functional/Checker/ClaimCheckerTest.php | 2 +- .../Functional/Checker/HeaderCheckerTest.php | 2 +- .../Functional/Console/ConsoleTest.php | 2 +- .../Functional/Encryption/JWEBuilderTest.php | 2 +- .../Encryption/JWECollectorTest.php | 2 +- .../Encryption/JWEComputationTest.php | 2 +- .../Encryption/JWEDecrypterTest.php | 2 +- .../Functional/Encryption/JWELoaderTest.php | 2 +- .../Encryption/JWESerializerTest.php | 2 +- .../KeyManagement/JKUAndX5UFactoriesTest.php | 2 +- .../KeyManagement/JWKLoaderTest.php | 2 +- .../KeyManagement/JWKSetLoaderTest.php | 2 +- .../NestedToken/NestedTokenBuilderTest.php | 2 +- .../NestedToken/NestedTokenLoaderTest.php | 2 +- .../Functional/Serializer/JWEEncoderTest.php | 2 +- .../Serializer/JWESerializerTest.php | 2 +- .../Functional/Serializer/JWSEncoderTest.php | 2 +- .../Serializer/JWSSerializerTest.php | 2 +- .../Functional/Signature/JWSBuilderTest.php | 2 +- .../Signature/JWSComputationTest.php | 2 +- .../Functional/Signature/JWSLoaderTest.php | 2 +- .../Signature/JWSSerializerTest.php | 2 +- .../Functional/Signature/JWSVerifierTest.php | 2 +- tests/Bundle/JoseFramework/KernelTestCase.php | 16 + tests/Bundle/JoseFramework/WebTestCase.php | 16 + .../Component/Console/AnalyzeCommandTest.php | 56 +- tests/{autoload.php => bootstrap.php} | 5 + 51 files changed, 11670 insertions(+), 6406 deletions(-) rename deptrac.yaml => .ci-tools/deptrac.yaml (98%) rename ecs.php => .ci-tools/ecs.php (86%) rename infection.json => .ci-tools/infection.json.dist (100%) rename phpbench.json => .ci-tools/phpbench.json (88%) create mode 100644 .ci-tools/phpstan-baseline.neon create mode 100644 .ci-tools/phpstan.neon create mode 100644 .ci-tools/phpunit.xml.dist create mode 100644 .ci-tools/phpunit.xsd create mode 100644 .ci-tools/rector.php delete mode 100644 .github/dependabot.yml create mode 100644 .github/renovate-global.json create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/infection.yml delete mode 100644 .github/workflows/integrate.yml create mode 100644 .github/workflows/renovate.yml delete mode 100644 .mergify.yml delete mode 100644 phpstan-baseline.neon delete mode 100644 phpstan.neon delete mode 100644 phpunit.xml.dist delete mode 100644 rector.php create mode 100644 tests/Bundle/JoseFramework/KernelTestCase.php create mode 100644 tests/Bundle/JoseFramework/WebTestCase.php rename tests/{autoload.php => bootstrap.php} (54%) diff --git a/deptrac.yaml b/.ci-tools/deptrac.yaml similarity index 98% rename from deptrac.yaml rename to .ci-tools/deptrac.yaml index 8f2c4f4a0..c22796608 100644 --- a/deptrac.yaml +++ b/.ci-tools/deptrac.yaml @@ -1,6 +1,6 @@ parameters: paths: - - './src' + - './../src' layers: - name: 'Library' collectors: diff --git a/ecs.php b/.ci-tools/ecs.php similarity index 86% rename from ecs.php rename to .ci-tools/ecs.php index 40e74a0de..5a7db3ac5 100644 --- a/ecs.php +++ b/.ci-tools/ecs.php @@ -25,12 +25,11 @@ use PhpCsFixer\Fixer\Strict\StrictComparisonFixer; use PhpCsFixer\Fixer\Strict\StrictParamFixer; use PhpCsFixer\Fixer\Whitespace\ArrayIndentationFixer; -use PhpCsFixer\Fixer\Whitespace\CompactNullableTypehintFixer; +use PhpCsFixer\Fixer\Whitespace\MethodChainingIndentationFixer; +use Symplify\CodingStandard\Fixer\Spacing\MethodChainingNewlineFixer; use Symplify\EasyCodingStandard\Config\ECSConfig; use Symplify\EasyCodingStandard\ValueObject\Set\SetList; -//use PhpCsFixer\Fixer\Alias\MbStrFunctionsFixer; - return static function (ECSConfig $config): void { $header = ''; $config->import(SetList::PSR_12); @@ -54,11 +53,9 @@ $config->rule(ProtectedToPrivateFixer::class); $config->rule(DeclareStrictTypesFixer::class); $config->rule(NativeConstantInvocationFixer::class); - //$config->rule(MbStrFunctionsFixer::class); $config->rule(LinebreakAfterOpeningTagFixer::class); $config->rule(CombineConsecutiveIssetsFixer::class); $config->rule(CombineConsecutiveUnsetsFixer::class); - $config->rule(CompactNullableTypehintFixer::class); $config->rule(NoSuperfluousElseifFixer::class); $config->rule(NoSuperfluousPhpdocTagsFixer::class); $config->rule(PhpdocTrimConsecutiveBlankLineSeparationFixer::class); @@ -88,8 +85,18 @@ 'import_functions' => true, ]); - $config->skip([PhpUnitTestClassRequiresCoversFixer::class]); + $config->skip([ + PhpUnitTestClassRequiresCoversFixer::class, + MethodChainingIndentationFixer::class => [__DIR__ . '/src/Resources/config'], + MethodChainingNewlineFixer::class => [__DIR__ . '/src/Resources/config'], + ]); + $config->parallel(); - $config->paths([__DIR__]); - $config->skip([__DIR__ . '/.github', __DIR__ . '/.castor.stub.php', __DIR__ . '/var', __DIR__ . '/vendor']); + $config->paths([ + __DIR__ . '/../src', + __DIR__ . '/../tests', + __DIR__ . '/../castor.php', + __DIR__ . '/ecs.php', + __DIR__ . '/rector.php', + ]); }; diff --git a/infection.json b/.ci-tools/infection.json.dist similarity index 100% rename from infection.json rename to .ci-tools/infection.json.dist diff --git a/phpbench.json b/.ci-tools/phpbench.json similarity index 88% rename from phpbench.json rename to .ci-tools/phpbench.json index 0588acde5..a11e66427 100644 --- a/phpbench.json +++ b/.ci-tools/phpbench.json @@ -1,6 +1,6 @@ { - "runner.bootstrap": "vendor/autoload.php", - "runner.path": "performance", + "runner.bootstrap": "../vendor/bootstrap.php", + "runner.path": "../performance", "runner.progress": "dots", "runner.time_unit": "microseconds", "runner.retry_threshold": 10, diff --git a/.ci-tools/phpstan-baseline.neon b/.ci-tools/phpstan-baseline.neon new file mode 100644 index 000000000..b14e28408 --- /dev/null +++ b/.ci-tools/phpstan-baseline.neon @@ -0,0 +1,10453 @@ +parameters: + ignoreErrors: + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\AlgorithmCollector\:\:collect\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\AlgorithmCollector\:\:collect\(\) has parameter \$exception with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\AlgorithmCollector\:\:collect\(\) has parameter \$exception with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\AlgorithmCollector\:\:getAlgorithmType\(\) has parameter \$contentEncryptionAlgorithms that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\AlgorithmCollector\:\:getAlgorithmType\(\) has parameter \$keyEncryptionAlgorithms that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\AlgorithmCollector\:\:getAlgorithmType\(\) has parameter \$macAlgorithms that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\AlgorithmCollector\:\:getAlgorithmType\(\) has parameter \$signatureAlgorithms that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/AlgorithmCollector.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector has parameter \$claimCheckerManagerFactory with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector has parameter \$headerCheckerManagerFactory with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:__construct\(\) has parameter \$claimCheckerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:__construct\(\) has parameter \$claimCheckerManagerFactory with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:__construct\(\) has parameter \$headerCheckerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:__construct\(\) has parameter \$headerCheckerManagerFactory with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collect\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collect\(\) has parameter \$exception with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collect\(\) has parameter \$exception with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collectClaimCheckerManagers\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collectEvents\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collectHeaderCheckerManagers\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collectSupportedClaimCheckers\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collectSupportedHeaderCheckers\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collectHeaderCheckerManagers\(\) expects array\\>, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DataCollector/CheckerCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\Collector\:\:collect\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/Collector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\Collector\:\:collect\(\) has parameter \$exception with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/Collector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\Collector\:\:collect\(\) has parameter \$exception with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/Collector.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector has parameter \$jweSerializerManagerFactory with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:__construct\(\) has parameter \$jweSerializerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:__construct\(\) has parameter \$jweSerializerManagerFactory with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collect\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collect\(\) has parameter \$exception with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collect\(\) has parameter \$exception with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collectEvents\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collectSupportedJWEBuilders\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collectSupportedJWEDecrypters\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collectSupportedJWELoaders\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collectSupportedJWESerializations\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collectSupportedJWESerializations\(\) expects array\\>, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DataCollector/JWECollector.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector has parameter \$jwsSerializerManagerFactory with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:__construct\(\) has parameter \$jwsSerializerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:__construct\(\) has parameter \$jwsSerializerManagerFactory with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collect\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collect\(\) has parameter \$exception with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collect\(\) has parameter \$exception with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collectEvents\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collectSupportedJWSBuilders\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collectSupportedJWSLoaders\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collectSupportedJWSSerializations\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collectSupportedJWSVerifiers\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collectSupportedJWSSerializations\(\) expects array\\>, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DataCollector/JWSCollector.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DataCollector\\JoseCollector" is not allowed to extend "Symfony\\Component\\HttpKernel\\DataCollector\\DataCollector"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DataCollector/JoseCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JoseCollector\:\:collect\(\) has parameter \$exception with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/JoseCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JoseCollector\:\:collect\(\) has parameter \$exception with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/JoseCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JoseCollector\:\:getData\(\) should return array\\|Symfony\\Component\\VarDumper\\Cloner\\Data but returns array\|Symfony\\Component\\VarDumper\\Cloner\\Data\.$#' + identifier: return.type + count: 1 + path: ../src/Bundle/DataCollector/JoseCollector.php + + - + message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\Collector\:\:collect\(\) expects array\, array\|Symfony\\Component\\VarDumper\\Cloner\\Data given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DataCollector/JoseCollector.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector has parameter \$jwkAnalyzerManager with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector has parameter \$jwksetAnalyzerManager with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:__construct\(\) has parameter \$jwkAnalyzerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:__construct\(\) has parameter \$jwkAnalyzerManager with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:__construct\(\) has parameter \$jwksetAnalyzerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:__construct\(\) has parameter \$jwksetAnalyzerManager with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:collect\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:collect\(\) has parameter \$exception with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:collect\(\) has parameter \$exception with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:collectJWK\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:collectJWKSet\(\) has parameter \$data that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:collectJWK\(\) expects array\\>, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Parameter \#1 \$jwk of method Jose\\Component\\KeyManagement\\Analyzer\\KeyAnalyzerManager\:\:analyze\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DataCollector/KeyCollector.php + + - + message: '#^Cannot access offset ''alias'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\AlgorithmCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\CheckerCollectorCompilerPass\:\:collectServices\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/CheckerCollectorCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\CheckerCollectorCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/CheckerCollectorCompilerPass.php + + - + message: '#^Cannot access offset ''alias'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/ClaimCheckerCompilerPass.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/ClaimCheckerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\ClaimCheckerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/ClaimCheckerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\DataCollectorCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/DataCollectorCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\EncryptionSerializerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/EncryptionSerializerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\EventDispatcherAliasCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/EventDispatcherAliasCompilerPass.php + + - + message: '#^Cannot access offset ''alias'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\HeaderCheckerCompilerPass\:\:addHeaderCheckers\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\HeaderCheckerCompilerPass\:\:addTokenType\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\HeaderCheckerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\JWECollectorCompilerPass\:\:collectServices\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/JWECollectorCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\JWECollectorCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/JWECollectorCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\JWSCollectorCompilerPass\:\:collectServices\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/JWSCollectorCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\JWSCollectorCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/JWSCollectorCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\KeyAnalyzerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/KeyAnalyzerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\KeyCollectorCompilerPass\:\:collectServices\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/KeyCollectorCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\KeyCollectorCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/KeyCollectorCompilerPass.php + + - + message: '#^Cannot access offset ''path'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/KeySetControllerCompilerPass.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/KeySetControllerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\KeySetControllerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/KeySetControllerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\KeysetAnalyzerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/KeysetAnalyzerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\SignatureSerializerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/SignatureSerializerCompilerPass.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Compiler\\SymfonySerializerCompilerPass\:\:process\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Compiler/SymfonySerializerCompilerPass.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension" is not allowed to extend "Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/JoseFrameworkExtension.php + + - + message: '#^Class Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension extends internal class Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension\.$#' + identifier: class.extendsInternalClass + count: 1 + path: ../src/Bundle/DependencyInjection/JoseFrameworkExtension.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension\:\:getConfiguration\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/JoseFrameworkExtension.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension\:\:getConfiguration\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/JoseFrameworkExtension.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/JoseFrameworkExtension.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/JoseFrameworkExtension.php + + - + message: '#^Parameter \#2 \$config of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:prependExtensionConfig\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/JoseFrameworkExtension.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource\:\:addConfiguration\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource\:\:create\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource\:\:create\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/AbstractSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method addDefaultsIfNotSet\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method cannotBeEmpty\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method defaultValue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\CheckerSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\CheckerSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\ClaimChecker\:\:load\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\ClaimChecker\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Parameter \#2 \$id of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:setAlias\(\) expects string\|Symfony\\Component\\DependencyInjection\\Alias, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Binary operation "\." between mixed and ''ClaimCheckerManager'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot access offset ''claims'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 9 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\ClaimChecker\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\ClaimChecker\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Binary operation "\." between mixed and ''HeaderCheckerManager'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot access offset ''headers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 9 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\HeaderChecker\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\HeaderChecker\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Console\\ConsoleSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Console/ConsoleSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Console\\ConsoleSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Console/ConsoleSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Console\\ConsoleSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Console/ConsoleSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Core\\CoreSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Core/CoreSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Core\\CoreSource\:\:load\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Core/CoreSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Core\\CoreSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Core/CoreSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 9 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\AbstractEncryptionSource\:\:getNodeDefinition\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\AbstractEncryptionSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\AbstractEncryptionSource\:\:prepend\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Bundle/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\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Cannot call method addDefaultsIfNotSet\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A128CTR not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Chacha20Poly1305 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:getAlgorithmsFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEBuilder\:\:load\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\AbstractEncryptionSource\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Binary operation "\." between mixed and ''JweBuilder'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEBuilder" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\AbstractEncryptionSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEBuilder\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEBuilder\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Binary operation "\." between mixed and ''JweDecrypter'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEDecrypter" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\AbstractEncryptionSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEDecrypter\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEDecrypter\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Binary operation "\." between mixed and ''JweLoader'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot access offset ''header_checkers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot access offset ''serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 13 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Binary operation "\." between mixed and ''JweSerializer'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot access offset ''serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 9 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot access offset ''client'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot access offset ''enabled'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot call method canBeEnabled\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Parameter \#2 \$id of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:setAlias\(\) expects string\|Symfony\\Component\\DependencyInjection\\Alias, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method canBeUnset\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method ifTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method thenInvalid\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Cannot call method validate\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Parameter \#1 \$builder of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSetSource\:\:addConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Parameter \#3 \$id of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSetSource\:\:create\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Parameter \#4 \$config of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSetSource\:\:create\(\) expects array\, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JKU" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JKU\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSet" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSet\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSetSource\:\:create\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSetSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\X5U" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\X5U\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method canBeUnset\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method ifTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method thenInvalid\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Cannot call method validate\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Parameter \#1 \$builder of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSource\:\:addConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Parameter \#3 \$id of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSource\:\:create\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Parameter \#4 \$config of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSource\:\:create\(\) expects array\, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method defaultValue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\CertificateFile" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\CertificateFile\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWK" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWK\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method ifTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method thenInvalid\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method validate\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Cannot call method variableNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSet" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSet\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Parameter \#1 \$id of class Symfony\\Component\\DependencyInjection\\Reference constructor expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSource\:\:create\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method defaultNull\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method defaultValue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\KeyFile" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\KeyFile\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method defaultNull\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method defaultValue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\P12" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\P12\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method defaultValue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\Secret" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\Secret\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\Values" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\Values\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method defaultValue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\X5C" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\AbstractSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\X5C\:\:createDefinition\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Binary operation "\." between mixed and ''JwkSetController'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot access offset ''id'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot access offset ''path'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 9 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method scalarNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Parameter \#1 \$id of class Symfony\\Component\\DependencyInjection\\Reference constructor expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:load\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Binary operation "\." between mixed and ''NestedTokenBuilder'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot access offset ''jwe_serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot access offset ''jws_serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 6 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 14 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 6 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 6 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Binary operation "\." between mixed and ''NestedTokenLoader'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''jwe_header_checkers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''jwe_serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''jws_header_checkers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''jws_serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 8 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 18 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 8 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 4 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 6 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 6 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 6 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 8 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 9 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:getNodeDefinition\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:prepend\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Binary operation "\." between mixed and ''JwsBuilder'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSBuilder" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSBuilder\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSBuilder\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Binary operation "\." between mixed and ''JwsLoader'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot access offset ''header_checkers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot access offset ''serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 13 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 5 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Binary operation "\." between mixed and ''JwsSerializer'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot access offset ''serializers'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method booleanNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method children\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method end\(\) on mixed\.$#' + identifier: method.nonObject + count: 9 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method info\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method isRequired\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 3 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 2 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Binary operation "\." between mixed and ''JwsVerifier'' results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Cannot access offset ''is_public'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Cannot access offset ''tags'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSVerifier" is not allowed to extend "Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSVerifier\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSVerifier\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php + + - + message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Cannot call method addDefaultsIfNotSet\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Cannot call method arrayNode\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Class Jose\\Component\\Signature\\Algorithm\\HS1 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:getAlgorithmsFiles\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSBuilder\:\:load\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:load\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Source.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Source.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:prepend\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Source.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Source.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/DependencyInjection/Source/Source.php + + - + message: '#^Parameter \#1 \$json of static method Jose\\Component\\Core\\JWK\:\:createFromJson\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/EnvVarProcessor/KeyEnvVarProcessor.php + + - + message: '#^Parameter \#1 \$json of static method Jose\\Component\\Core\\JWKSet\:\:createFromJson\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/EnvVarProcessor/KeyEnvVarProcessor.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/ClaimCheckedFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:__construct\(\) has parameter \$claims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:__construct\(\) has parameter \$mandatoryClaims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:getClaims\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:getMandatoryClaims\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/ClaimCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:__construct\(\) has parameter \$checkedClaims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:__construct\(\) has parameter \$claims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:__construct\(\) has parameter \$mandatoryClaims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:getCheckedClaims\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:getClaims\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:getMandatoryClaims\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/ClaimCheckedSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/HeaderCheckedFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedFailureEvent\:\:__construct\(\) has parameter \$mandatoryHeaderParameters with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/HeaderCheckedFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedFailureEvent\:\:getMandatoryHeaderParameters\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/HeaderCheckedFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/HeaderCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedSuccessEvent\:\:__construct\(\) has parameter \$mandatoryHeaderParameters with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/HeaderCheckedSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedSuccessEvent\:\:getMandatoryHeaderParameters\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/HeaderCheckedSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$recipients with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$sharedHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$sharedProtectedHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getAad\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getRecipients\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getSharedHeader\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getSharedProtectedHeader\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWEBuiltFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWEBuiltSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWEDecryptionFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWEDecryptionFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWEDecryptionSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWEDecryptionSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWELoadingFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWELoadingFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWELoadingSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWELoadingSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWSBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:__construct\(\) has parameter \$isPayloadEncoded with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:__construct\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:__construct\(\) has parameter \$signatures with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWSBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:getPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:getSignatures\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Event/JWSBuiltFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:getisPayloadEncoded\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSBuiltFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWSBuiltSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWSLoadingFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWSLoadingFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWSLoadingSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWSLoadingSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWSVerificationFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationFailureEvent\:\:__construct\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSVerificationFailureEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationFailureEvent\:\:getDetachedPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSVerificationFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/JWSVerificationSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationSuccessEvent\:\:__construct\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSVerificationSuccessEvent.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationSuccessEvent\:\:getDetachedPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Bundle/Event/JWSVerificationSuccessEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\NestedTokenIssuedEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/NestedTokenIssuedEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\NestedTokenLoadingFailureEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/NestedTokenLoadingFailureEvent.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Event\\NestedTokenLoadingSuccessEvent" is not allowed to extend "Symfony\\Contracts\\EventDispatcher\\Event"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Event/NestedTokenLoadingSuccessEvent.php + + - + message: '#^Cannot access offset string on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addClaimChecker\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addClaimChecker\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addHeaderChecker\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addHeaderChecker\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEBuilder\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEBuilder\(\) has parameter \$encryptionAlgorithm with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEBuilder\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEDecrypter\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEDecrypter\(\) has parameter \$encryptionAlgorithm with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEDecrypter\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWELoader\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWELoader\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWESerializer\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWESerializer\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSBuilder\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSBuilder\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSLoader\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSLoader\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSSerializer\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSSerializer\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSVerifier\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSVerifier\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKey\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKey\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKey\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyUri\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyUri\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyUri\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyset\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyset\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyset\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addNestedTokenBuilder\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addNestedTokenBuilder\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addNestedTokenLoader\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addNestedTokenLoader\(\) has parameter \$tags with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:updateJoseConfiguration\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:updateJoseConfiguration\(\) has parameter \$config with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Helper/ConfigurationHelper.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\JoseFrameworkBundle" is not allowed to extend "Symfony\\Component\\HttpKernel\\Bundle\\Bundle"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/JoseFrameworkBundle.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\JoseFrameworkBundle\:\:build\(\) has a parameter \$container with a type declaration of Symfony\\Component\\DependencyInjection\\ContainerBuilder, but containers should not be injected\.$#' + identifier: ergebnis.noParameterWithContainerTypeDeclaration + count: 1 + path: ../src/Bundle/JoseFrameworkBundle.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_16_128 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_16_64 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_64_128 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_64_64 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_16_128 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_16_64 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_64_128 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_64_64 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A128CTR not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A192CTR not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A256CTR not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSAOAEP384 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSAOAEP512 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental.php + + - + message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Chacha20Poly1305 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/encryption_experimental_chacha20_poly1305.php + + - + message: '#^Class Jose\\Component\\Signature\\Algorithm\\Blake2b not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/signature_experimental.php + + - + message: '#^Class Jose\\Component\\Signature\\Algorithm\\ES256K not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/signature_experimental.php + + - + message: '#^Class Jose\\Component\\Signature\\Algorithm\\HS1 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/signature_experimental.php + + - + message: '#^Class Jose\\Component\\Signature\\Algorithm\\HS256_64 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/signature_experimental.php + + - + message: '#^Class Jose\\Component\\Signature\\Algorithm\\RS1 not found\.$#' + identifier: class.notFound + count: 1 + path: ../src/Bundle/Resources/config/Algorithms/signature_experimental.php + + - + message: '#^Access to constant on internal class Jose\\Component\\Core\\Util\\Ecc\\NistCurve\.$#' + identifier: classConstant.internalClass + count: 1 + path: ../src/Bundle/Resources/config/analyzers.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Routing\\JWKSetLoader\:\:load\(\) has parameter \$type with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Routing/JWKSetLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Routing\\JWKSetLoader\:\:load\(\) has parameter \$type with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Routing/JWKSetLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Routing\\JWKSetLoader\:\:supports\(\) has parameter \$type with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Routing/JWKSetLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Routing\\JWKSetLoader\:\:supports\(\) has parameter \$type with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Routing/JWKSetLoader.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder has parameter \$serializerManager with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:__construct\(\) has parameter \$serializerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:__construct\(\) has parameter \$serializerManager with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:formatSupported\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:getRecipientIndex\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:supportsDecoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:supportsEncoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Serializer/JWEEncoder.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer has parameter \$serializerManager with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:__construct\(\) has parameter \$serializerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:__construct\(\) has parameter \$serializerManager with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:denormalize\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:denormalize\(\) has parameter \$format with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:formatSupported\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:getSupportedTypes\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:supportsDenormalization\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWESerializer\:\:supportsDenormalization\(\) has parameter \$format with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWESerializer.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder has parameter \$serializerManager with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:__construct\(\) has parameter \$serializerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:__construct\(\) has parameter \$serializerManager with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:formatSupported\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:getSignatureIndex\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:supportsDecoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:supportsEncoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Serializer/JWSEncoder.php + + - + message: '#^Constructor in Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer has parameter \$serializerManager with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:__construct\(\) has parameter \$serializerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:__construct\(\) has parameter \$serializerManager with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:denormalize\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:denormalize\(\) has parameter \$format with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:formatSupported\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:getSupportedTypes\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:supportsDenormalization\(\) has parameter \$format with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSSerializer\:\:supportsDenormalization\(\) has parameter \$format with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Serializer/JWSSerializer.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\ClaimCheckerManager" is not allowed to extend "Jose\\Component\\Checker\\ClaimCheckerManager"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/ClaimCheckerManager.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\ClaimCheckerManager\:\:check\(\) has parameter \$claims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/ClaimCheckerManager.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\ClaimCheckerManager\:\:check\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/ClaimCheckerManager.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/Services/ClaimCheckerManagerFactory.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\HeaderCheckerManager" is not allowed to extend "Jose\\Component\\Checker\\HeaderCheckerManager"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/HeaderCheckerManager.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Bundle/Services/HeaderCheckerManagerFactory.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\JWEBuilder" is not allowed to extend "Jose\\Component\\Encryption\\JWEBuilder"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/JWEBuilder.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypter" is not allowed to extend "Jose\\Component\\Encryption\\JWEDecrypter"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwe that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwk that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwk with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwk with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$senderKey with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Parameter \#3 \$JWK of class Jose\\Bundle\\JoseFramework\\Event\\JWEDecryptionSuccessEvent constructor expects Jose\\Component\\Core\\JWK, Jose\\Component\\Core\\JWK\|null given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWEDecrypter.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypterFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/JWEDecrypterFactory.php + + - + message: '#^Parameter \#1 \$aliases of method Jose\\Component\\Core\\AlgorithmManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWEDecrypterFactory.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\JWELoader" is not allowed to extend "Jose\\Component\\Encryption\\JWELoader"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWELoader\:\:__construct\(\) has parameter \$headerCheckerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWELoader\:\:loadAndDecryptWithKeySet\(\) has parameter \$recipient that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/Services/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWELoader\:\:loadAndDecryptWithKeySet\(\) has parameter \$recipient with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWELoader.php + + - + message: '#^Parameter \#4 \$recipient of class Jose\\Bundle\\JoseFramework\\Event\\JWELoadingSuccessEvent constructor expects int, int\|null given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWELoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWELoaderFactory\:\:__construct\(\) has parameter \$headerCheckerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWELoaderFactory.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\JWSBuilder" is not allowed to extend "Jose\\Component\\Signature\\JWSBuilder"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/JWSBuilder.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\JWSLoader" is not allowed to extend "Jose\\Component\\Signature\\JWSLoader"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoader\:\:__construct\(\) has parameter \$headerCheckerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$payload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Services/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$signature that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/Services/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$signature with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWSLoader.php + + - + message: '#^Parameter \#4 \$signature of class Jose\\Bundle\\JoseFramework\\Event\\JWSLoadingSuccessEvent constructor expects int, int\|null given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWSLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoaderFactory\:\:__construct\(\) has parameter \$headerCheckerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWSLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoaderFactory\:\:create\(\) has parameter \$algorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/JWSLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoaderFactory\:\:create\(\) has parameter \$headerCheckers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/JWSLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoaderFactory\:\:create\(\) has parameter \$serializers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/JWSLoaderFactory.php + + - + message: '#^Parameter \#1 \$aliases of method Jose\\Bundle\\JoseFramework\\Services\\HeaderCheckerManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWSLoaderFactory.php + + - + message: '#^Parameter \#1 \$names of method Jose\\Component\\Signature\\Serializer\\JWSSerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWSLoaderFactory.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\JWSVerifier" is not allowed to extend "Jose\\Component\\Signature\\JWSVerifier"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$detachedPayload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Services/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$jwk that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/Services/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$jwk with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$jwk with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Services/JWSVerifier.php + + - + message: '#^Parameter \#5 \$JWK of class Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationSuccessEvent constructor expects Jose\\Component\\Core\\JWK, Jose\\Component\\Core\\JWK\|null given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWSVerifier.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSVerifierFactory\:\:create\(\) has parameter \$algorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/JWSVerifierFactory.php + + - + message: '#^Parameter \#1 \$aliases of method Jose\\Component\\Core\\AlgorithmManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/JWSVerifierFactory.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilder" is not allowed to extend "Jose\\Component\\NestedToken\\NestedTokenBuilder"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilder\:\:create\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilder\:\:create\(\) has parameter \$aad with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$jwe_serializers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$jws_serializers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$signatureAlgorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Parameter \#1 \$algorithms of method Jose\\Bundle\\JoseFramework\\Services\\JWSBuilderFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Parameter \#1 \$encryptionAlgorithms of method Jose\\Bundle\\JoseFramework\\Services\\JWEBuilderFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Parameter \#1 \$names of method Jose\\Component\\Encryption\\Serializer\\JWESerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Parameter \#1 \$names of method Jose\\Component\\Signature\\Serializer\\JWSSerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenBuilderFactory.php + + - + message: '#^Class "Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoader" is not allowed to extend "Jose\\Component\\NestedToken\\NestedTokenLoader"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Bundle/Services/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoader\:\:load\(\) has parameter \$signature that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Bundle/Services/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoader\:\:load\(\) has parameter \$signature with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Bundle/Services/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoader\:\:load\(\) has parameter \$signature with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Bundle/Services/NestedTokenLoader.php + + - + message: '#^Parameter \#5 \$signature of class Jose\\Bundle\\JoseFramework\\Event\\NestedTokenLoadingSuccessEvent constructor expects int, int\|null given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenLoader.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jweHeaderCheckers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jweSerializers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jwsHeaderCheckers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jwsSerializers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$signatureAlgorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Parameter \#1 \$serializers of method Jose\\Bundle\\JoseFramework\\Services\\JWELoaderFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Parameter \#2 \$encryptionAlgorithms of method Jose\\Bundle\\JoseFramework\\Services\\JWELoaderFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Parameter \#3 \$headerCheckers of method Jose\\Bundle\\JoseFramework\\Services\\JWELoaderFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Bundle/Services/NestedTokenLoaderFactory.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A128CCM_16_128" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A128CCM_16_128.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A128CCM_16_64" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A128CCM_16_64.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A128CCM_64_128" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A128CCM_64_128.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A128CCM_64_64" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A128CCM_64_64.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A256CCM_16_128" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A256CCM_16_128.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A256CCM_16_64" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A256CCM_16_64.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A256CCM_64_128" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A256CCM_64_128.php + + - + message: '#^Class "Jose\\Experimental\\ContentEncryption\\A256CCM_64_64" is not allowed to extend "Jose\\Experimental\\ContentEncryption\\AESCCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/ContentEncryption/A256CCM_64_64.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:decryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:decryptContent\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:encryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:encryptContent\(\) has parameter \$tag that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:encryptContent\(\) has parameter \$tag with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:encryptContent\(\) has parameter \$tag with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:encryptContent\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Experimental/ContentEncryption/AESCCM.php + + - + message: '#^Class "Jose\\Experimental\\KeyEncryption\\A128CTR" is not allowed to extend "Jose\\Experimental\\KeyEncryption\\AESCTR"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/KeyEncryption/A128CTR.php + + - + message: '#^Class "Jose\\Experimental\\KeyEncryption\\A192CTR" is not allowed to extend "Jose\\Experimental\\KeyEncryption\\AESCTR"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/KeyEncryption/A192CTR.php + + - + message: '#^Class "Jose\\Experimental\\KeyEncryption\\A256CTR" is not allowed to extend "Jose\\Experimental\\KeyEncryption\\AESCTR"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/KeyEncryption/A256CTR.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Experimental/KeyEncryption/AESCTR.php + + - + message: '#^Method Jose\\Experimental\\KeyEncryption\\AESCTR\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Experimental/KeyEncryption/AESCTR.php + + - + message: '#^Method Jose\\Experimental\\KeyEncryption\\AESCTR\:\:decryptKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Experimental/KeyEncryption/AESCTR.php + + - + message: '#^Method Jose\\Experimental\\KeyEncryption\\AESCTR\:\:encryptKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Experimental/KeyEncryption/AESCTR.php + + - + message: '#^Method Jose\\Experimental\\KeyEncryption\\AESCTR\:\:encryptKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Experimental/KeyEncryption/AESCTR.php + + - + message: '#^Method Jose\\Experimental\\KeyEncryption\\AESCTR\:\:getKeyManagementMode\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Experimental/KeyEncryption/AESCTR.php + + - + message: '#^Call to function is_string\(\) with null will always evaluate to false\.$#' + identifier: function.impossibleType + count: 1 + path: ../src/Experimental/KeyEncryption/Chacha20Poly1305.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Experimental/KeyEncryption/Chacha20Poly1305.php + + - + message: '#^Method Jose\\Experimental\\KeyEncryption\\Chacha20Poly1305\:\:encryptKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Experimental/KeyEncryption/Chacha20Poly1305.php + + - + message: '#^Class "Jose\\Experimental\\KeyEncryption\\RSAOAEP384" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/KeyEncryption/RSAOAEP384.php + + - + message: '#^Class "Jose\\Experimental\\KeyEncryption\\RSAOAEP512" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/KeyEncryption/RSAOAEP512.php + + - + message: '#^Class "Jose\\Experimental\\Signature\\ES256K" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\ECDSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/Signature/ES256K.php + + - + message: '#^Class "Jose\\Experimental\\Signature\\HS1" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\HMAC"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/Signature/HS1.php + + - + message: '#^Class "Jose\\Experimental\\Signature\\HS256_64" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\HMAC"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/Signature/HS256_64.php + + - + message: '#^Class "Jose\\Experimental\\Signature\\RS1" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\RSAPKCS1"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Experimental/Signature/RS1.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\AlgorithmChecker has parameter \$protectedHeader with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/AlgorithmChecker.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\AudienceChecker has parameter \$protectedHeader with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/AudienceChecker.php + + - + message: '#^Invalid type object to throw\.$#' + identifier: throw.notThrowable + count: 3 + path: ../src/Library/Checker/AudienceChecker.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\CallableChecker has parameter \$protectedHeaderOnly with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/CallableChecker.php + + - + message: '#^Class Jose\\Component\\Checker\\ClaimCheckerManager is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/ClaimCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\ClaimCheckerManager\:\:check\(\) has parameter \$claims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/ClaimCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\ClaimCheckerManager\:\:check\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/ClaimCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\ClaimCheckerManager\:\:checkMandatoryClaims\(\) has parameter \$claims with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/ClaimCheckerManager.php + + - + message: '#^Class Jose\\Component\\Checker\\ClaimCheckerManagerFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/ClaimCheckerManagerFactory.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Checker/ClaimCheckerManagerFactory.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\ExpirationTimeChecker has parameter \$allowedTimeDrift with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/ExpirationTimeChecker.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\ExpirationTimeChecker has parameter \$protectedHeaderOnly with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/ExpirationTimeChecker.php + + - + message: '#^Class Jose\\Component\\Checker\\HeaderCheckerManager is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkCriticalHeader\(\) has parameter \$checkedHeaderParameters with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkCriticalHeader\(\) has parameter \$header with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkCriticalHeader\(\) has parameter \$protected with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header1 with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header2 with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkHeaders\(\) has parameter \$header with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkHeaders\(\) has parameter \$protected with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkMandatoryHeaderParameters\(\) has parameter \$protected with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkMandatoryHeaderParameters\(\) has parameter \$unprotected with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/HeaderCheckerManager.php + + - + message: '#^Class Jose\\Component\\Checker\\HeaderCheckerManagerFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/HeaderCheckerManagerFactory.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Checker/HeaderCheckerManagerFactory.php + + - + message: '#^Class "Jose\\Component\\Checker\\InvalidClaimException" is not allowed to extend "Exception"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Checker/InvalidClaimException.php + + - + message: '#^Class Jose\\Component\\Checker\\InvalidClaimException is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/InvalidClaimException.php + + - + message: '#^Class "Jose\\Component\\Checker\\InvalidHeaderException" is not allowed to extend "Exception"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Checker/InvalidHeaderException.php + + - + message: '#^Class Jose\\Component\\Checker\\InvalidHeaderException is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/InvalidHeaderException.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\IsEqualChecker has parameter \$protectedHeaderOnly with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/IsEqualChecker.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\IssuedAtChecker has parameter \$allowedTimeDrift with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/IssuedAtChecker.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\IssuedAtChecker has parameter \$protectedHeaderOnly with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/IssuedAtChecker.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\IssuerChecker has parameter \$protectedHeader with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/IssuerChecker.php + + - + message: '#^Invalid type object to throw\.$#' + identifier: throw.notThrowable + count: 2 + path: ../src/Library/Checker/IssuerChecker.php + + - + message: '#^Method Jose\\Component\\Checker\\IssuerChecker\:\:__construct\(\) has parameter \$issuers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Checker/IssuerChecker.php + + - + message: '#^Class "Jose\\Component\\Checker\\MissingMandatoryClaimException" is not allowed to extend "Exception"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Checker/MissingMandatoryClaimException.php + + - + message: '#^Class Jose\\Component\\Checker\\MissingMandatoryClaimException is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/MissingMandatoryClaimException.php + + - + message: '#^Class "Jose\\Component\\Checker\\MissingMandatoryHeaderParameterException" is not allowed to extend "Exception"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Checker/MissingMandatoryHeaderParameterException.php + + - + message: '#^Class Jose\\Component\\Checker\\MissingMandatoryHeaderParameterException is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Checker/MissingMandatoryHeaderParameterException.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\NotBeforeChecker has parameter \$allowedTimeDrift with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/NotBeforeChecker.php + + - + message: '#^Constructor in Jose\\Component\\Checker\\NotBeforeChecker has parameter \$protectedHeaderOnly with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Checker/NotBeforeChecker.php + + - + message: '#^Method Jose\\Component\\Checker\\TokenTypeSupport\:\:retrieveTokenHeaders\(\) has parameter \$protectedHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Checker/TokenTypeSupport.php + + - + message: '#^Method Jose\\Component\\Checker\\TokenTypeSupport\:\:retrieveTokenHeaders\(\) has parameter \$unprotectedHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Checker/TokenTypeSupport.php + + - + message: '#^Class "Jose\\Component\\Console\\AddKeyIntoKeysetCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/AddKeyIntoKeysetCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\EcKeyGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/EcKeyGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createECKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/EcKeyGeneratorCommand.php + + - + message: '#^Cannot cast mixed to int\.$#' + identifier: cast.int + count: 1 + path: ../src/Library/Console/EcKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\EcKeysetGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/EcKeysetGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createECKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/EcKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\GeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/GeneratorCommand.php + + - + message: '#^Method Jose\\Component\\Console\\GeneratorCommand\:\:configure\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Console/GeneratorCommand.php + + - + message: '#^Method Jose\\Component\\Console\\GeneratorCommand\:\:getOptions\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Console/GeneratorCommand.php + + - + message: '#^Method Jose\\Component\\Console\\GeneratorCommand\:\:getOptions\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Console/GeneratorCommand.php + + - + message: '#^Method Jose\\Component\\Console\\GeneratorCommand\:\:isEnabled\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Console/GeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\GetThumbprintCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/GetThumbprintCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\JKULoaderCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/JKULoaderCommand.php + + - + message: '#^Constructor in Jose\\Component\\Console\\JKULoaderCommand has parameter \$name with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Console/JKULoaderCommand.php + + - + message: '#^Method Jose\\Component\\Console\\JKULoaderCommand\:\:__construct\(\) has parameter \$name with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Console/JKULoaderCommand.php + + - + message: '#^Method Jose\\Component\\Console\\JKULoaderCommand\:\:__construct\(\) has parameter \$name with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Console/JKULoaderCommand.php + + - + message: '#^Access to undefined constant Jose\\Component\\Console\\KeyAnalyzerCommand\:\:SUCCESS\.$#' + identifier: classConstant.notFound + count: 1 + path: ../src/Library/Console/KeyAnalyzerCommand.php + + - + message: '#^Method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:__invoke\(\) should return int but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Console/KeyAnalyzerCommand.php + + - + message: '#^Method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:configure\(\) is protected, but since the containing class is final, it can be private\.$#' + identifier: ergebnis.privateInFinalClass + count: 1 + path: ../src/Library/Console/KeyAnalyzerCommand.php + + - + message: '#^Parameter \#1 \$input of method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:getKey\(\) expects Symfony\\Component\\Console\\Input\\InputInterface, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/KeyAnalyzerCommand.php + + - + message: '#^Undefined variable\: \$input$#' + identifier: variable.undefined + count: 1 + path: ../src/Library/Console/KeyAnalyzerCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\KeyFileLoaderCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/KeyFileLoaderCommand.php + + - + message: '#^Access to undefined constant Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:SUCCESS\.$#' + identifier: classConstant.notFound + count: 1 + path: ../src/Library/Console/KeysetAnalyzerCommand.php + + - + message: '#^Method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:__invoke\(\) should return int but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Console/KeysetAnalyzerCommand.php + + - + message: '#^Method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:configure\(\) is protected, but since the containing class is final, it can be private\.$#' + identifier: ergebnis.privateInFinalClass + count: 1 + path: ../src/Library/Console/KeysetAnalyzerCommand.php + + - + message: '#^Parameter \#1 \$input of method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:getKeyset\(\) expects Symfony\\Component\\Console\\Input\\InputInterface, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/KeysetAnalyzerCommand.php + + - + message: '#^Parameter \#1 \$jwk of method Jose\\Component\\KeyManagement\\Analyzer\\KeyAnalyzerManager\:\:analyze\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/KeysetAnalyzerCommand.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/KeysetAnalyzerCommand.php + + - + message: '#^Undefined variable\: \$input$#' + identifier: variable.undefined + count: 1 + path: ../src/Library/Console/KeysetAnalyzerCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\MergeKeysetCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/MergeKeysetCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\NoneKeyGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/NoneKeyGeneratorCommand.php + + - + message: '#^Parameter \#1 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createNoneKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/NoneKeyGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\ObjectOutputCommand" is not allowed to extend "Symfony\\Component\\Console\\Command\\Command"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/ObjectOutputCommand.php + + - + message: '#^Method Jose\\Component\\Console\\ObjectOutputCommand\:\:prepareJsonOutput\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Console/ObjectOutputCommand.php + + - + message: '#^Cannot cast mixed to int\.$#' + identifier: cast.int + count: 1 + path: ../src/Library/Console/OctKeyGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\OctKeyGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/OctKeyGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOctKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/OctKeyGeneratorCommand.php + + - + message: '#^Cannot cast mixed to int\.$#' + identifier: cast.int + count: 2 + path: ../src/Library/Console/OctKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\OctKeysetGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/OctKeysetGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOctKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/OctKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\OkpKeyGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/OkpKeyGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOKPKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/OkpKeyGeneratorCommand.php + + - + message: '#^Cannot cast mixed to int\.$#' + identifier: cast.int + count: 1 + path: ../src/Library/Console/OkpKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\OkpKeysetGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/OkpKeysetGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOKPKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/OkpKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\OptimizeRsaKeyCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/OptimizeRsaKeyCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\P12CertificateLoaderCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/P12CertificateLoaderCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\PemConverterCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/PemConverterCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\PublicKeyCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/PublicKeyCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\PublicKeysetCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/PublicKeysetCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\RotateKeysetCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/RotateKeysetCommand.php + + - + message: '#^Cannot cast mixed to int\.$#' + identifier: cast.int + count: 1 + path: ../src/Library/Console/RsaKeyGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\RsaKeyGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/RsaKeyGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createRSAKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/RsaKeyGeneratorCommand.php + + - + message: '#^Cannot cast mixed to int\.$#' + identifier: cast.int + count: 2 + path: ../src/Library/Console/RsaKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\RsaKeysetGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/RsaKeysetGeneratorCommand.php + + - + message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createRSAKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Console/RsaKeysetGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\SecretKeyGeneratorCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/SecretKeyGeneratorCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\X509CertificateLoaderCommand" is not allowed to extend "Jose\\Component\\Console\\GeneratorCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/X509CertificateLoaderCommand.php + + - + message: '#^Class "Jose\\Component\\Console\\X5ULoaderCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Console/X5ULoaderCommand.php + + - + message: '#^Constructor in Jose\\Component\\Console\\X5ULoaderCommand has parameter \$name with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Console/X5ULoaderCommand.php + + - + message: '#^Method Jose\\Component\\Console\\X5ULoaderCommand\:\:__construct\(\) has parameter \$name with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Console/X5ULoaderCommand.php + + - + message: '#^Method Jose\\Component\\Console\\X5ULoaderCommand\:\:__construct\(\) has parameter \$name with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Console/X5ULoaderCommand.php + + - + message: '#^Constructor in Jose\\Component\\Core\\AlgorithmManagerFactory has parameter \$algorithms with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Core/AlgorithmManagerFactory.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Core/AlgorithmManagerFactory.php + + - + message: '#^Method Jose\\Component\\Core\\AlgorithmManagerFactory\:\:all\(\) should return array\ but returns array\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Core/AlgorithmManagerFactory.php + + - + message: '#^Parameter \#1 \$algorithms of class Jose\\Component\\Core\\AlgorithmManager constructor expects iterable\, list\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/AlgorithmManagerFactory.php + + - + message: '#^Property Jose\\Component\\Core\\AlgorithmManagerFactory\:\:\$algorithms type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/AlgorithmManagerFactory.php + + - + message: '#^Class Jose\\Component\\Core\\JWK is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Core/JWK.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Core/JWK.php + + - + message: '#^Method Jose\\Component\\Core\\JWK\:\:__construct\(\) has parameter \$values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWK.php + + - + message: '#^Method Jose\\Component\\Core\\JWK\:\:all\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWK.php + + - + message: '#^Method Jose\\Component\\Core\\JWK\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWK.php + + - + message: '#^Property Jose\\Component\\Core\\JWK\:\:\$values type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWK.php + + - + message: '#^Class Jose\\Component\\Core\\JWKSet implements generic interface IteratorAggregate but does not specify its types\: TKey, TValue$#' + identifier: missingType.generics + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Class Jose\\Component\\Core\\JWKSet is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:all\(\) should return array\ but returns array\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:canKeyBeUsedWithAlgorithm\(\) has parameter \$algorithm with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:convertKeyOpsToKeyUse\(\) has parameter \$key_ops with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:createFromKeyData\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:doesKeySatisfyRestrictions\(\) has parameter \$restrictions with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:get\(\) should return Jose\\Component\\Core\\JWK but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:selectKey\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:selectKey\(\) has parameter \$algorithm with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:selectKey\(\) has parameter \$algorithm with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:selectKey\(\) should return Jose\\Component\\Core\\JWK\|null but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:sortKeys\(\) has parameter \$a with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWKSet\:\:sortKeys\(\) has parameter \$b with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Only numeric types are allowed in \+, int\|true given on the right side\.$#' + identifier: plus.rightNonNumeric + count: 2 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Parameter \#1 \$values of class Jose\\Component\\Core\\JWK constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Parameter \#2 \$key of method Jose\\Component\\Core\\JWKSet\:\:canKeyBeUsedFor\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Parameter \#2 \$key of method Jose\\Component\\Core\\JWKSet\:\:canKeyBeUsedWithAlgorithm\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Parameter \#2 \$key of method Jose\\Component\\Core\\JWKSet\:\:doesKeySatisfyRestrictions\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Parameter \#2 \$mode of function count expects 0\|1, int given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Property Jose\\Component\\Core\\JWKSet\:\:\$keys type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/JWKSet.php + + - + message: '#^Method Jose\\Component\\Core\\JWT\:\:getPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Core/JWT.php + + - + message: '#^Comparison operation "\>" between 0 and 1 is always false\.$#' + identifier: greater.alwaysFalse + count: 1 + path: ../src/Library/Core/Util/Base64UrlSafe.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:safeSubstr\(\) has parameter \$length with no type specified\.$#' + identifier: missingType.parameter + count: 1 + path: ../src/Library/Core/Util/Base64UrlSafe.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:safeSubstr\(\) has parameter \$length with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Core/Util/Base64UrlSafe.php + + - + message: '#^Parameter \#3 \$length of function substr expects int\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/Util/Base64UrlSafe.php + + - + message: '#^Variable \$i might not be defined\.$#' + identifier: variable.undefined + count: 2 + path: ../src/Library/Core/Util/Base64UrlSafe.php + + - + message: '#^Parameter \#1 \$number of static method Brick\\Math\\BigInteger\:\:fromBase\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/Util/BigInteger.php + + - + message: '#^Binary operation "\." between ''30740201010420'' and mixed results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Binary operation "\." between ''30770201010420'' and mixed results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Binary operation "\." between ''3081a40201010430'' and mixed results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Binary operation "\." between ''3081dc0201010442'' and mixed results in an error\.$#' + identifier: binaryOp.invalid + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Cannot access offset ''d'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Cannot access offset ''x'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Cannot access offset ''y'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Cannot cast mixed to string\.$#' + identifier: cast.string + count: 3 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 4 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\ECKey\:\:createECKey\(\) has parameter \$values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\ECKey\:\:createECKeyUsingOpenSSL\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Parameter \#1 \$private_key of function openssl_pkey_get_private expects array\|OpenSSLAsymmetricKey\|OpenSSLCertificate\|string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/Util/ECKey.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\ECSignature\:\:readAsn1Content\(\) has parameter \$position that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Core/Util/ECSignature.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\ECSignature\:\:readAsn1Integer\(\) has parameter \$position that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Core/Util/ECSignature.php + + - + message: '#^Strict comparison using \=\=\= between ''30'' and ''81'' will always evaluate to false\.$#' + identifier: identical.alwaysFalse + count: 1 + path: ../src/Library/Core/Util/ECSignature.php + + - + message: '#^Binary operation "\^" between non\-empty\-string and 1 results in an error\.$#' + identifier: binaryOp.invalid + count: 2 + path: ../src/Library/Core/Util/Ecc/Curve.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Curve\:\:getPoint\(\) has parameter \$order with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Core/Util/Ecc/Curve.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Curve\:\:getPoint\(\) has parameter \$order with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Core/Util/Ecc/Curve.php + + - + message: '#^Parameter \#3 \$cond of static method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:cswap\(\) expects int, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Core/Util/Ecc/Curve.php + + - + message: '#^Constructor in Jose\\Component\\Core\\Util\\Ecc\\Point has parameter \$infinity with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:create\(\) has parameter \$order with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:create\(\) has parameter \$order with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:cswapBigInteger\(\) has parameter \$sa that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:cswapBigInteger\(\) has parameter \$sb that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:cswapBoolean\(\) has parameter \$a that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:cswapBoolean\(\) has parameter \$b that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#1 \$a is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$infinity\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#1 \$sa is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$order\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#1 \$sa is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$x\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#1 \$sa is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$y\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#2 \$b is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$infinity\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#2 \$sb is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$order\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#2 \$sb is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$x\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Parameter \#2 \$sb is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$y\.$#' + identifier: argument.byRef + count: 1 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$infinity is assigned outside of the constructor\.$#' + identifier: property.readOnlyAssignNotInConstructor + count: 2 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$order is assigned outside of the constructor\.$#' + identifier: property.readOnlyAssignNotInConstructor + count: 2 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$x is assigned outside of the constructor\.$#' + identifier: property.readOnlyAssignNotInConstructor + count: 2 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$y is assigned outside of the constructor\.$#' + identifier: property.readOnlyAssignNotInConstructor + count: 2 + path: ../src/Library/Core/Util/Ecc/Point.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 2 + path: ../src/Library/Core/Util/KeyChecker.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 5 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\RSAKey\:\:getCoefficient\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\RSAKey\:\:getPrivateExponent\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Method Jose\\Component\\Core\\Util\\RSAKey\:\:toArray\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Parameter \#1 \$number of static method Brick\\Math\\BigInteger\:\:fromBase\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Parameter \#1 \$value of method Jose\\Component\\Core\\Util\\RSAKey\:\:convertBase64StringToBigInteger\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 8 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Parameter \#1 \$value of method Jose\\Component\\Core\\Util\\RSAKey\:\:fromBase64ToInteger\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 10 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Property Jose\\Component\\Core\\Util\\RSAKey\:\:\$values type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Core/Util/RSAKey.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CBCHS256" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/A128CBCHS256.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128GCM" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/A128GCM.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A192CBCHS384" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/A192CBCHS384.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A192GCM" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/A192GCM.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CBCHS512" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/A256CBCHS512.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256GCM" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/A256GCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:calculateAuthenticationTag\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:calculateAuthenticationTag\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:decryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:decryptContent\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) has parameter \$tag that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) has parameter \$tag with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) has parameter \$tag with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) never assigns null to &\$tag so it can be removed from the by\-ref type\.$#' + identifier: parameterByRef.unusedType + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:getIVSize\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:isTagValid\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:isTagValid\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Parameter \#3 \$length of function substr expects int\|null, float\|int\<1, max\> given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:decryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:decryptContent\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:encryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:encryptContent\(\) has parameter \$tag that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:encryptContent\(\) has parameter \$tag with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:encryptContent\(\) has parameter \$tag with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:encryptContent\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:getIVSize\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryptionAlgorithm\:\:decryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryptionAlgorithm.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryptionAlgorithm\:\:encryptContent\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryptionAlgorithm.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryptionAlgorithm\:\:encryptContent\(\) has parameter \$tag that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryptionAlgorithm.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryptionAlgorithm\:\:encryptContent\(\) has parameter \$tag with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryptionAlgorithm.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryptionAlgorithm\:\:encryptContent\(\) has parameter \$tag with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Algorithm/ContentEncryptionAlgorithm.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A128GCMKW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/A128GCMKW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A128KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/A128KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A192GCMKW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/A192GCMKW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A192KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/A192KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A256GCMKW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/A256GCMKW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A256KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/A256KW.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW\:\:getKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW\:\:getKeyManagementMode\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW\:\:unwrapKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW\:\:wrapKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESGCMKW\:\:wrapKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Parameter \#1 \$src of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:encodeUnpadded\(\) expects string, string\|null given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW\:\:getKeyManagementMode\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW\:\:unwrapKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW\:\:wrapKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AESKW\:\:wrapKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AESKW.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 3 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:calculateAgreementKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getAgreementKey\(\) has parameter \$additional_header_values that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getAgreementKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getKeyManagementMode\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getKeysFromPrivateKeyAndHeader\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getKeysFromPublicKey\(\) has parameter \$additional_header_values that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getKeysFromPublicKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH\:\:getKeysFromPublicKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Parameter \#3 \$length of function substr expects int\|null, float\|int\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDHAESKW\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDHAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDHAESKW\:\:getKeyManagementMode\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDHAESKW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHES" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHES.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESA128KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESA128KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESA192KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESA192KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESA256KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESA256KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDHAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW\:\:unwrapAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW\:\:unwrapAgreementKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW\:\:wrapAgreementKey\(\) has parameter \$additional_header_values that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW\:\:wrapAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHESAESKW\:\:wrapAgreementKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHESAESKW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSS" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDH"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSS\:\:getAgreementKey\(\) has parameter \$additional_header_values that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSS.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSS\:\:getAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSS.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSA128KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSA128KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSA192KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSA192KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSA256KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSA256KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\AbstractECDHAESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW\:\:unwrapAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW\:\:unwrapAgreementKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW\:\:wrapAgreementKey\(\) has parameter \$additional_header_values that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW\:\:wrapAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\ECDHSSAESKW\:\:wrapAgreementKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/ECDHSSAESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) has parameter \$additionalHeaderValues that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/KeyAgreement.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/KeyAgreement.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:unwrapAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/KeyAgreementWithKeyWrapping.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:wrapAgreementKey\(\) has parameter \$additional_header_values that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/KeyAgreementWithKeyWrapping.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:wrapAgreementKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/KeyAgreementWithKeyWrapping.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyEncryption\:\:encryptKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/KeyEncryption.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyWrapping\:\:wrapKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/KeyWrapping.php + + - + message: '#^Binary operation "\." between mixed and "\\000" results in an error\.$#' + identifier: binaryOp.invalid + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Constructor in Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW has parameter \$nb_count with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Constructor in Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW has parameter \$salt_size with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 3 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:checkHeaderAdditionalParameters\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:checkHeaderAlgorithm\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:getKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:getKeyManagementMode\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:unwrapKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:wrapKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW\:\:wrapKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Parameter \#1 \$algo of function hash_pbkdf2 expects non\-falsy\-string, string given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, int given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Parameter \#4 \$iterations of function hash_pbkdf2 expects int\<1, max\>, int given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Parameter \#5 \$length of function hash_pbkdf2 expects int\<0, max\>, int given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2HS256A128KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2HS256A128KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2HS384A192KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2HS384A192KW.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2HS512A256KW" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\PBES2AESKW"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/PBES2HS512A256KW.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA\:\:checkKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA\:\:decryptKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA\:\:encryptKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA\:\:encryptKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA\:\:getHashAlgorithm\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA\:\:getKeyManagementMode\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA15" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA15.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA15\:\:getHashAlgorithm\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSA15.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSAOAEP" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSAOAEP.php + + - + message: '#^Class "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSAOAEP256" is not allowed to extend "Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/RSAOAEP256.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Util\\ConcatKDF\:\:isEmpty\(\) has parameter \$value with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/ConcatKDF.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Util\\RSACrypt\:\:decrypt\(\) has parameter \$hash with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Util\\RSACrypt\:\:decrypt\(\) has parameter \$hash with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Util\\RSACrypt\:\:encrypt\(\) has parameter \$hash with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Util\\RSACrypt\:\:encrypt\(\) has parameter \$hash with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, int given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Parameter \#3 \$hash of static method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Util\\RSACrypt\:\:getRSAESOAEP\(\) expects Jose\\Component\\Core\\Util\\Hash, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Variable static method call on Jose\\Component\\Core\\Util\\Hash\.$#' + identifier: staticMethod.dynamicName + count: 2 + path: ../src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php + + - + message: '#^Class Jose\\Component\\Encryption\\JWE is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Constructor in Jose\\Component\\Encryption\\JWE has parameter \$aad with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Constructor in Jose\\Component\\Encryption\\JWE has parameter \$encodedSharedProtectedHeader with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Constructor in Jose\\Component\\Encryption\\JWE has parameter \$recipients with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Constructor in Jose\\Component\\Encryption\\JWE has parameter \$sharedHeader with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Constructor in Jose\\Component\\Encryption\\JWE has parameter \$sharedProtectedHeader with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$aad with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$ciphertext with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$encodedSharedProtectedHeader with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$encodedSharedProtectedHeader with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$recipients with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$sharedHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$sharedProtectedHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getAAD\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getCiphertext\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getIV\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getRecipient\(\) should return Jose\\Component\\Encryption\\Recipient but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getRecipients\(\) should return array\ but returns array\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getSharedHeader\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getSharedProtectedHeader\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getTag\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWE.php + + - + message: '#^Call to function is_countable\(\) with array will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Cannot access offset ''header'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Cannot access offset ''key'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Cannot access offset ''key_encryption_algorithm'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Cannot access offset ''sender_key'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Cannot call method getHeader\(\) on mixed\.$#' + identifier: method.nonObject + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Class Jose\\Component\\Encryption\\JWEBuilder is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:addRecipient\(\) has parameter \$recipientHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:checkAndSetContentEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header1 with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header2 with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:determineCEK\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:determineCEK\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:encryptJWE\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getContentEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyEncryptionAlgorithm\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyEncryptionAlgorithm\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyWrappingAlgorithm\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyWrappingAlgorithm\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyWrappingAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getKeyEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:processRecipient\(\) has parameter \$additionalHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:processRecipient\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:processRecipient\(\) has parameter \$recipient with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:withAAD\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:withSharedHeader\(\) has parameter \$sharedHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:withSharedProtectedHeader\(\) has parameter \$sharedProtectedHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \$algorithm of method Jose\\Component\\Core\\AlgorithmManager\:\:get\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \$ciphertext of class Jose\\Component\\Encryption\\JWE constructor expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \$header of class Jose\\Component\\Encryption\\Recipient constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, \(float\|int\) given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \$recipient of method Jose\\Component\\Encryption\\JWEBuilder\:\:processRecipient\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#2 \$header2 of method Jose\\Component\\Encryption\\JWEBuilder\:\:checkDuplicatedHeaderParameters\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#2 \$iv of class Jose\\Component\\Encryption\\JWE constructor expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#3 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyEncryption\:\:encryptKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#3 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyWrapping\:\:wrapKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#3 \$recipientKey of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#3 \$tag of class Jose\\Component\\Encryption\\JWE constructor expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#4 \$additionalHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyEncryption\:\:encryptKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#4 \$additionalHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyWrapping\:\:wrapKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#4 \$senderKey of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects Jose\\Component\\Core\\JWK\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#5 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#5 \$complete_header of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:wrapAgreementKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#5 \$recipientKey of method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#6 \$additionalHeaderValues of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#6 \$additional_header_values of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:wrapAgreementKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Parameter \#6 \$senderKey of method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) expects Jose\\Component\\Core\\JWK\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Property Jose\\Component\\Encryption\\JWEBuilder\:\:\$recipients type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Property Jose\\Component\\Encryption\\JWEBuilder\:\:\$sharedHeader type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Property Jose\\Component\\Encryption\\JWEBuilder\:\:\$sharedProtectedHeader type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEBuilder.php + + - + message: '#^Class Jose\\Component\\Encryption\\JWEBuilderFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Encryption/JWEBuilderFactory.php + + - + message: '#^Class Jose\\Component\\Encryption\\JWEDecrypter is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:checkCompleteHeader\(\) has parameter \$completeHeaders with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:checkIvSize\(\) has parameter \$iv with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptCEK\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptCEK\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) has parameter \$senderKey with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) has parameter \$successJwk that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) has parameter \$successJwk with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) has parameter \$successJwk with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKey\(\) has parameter \$jwe that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKey\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKey\(\) has parameter \$senderKey with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwe that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwk that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwk with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$jwk with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$senderKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptUsingKeySet\(\) has parameter \$senderKey with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:getContentEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:getKeyEncryptionAlgorithm\(\) has parameter \$completeHeaders with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#1 \$algorithm of method Jose\\Component\\Core\\AlgorithmManager\:\:get\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#1 \$key of static method Jose\\Component\\Core\\Util\\KeyChecker\:\:checkKeyAlgorithm\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#1 \$key of static method Jose\\Component\\Core\\Util\\KeyChecker\:\:checkKeyUsage\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#3 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyWrapping\:\:unwrapKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#3 \$header of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyEncryption\:\:decryptKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#3 \$recipientKey of method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptCEK\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#5 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter \#5 \$complete_header of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:unwrapAgreementKey\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Parameter &\$successJwk by\-ref type of method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) expects Jose\\Component\\Core\\JWK\|null, mixed given\.$#' + identifier: parameterByRef.type + count: 1 + path: ../src/Library/Encryption/JWEDecrypter.php + + - + message: '#^Class Jose\\Component\\Encryption\\JWEDecrypterFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Encryption/JWEDecrypterFactory.php + + - + message: '#^Class Jose\\Component\\Encryption\\JWELoader is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoader\:\:__construct\(\) has parameter \$headerCheckerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoader\:\:getHeaderCheckerManager\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoader\:\:loadAndDecryptWithKey\(\) has parameter \$recipient that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoader\:\:loadAndDecryptWithKey\(\) has parameter \$recipient with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoader\:\:loadAndDecryptWithKeySet\(\) has parameter \$recipient that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoader\:\:loadAndDecryptWithKeySet\(\) has parameter \$recipient with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoader\:\:processRecipient\(\) has parameter \$jwe that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWELoader.php + + - + message: '#^Class Jose\\Component\\Encryption\\JWELoaderFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoaderFactory\:\:__construct\(\) has parameter \$headerCheckerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoaderFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoaderFactory\:\:create\(\) has parameter \$headerCheckers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWELoaderFactory\:\:create\(\) has parameter \$serializers with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Parameter \#1 \$aliases of method Jose\\Component\\Checker\\HeaderCheckerManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Parameter \#1 \$encryptionAlgorithms of method Jose\\Component\\Encryption\\JWEDecrypterFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Parameter \#1 \$names of method Jose\\Component\\Encryption\\Serializer\\JWESerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/JWELoaderFactory.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWETokenSupport\:\:retrieveTokenHeaders\(\) has parameter \$protectedHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWETokenSupport.php + + - + message: '#^Method Jose\\Component\\Encryption\\JWETokenSupport\:\:retrieveTokenHeaders\(\) has parameter \$unprotectedHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/JWETokenSupport.php + + - + message: '#^Parameter &\$protectedHeader by\-ref type of method Jose\\Component\\Encryption\\JWETokenSupport\:\:retrieveTokenHeaders\(\) expects array\, array given\.$#' + identifier: parameterByRef.type + count: 1 + path: ../src/Library/Encryption/JWETokenSupport.php + + - + message: '#^Parameter &\$unprotectedHeader by\-ref type of method Jose\\Component\\Encryption\\JWETokenSupport\:\:retrieveTokenHeaders\(\) expects array\, array given\.$#' + identifier: parameterByRef.type + count: 2 + path: ../src/Library/Encryption/JWETokenSupport.php + + - + message: '#^Method Jose\\Component\\Encryption\\Recipient\:\:__construct\(\) has parameter \$encryptedKey with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Recipient.php + + - + message: '#^Method Jose\\Component\\Encryption\\Recipient\:\:__construct\(\) has parameter \$header with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Recipient.php + + - + message: '#^Method Jose\\Component\\Encryption\\Recipient\:\:getEncryptedKey\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Recipient.php + + - + message: '#^Method Jose\\Component\\Encryption\\Recipient\:\:getHeader\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Recipient.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\CompactSerializer\:\:serialize\(\) has parameter \$recipientIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/CompactSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\CompactSerializer\:\:serialize\(\) has parameter \$recipientIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Serializer/CompactSerializer.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 2 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:checkData\(\) has parameter \$data with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:checkData\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:processHeaders\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:processHeaders\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:serialize\(\) has parameter \$recipientIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:serialize\(\) has parameter \$recipientIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 6 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#1 \$header of class Jose\\Component\\Encryption\\Recipient constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#5 \$sharedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#6 \$sharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#7 \$encodedSharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 2 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:checkData\(\) has parameter \$data with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:checkData\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processHeaders\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processHeaders\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processRecipient\(\) has parameter \$recipient with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processRecipient\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:serialize\(\) has parameter \$recipientIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:serialize\(\) has parameter \$recipientIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 6 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#1 \$header of class Jose\\Component\\Encryption\\Recipient constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#1 \$recipient of method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processRecipient\(\) expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#2 \$encryptedKey of class Jose\\Component\\Encryption\\Recipient constructor expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#5 \$sharedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#6 \$sharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#7 \$encodedSharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Encryption/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JWESerializer\:\:serialize\(\) has parameter \$recipientIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializer.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JWESerializer\:\:serialize\(\) has parameter \$recipientIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializer.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializerManager.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JWESerializerManager\:\:serialize\(\) has parameter \$recipientIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializerManager.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JWESerializerManager\:\:serialize\(\) has parameter \$recipientIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializerManager.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JWESerializerManager\:\:unserialize\(\) has parameter \$name that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializerManager.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JWESerializerManager\:\:unserialize\(\) has parameter \$name with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializerManager.php + + - + message: '#^Method Jose\\Component\\Encryption\\Serializer\\JWESerializerManager\:\:unserialize\(\) has parameter \$name with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializerManager.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Encryption/Serializer/JWESerializerManagerFactory.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\Analyzer\\ES256KeyAnalyzer" is not allowed to extend "Jose\\Component\\KeyManagement\\Analyzer\\ESKeyAnalyzer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/Analyzer/ES256KeyAnalyzer.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\Analyzer\\ES384KeyAnalyzer" is not allowed to extend "Jose\\Component\\KeyManagement\\Analyzer\\ESKeyAnalyzer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/Analyzer/ES384KeyAnalyzer.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\Analyzer\\ES512KeyAnalyzer" is not allowed to extend "Jose\\Component\\KeyManagement\\Analyzer\\ESKeyAnalyzer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/Analyzer/ES512KeyAnalyzer.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\Analyzer\\ESKeyAnalyzer\:\:analyze\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/KeyManagement/Analyzer/ESKeyAnalyzer.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\Analyzer\\HS256KeyAnalyzer" is not allowed to extend "Jose\\Component\\KeyManagement\\Analyzer\\HSKeyAnalyzer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/Analyzer/HS256KeyAnalyzer.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\Analyzer\\HS384KeyAnalyzer" is not allowed to extend "Jose\\Component\\KeyManagement\\Analyzer\\HSKeyAnalyzer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/Analyzer/HS384KeyAnalyzer.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\Analyzer\\HS512KeyAnalyzer" is not allowed to extend "Jose\\Component\\KeyManagement\\Analyzer\\HSKeyAnalyzer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/Analyzer/HS512KeyAnalyzer.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\Analyzer\\HSKeyAnalyzer\:\:analyze\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/KeyManagement/Analyzer/HSKeyAnalyzer.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\Analyzer\\Message\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/Analyzer/Message.php + + - + message: '#^Class Jose\\Component\\KeyManagement\\Analyzer\\MessageBag implements generic interface IteratorAggregate but does not specify its types\: TKey, TValue$#' + identifier: missingType.generics + count: 1 + path: ../src/Library/KeyManagement/Analyzer/MessageBag.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\Analyzer\\MessageBag\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/Analyzer/MessageBag.php + + - + message: '#^Cannot call method get\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Library/KeyManagement/Analyzer/MixedKeyTypes.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 1 + path: ../src/Library/KeyManagement/Analyzer/MixedKeyTypes.php + + - + message: '#^Cannot call method get\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Library/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php + + - + message: '#^Cannot call method has\(\) on mixed\.$#' + identifier: method.nonObject + count: 1 + path: ../src/Library/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 1 + path: ../src/Library/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/KeyManagement/Analyzer/RsaAnalyzer.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 2 + path: ../src/Library/KeyManagement/Analyzer/UsageAnalyzer.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 1 + path: ../src/Library/KeyManagement/Analyzer/ZxcvbnKeyAnalyzer.php + + - + message: '#^Only booleans are allowed in a negated boolean, int\<0, max\> given\.$#' + identifier: booleanNot.exprNotBoolean + count: 1 + path: ../src/Library/KeyManagement/Analyzer/ZxcvbnKeyAnalyzer.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\JKUFactory" is not allowed to extend "Jose\\Component\\KeyManagement\\UrlKeySetFactory"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/JKUFactory.php + + - + message: '#^Class Jose\\Component\\KeyManagement\\JKUFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/KeyManagement/JKUFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JKUFactory\:\:loadFromUrl\(\) has parameter \$header with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JKUFactory.php + + - + message: '#^Parameter \#2 \$header of method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:getContent\(\) expects array\\|string\>, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/JKUFactory.php + + - + message: '#^Class Jose\\Component\\KeyManagement\\JWKFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromCertificate\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromCertificateFile\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKey\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKey\(\) has parameter \$password with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKey\(\) has parameter \$password with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKeyFile\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKeyFile\(\) has parameter \$password with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKeyFile\(\) has parameter \$password with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromPKCS12CertificateFile\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromSecret\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromValues\(\) has parameter \$values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromX509Resource\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromX5C\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromX5C\(\) has parameter \$x5c with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Parameter \#1 \$details of static method Jose\\Component\\KeyManagement\\KeyConverter\\RSAKey\:\:createFromKeyDetails\(\) expects array\, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Parameter \#1 \$key of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKey\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, \(float\|int\) given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Parameter \#3 \$length of function substr expects int\|null, float\|int\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/JWKFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:__construct\(\) has parameter \$data with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/ECKey.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:getSupportedCurves\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/ECKey.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:loadJWK\(\) has parameter \$jwk with no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/ECKey.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:loadPEM\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/ECKey.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:toArray\(\) return type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/ECKey.php + + - + message: '#^Property Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:\$values type has no value type specified in iterable type array\.$#' + identifier: missingType.iterableValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/ECKey.php + + - + message: '#^Cannot cast mixed to string\.$#' + identifier: cast.string + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 2 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:decodePem\(\) has parameter \$password with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:decodePem\(\) has parameter \$password with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadFromKey\(\) has parameter \$password with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadFromKey\(\) has parameter \$password with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadFromKeyFile\(\) has parameter \$password with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadFromKeyFile\(\) has parameter \$password with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromDER\(\) has parameter \$password with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromDER\(\) has parameter \$password with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromPEM\(\) has parameter \$password with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromPEM\(\) has parameter \$password with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:sanitizePEM\(\) has parameter \$pem that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$certificate of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromCertificate\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$details of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadECKey\(\) expects array\{type\: int, key\: string\}, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$details of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadOtherKeyTypes\(\) expects array\{key\: string\}, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadED25519Key\(\) expects array\{bits\: int, type\: int, key\: string, ed25519\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadED448Key\(\) expects array\{bits\: int, type\: int, key\: string, ed448\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadX25519Key\(\) expects array\{bits\: int, type\: int, key\: string, x25519\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadX448Key\(\) expects array\{bits\: int, type\: int, key\: string, x448\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$pem of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromPEM\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Parameter \#1 \$pem of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:sanitizePEM\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/KeyConverter.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/RSAKey.php + + - + message: '#^Parameter \#1 \$data of class Jose\\Component\\KeyManagement\\KeyConverter\\RSAKey constructor expects array\, array given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/KeyManagement/KeyConverter/RSAKey.php + + - + message: '#^Call to an undefined method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:sendPsrRequest\(\)\.$#' + identifier: method.notFound + count: 1 + path: ../src/Library/KeyManagement/UrlKeySetFactory.php + + - + message: '#^Call to function assert\(\) with true will always evaluate to true\.$#' + identifier: function.alreadyNarrowedType + count: 1 + path: ../src/Library/KeyManagement/UrlKeySetFactory.php + + - + message: '#^Instanceof between Symfony\\Contracts\\HttpClient\\HttpClientInterface and Symfony\\Contracts\\HttpClient\\HttpClientInterface will always evaluate to true\.$#' + identifier: instanceof.alwaysTrue + count: 2 + path: ../src/Library/KeyManagement/UrlKeySetFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:enabledCache\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/KeyManagement/UrlKeySetFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:getContent\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/KeyManagement/UrlKeySetFactory.php + + - + message: '#^Method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:getContent\(\) should return string but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/KeyManagement/UrlKeySetFactory.php + + - + message: '#^Class "Jose\\Component\\KeyManagement\\X5UFactory" is not allowed to extend "Jose\\Component\\KeyManagement\\UrlKeySetFactory"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/KeyManagement/X5UFactory.php + + - + message: '#^Class Jose\\Component\\KeyManagement\\X5UFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/KeyManagement/X5UFactory.php + + - + message: '#^Class Jose\\Component\\NestedToken\\NestedTokenBuilder is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/NestedToken/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Component\\NestedToken\\NestedTokenBuilder\:\:create\(\) has parameter \$aad with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/NestedToken/NestedTokenBuilder.php + + - + message: '#^Method Jose\\Component\\NestedToken\\NestedTokenBuilder\:\:create\(\) has parameter \$aad with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/NestedToken/NestedTokenBuilder.php + + - + message: '#^Class Jose\\Component\\NestedToken\\NestedTokenBuilderFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/NestedToken/NestedTokenBuilderFactory.php + + - + message: '#^Class Jose\\Component\\NestedToken\\NestedTokenLoader is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Component\\NestedToken\\NestedTokenLoader\:\:load\(\) has parameter \$signature that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Component\\NestedToken\\NestedTokenLoader\:\:load\(\) has parameter \$signature with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/NestedToken/NestedTokenLoader.php + + - + message: '#^Method Jose\\Component\\NestedToken\\NestedTokenLoader\:\:load\(\) has parameter \$signature with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/NestedToken/NestedTokenLoader.php + + - + message: '#^Parameter \#2 \$recipient of method Jose\\Component\\NestedToken\\NestedTokenLoader\:\:checkContentTypeHeader\(\) expects int, int\|null given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/NestedToken/NestedTokenLoader.php + + - + message: '#^Class Jose\\Component\\NestedToken\\NestedTokenLoaderFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/NestedToken/NestedTokenLoaderFactory.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\ECDSA\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/ECDSA.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\ECDSA\:\:sign\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/ECDSA.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\ECDSA\:\:verify\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/ECDSA.php + + - + message: '#^Parameter \#1 \$signature of static method Jose\\Component\\Core\\Util\\ECSignature\:\:fromAsn1\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Algorithm/ECDSA.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\ES256" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\ECDSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/ES256.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\ES384" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\ECDSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/ES384.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\ES512" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\ECDSA"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/ES512.php + + - + message: '#^Call to internal static method ParagonIE_Sodium_Core_Ed25519\:\:publickey_from_secretkey\(\)\.$#' + identifier: staticMethod.internal + count: 1 + path: ../src/Library/Signature/Algorithm/EdDSA.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 1 + path: ../src/Library/Signature/Algorithm/EdDSA.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\HMAC\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/HMAC.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\HMAC\:\:getKey\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/HMAC.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\HMAC\:\:hash\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/HMAC.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\HMAC\:\:verify\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/HMAC.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\HS256" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\HMAC"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/HS256.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\HS384" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\HMAC"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/HS384.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\HS512" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\HMAC"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/HS512.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\PS256" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\RSAPSS"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/PS256.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\PS384" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\RSAPSS"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/PS384.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\PS512" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\RSAPSS"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/PS512.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\RS256" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\RSAPKCS1"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/RS256.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\RS384" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\RSAPKCS1"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/RS384.php + + - + message: '#^Class "Jose\\Component\\Signature\\Algorithm\\RS512" is not allowed to extend "Jose\\Component\\Signature\\Algorithm\\RSAPKCS1"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Algorithm/RS512.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPKCS1\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/RSAPKCS1.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPKCS1\:\:sign\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/RSAPKCS1.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPKCS1\:\:sign\(\) should return string but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Signature/Algorithm/RSAPKCS1.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPKCS1\:\:verify\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/RSAPKCS1.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPSS\:\:allowedKeyTypes\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/RSAPSS.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPSS\:\:sign\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/RSAPSS.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPSS\:\:verify\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Algorithm/RSAPSS.php + + - + message: '#^Control structures using switch should not be used\.$#' + identifier: ergebnis.noSwitch + count: 2 + path: ../src/Library/Signature/Algorithm/Util/RSA.php + + - + message: '#^Method Jose\\Component\\Signature\\Algorithm\\Util\\RSA\:\:sign\(\) should return non\-empty\-string but returns mixed\.$#' + identifier: return.type + count: 1 + path: ../src/Library/Signature/Algorithm/Util/RSA.php + + - + message: '#^Class Jose\\Component\\Signature\\JWS is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Constructor in Jose\\Component\\Signature\\JWS has parameter \$encodedPayload with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Constructor in Jose\\Component\\Signature\\JWS has parameter \$isPayloadDetached with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Method Jose\\Component\\Signature\\JWS\:\:__construct\(\) has parameter \$encodedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Method Jose\\Component\\Signature\\JWS\:\:__construct\(\) has parameter \$encodedPayload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Method Jose\\Component\\Signature\\JWS\:\:__construct\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) has parameter \$encodedProtectedHeader with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Method Jose\\Component\\Signature\\JWS\:\:getEncodedPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Method Jose\\Component\\Signature\\JWS\:\:getPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/JWS.php + + - + message: '#^Class Jose\\Component\\Signature\\JWSBuilder is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/JWSBuilder.php + + - + message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/JWSBuilder.php + + - + message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/JWSBuilder.php + + - + message: '#^Class Jose\\Component\\Signature\\JWSBuilderFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/JWSBuilderFactory.php + + - + message: '#^Class Jose\\Component\\Signature\\JWSLoader is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:__construct\(\) has parameter \$headerCheckerManager with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:getHeaderCheckerManager\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKey\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKey\(\) has parameter \$payload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKey\(\) has parameter \$signature that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKey\(\) has parameter \$signature with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$payload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$signature that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:loadAndVerifyWithKeySet\(\) has parameter \$signature with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoader\:\:processSignature\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoader.php + + - + message: '#^Class Jose\\Component\\Signature\\JWSLoaderFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/JWSLoaderFactory.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSLoaderFactory\:\:__construct\(\) has parameter \$headerCheckerManagerFactory with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSLoaderFactory.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSTokenSupport\:\:retrieveTokenHeaders\(\) has parameter \$protectedHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Signature/JWSTokenSupport.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSTokenSupport\:\:retrieveTokenHeaders\(\) has parameter \$unprotectedHeader that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Signature/JWSTokenSupport.php + + - + message: '#^Class Jose\\Component\\Signature\\JWSVerifier is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:checkPayload\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:checkPayload\(\) has parameter \$detachedPayload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:getInputToVerify\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:isPayloadEmpty\(\) has parameter \$payload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifySignature\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifySignature\(\) has parameter \$detachedPayload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifySignature\(\) has parameter \$successJwk that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifySignature\(\) has parameter \$successJwk with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifySignature\(\) has parameter \$successJwk with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifyWithKey\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifyWithKey\(\) has parameter \$detachedPayload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$detachedPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$detachedPayload with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$jwk that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$jwk with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Method Jose\\Component\\Signature\\JWSVerifier\:\:verifyWithKeySet\(\) has parameter \$jwk with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Parameter \#1 \$algorithm of method Jose\\Component\\Core\\AlgorithmManager\:\:get\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/JWSVerifier.php + + - + message: '#^Class Jose\\Component\\Signature\\JWSVerifierFactory is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/JWSVerifierFactory.php + + - + message: '#^Class "Jose\\Component\\Signature\\Serializer\\CompactSerializer" is not allowed to extend "Jose\\Component\\Signature\\Serializer\\Serializer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Serializer/CompactSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\CompactSerializer\:\:serialize\(\) has parameter \$signatureIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/CompactSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\CompactSerializer\:\:serialize\(\) has parameter \$signatureIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/Serializer/CompactSerializer.php + + - + message: '#^Parameter \#1 \$protectedHeader of method Jose\\Component\\Signature\\Serializer\\Serializer\:\:isPayloadEncoded\(\) expects array\, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/CompactSerializer.php + + - + message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/CompactSerializer.php + + - + message: '#^Class "Jose\\Component\\Signature\\Serializer\\JSONFlattenedSerializer" is not allowed to extend "Jose\\Component\\Signature\\Serializer\\Serializer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 4 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONFlattenedSerializer\:\:serialize\(\) has parameter \$signatureIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONFlattenedSerializer\:\:serialize\(\) has parameter \$signatureIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 3 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#1 \$payload of class Jose\\Component\\Signature\\JWS constructor expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#1 \$protectedHeader of method Jose\\Component\\Signature\\Serializer\\Serializer\:\:isPayloadEncoded\(\) expects array\, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#2 \$encodedPayload of class Jose\\Component\\Signature\\JWS constructor expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#3 \$encodedProtectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONFlattenedSerializer.php + + - + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' + identifier: foreach.nonIterable + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Cannot access offset ''signature'' on mixed\.$#' + identifier: offsetAccess.nonOffsetAccessible + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Class "Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer" is not allowed to extend "Jose\\Component\\Signature\\Serializer\\Serializer"\.$#' + identifier: ergebnis.noExtends + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 2 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processIsPayloadEncoded\(\) has parameter \$isPayloadEncoded with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processPayload\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processPayload\(\) has parameter \$isPayloadEncoded with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processPayload\(\) has parameter \$rawPayload with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:serialize\(\) has parameter \$signatureIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:serialize\(\) has parameter \$signatureIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#1 \$rawPayload of method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processPayload\(\) expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#1 \$signature of method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processHeaders\(\) expects array\{protected\?\: string, header\?\: array\\}, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#2 \$encodedPayload of class Jose\\Component\\Signature\\JWS constructor expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processIsPayloadEncoded\(\) expects array\, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#3 \$encodedProtectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects string\|null, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, mixed given\.$#' + identifier: argument.type + count: 1 + path: ../src/Library/Signature/Serializer/JSONGeneralSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JWSSerializer\:\:serialize\(\) has parameter \$signatureIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializer.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JWSSerializer\:\:serialize\(\) has parameter \$signatureIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializer.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializerManager.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JWSSerializerManager\:\:serialize\(\) has parameter \$signatureIndex with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializerManager.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JWSSerializerManager\:\:serialize\(\) has parameter \$signatureIndex with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializerManager.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JWSSerializerManager\:\:unserialize\(\) has parameter \$name that is passed by reference\.$#' + identifier: ergebnis.noParameterPassedByReference + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializerManager.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JWSSerializerManager\:\:unserialize\(\) has parameter \$name with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializerManager.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\JWSSerializerManager\:\:unserialize\(\) has parameter \$name with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializerManager.php + + - + message: '#^Language construct isset\(\) should not be used\.$#' + identifier: ergebnis.noIsset + count: 1 + path: ../src/Library/Signature/Serializer/JWSSerializerManagerFactory.php + + - + message: '#^Method Jose\\Component\\Signature\\Serializer\\Serializer\:\:isPayloadEncoded\(\) is not final, but since the containing class is abstract, it should be\.$#' + identifier: ergebnis.finalInAbstractClass + count: 1 + path: ../src/Library/Signature/Serializer/Serializer.php + + - + message: '#^Class Jose\\Component\\Signature\\Signature is neither abstract nor final\.$#' + identifier: ergebnis.final + count: 1 + path: ../src/Library/Signature/Signature.php + + - + message: '#^Method Jose\\Component\\Signature\\Signature\:\:__construct\(\) has parameter \$encodedProtectedHeader with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration + count: 1 + path: ../src/Library/Signature/Signature.php + + - + message: '#^Method Jose\\Component\\Signature\\Signature\:\:getEncodedProtectedHeader\(\) has a nullable return type declaration\.$#' + identifier: ergebnis.noNullableReturnTypeDeclaration + count: 1 + path: ../src/Library/Signature/Signature.php diff --git a/.ci-tools/phpstan.neon b/.ci-tools/phpstan.neon new file mode 100644 index 000000000..802b071ee --- /dev/null +++ b/.ci-tools/phpstan.neon @@ -0,0 +1,23 @@ +parameters: + level: max + scanDirectories: + - %rootDir%/../../../../phpunit/vendor + - %currentWorkingDirectory%/vendor + paths: + - %currentWorkingDirectory%/src + banned_code: + non_ignorable: false + checkUninitializedProperties: true + treatPhpDocTypesAsCertain: false + +includes: + - %currentWorkingDirectory%/.ci-tools/phpstan-baseline.neon + - %rootDir%/conf/bleedingEdge.neon + - %rootDir%/../../ekino/phpstan-banned-code/extension.neon + - %rootDir%/../phpstan-beberlei-assert/extension.neon + - %rootDir%/../phpstan-deprecation-rules/rules.neon + - %rootDir%/../phpstan-doctrine/extension.neon + - %rootDir%/../../ergebnis/phpstan-rules/rules.neon + - %rootDir%/../phpstan-phpunit/extension.neon + - %rootDir%/../phpstan-strict-rules/rules.neon + - %rootDir%/../phpstan-symfony/extension.neon diff --git a/.ci-tools/phpunit.xml.dist b/.ci-tools/phpunit.xml.dist new file mode 100644 index 000000000..0bd895235 --- /dev/null +++ b/.ci-tools/phpunit.xml.dist @@ -0,0 +1,33 @@ + + + + + + ./../tests + + + + + + + + + + + ./../src + + + ./../vendor + ./../tests + + + + + + diff --git a/.ci-tools/phpunit.xsd b/.ci-tools/phpunit.xsd new file mode 100644 index 000000000..73e7c2144 --- /dev/null +++ b/.ci-tools/phpunit.xsd @@ -0,0 +1,348 @@ + + + + + This Schema file defines the rules by which the XML configuration file of PHPUnit 12.3 may be structured. + + + + + + Root Element + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The main type specifying the document structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.ci-tools/rector.php b/.ci-tools/rector.php new file mode 100644 index 000000000..8b22bbc5b --- /dev/null +++ b/.ci-tools/rector.php @@ -0,0 +1,47 @@ +withAutoloadPaths(['/tools/.composer/vendor-bin/phpunit/vendor/autoload.php']); +} +$builder->withSets([ + SetList::DEAD_CODE, + LevelSetList::UP_TO_PHP_82, + DoctrineSetList::DOCTRINE_CODE_QUALITY, + DoctrineSetList::ANNOTATIONS_TO_ATTRIBUTES, + PHPUnitSetList::PHPUNIT_CODE_QUALITY, + PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES, + PHPUnitSetList::PHPUNIT_120, +]); +$builder->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true); +$builder->withPhpVersion(PhpVersion::PHP_82); +$builder->withPaths( + [ + __DIR__ . '/../src', + __DIR__ . '/../tests', + __DIR__ . '/../castor.php', + __DIR__ . '/../performance', + __DIR__ . '/ecs.php', + __DIR__ . '/rector.php', + ] +); +$builder->withSkip([ + PreferPHPUnitThisCallRector::class, + __DIR__ . '/../src/Library/Core/JWKSet.php', + __DIR__ . '/../src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php', + __DIR__ . '/../src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php', +]); +$builder->withParallel(); +$builder->withImportNames(); + +return $builder; diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 24c414838..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "composer" - directory: "/" - schedule: - interval: "weekly" - day: "friday" - versioning-strategy: "widen" - open-pull-requests-limit: 20 - allow: - - dependency-type: all - labels: ["Dependencies"] - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "monthly" - open-pull-requests-limit: 20 - labels: ["Dependencies"] diff --git a/.github/renovate-global.json b/.github/renovate-global.json new file mode 100644 index 000000000..8985ab95d --- /dev/null +++ b/.github/renovate-global.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "branchPrefix": "github-renovate/", + "dependencyDashboardTitle": "Dependency Dashboard self-hosted", + "gitAuthor": "Renovate Bot ", + "onboarding": true, + "onboardingBranch": "github-renovate/configure", + "platform": "github", + "repositories": ['Spomky-Labs/phpwa-demo'] +} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..212073383 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,391 @@ +name: 📁 PHP CI & Docker Build + +on: + push: + branches: [main] + tags: ['*'] + pull_request: ~ + workflow_dispatch: ~ + +env: + IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }} + PHPQA_IMAGE: ghcr.io/spomky-labs/phpqa + PHP_VERSION: 8.4 + ACTIONS_STEP_DEBUG: true + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + pre_checks: + name: "0️⃣ Pre-checks" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: "Check file permissions" + run: | + NON_EXECUTABLE=$(find . -type f -not -path './.git/*' -not -path './bin/console' -not -path './frankenphp/docker-entrypoint.sh' -not -path './link' -executable) + if [[ -n "$NON_EXECUTABLE" ]]; then + echo "Found non-executable files with executable permission:" + echo "$NON_EXECUTABLE" + exit 1 + fi + + - name: "Find non-printable ASCII characters" + run: | + if LC_ALL=C.UTF-8 find . -type f -name "*.php" -print0 | xargs -0 grep -PHn "[[:cntrl:]]"; then + echo "Non-printable ASCII characters found" + exit 1 + fi + + docker_lint: + name: "🐋 Lint Dockerfile" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: hadolint/hadolint-action@v3.1.0 + with: + dockerfile: ./Dockerfile + + prepare_dependencies: + name: "📦 Prepare Composer Dependencies" + needs: [pre_checks, docker_lint] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + outputs: + cache-key: ${{ steps.cache-key-generator.outputs.key }} + steps: + - uses: actions/checkout@v4 + + - id: cache-key-generator + run: echo "key=composer-${{ runner.os }}-${{ hashFiles('composer.lock') }}" >> $GITHUB_OUTPUT + + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ steps.cache-key-generator.outputs.key }} + restore-keys: | + composer-${{ runner.os }}- + + - uses: ramsey/composer-install@v3 + with: + dependency-versions: highest + composer-options: --optimize-autoloader + + phpstan: + name: "1️⃣ Static Analysis (PHPStan)" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ needs.prepare_dependencies.outputs.cache-key }} + - run: castor phpstan + + ecs: + name: "2️⃣ Coding Standards (ECS)" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ needs.prepare_dependencies.outputs.cache-key }} + - run: castor ecs + + rector: + name: "3️⃣ Refactoring (Rector)" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ needs.prepare_dependencies.outputs.cache-key }} + - run: castor rector + + validate: + name: "4️⃣ Validate composer.json" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ needs.prepare_dependencies.outputs.cache-key }} + - run: | + composer dump-autoload --optimize --strict-psr + composer validate --strict + composer normalize --dry-run --diff || true + + lint: + name: "5️⃣ Syntax Check" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + steps: + - uses: actions/checkout@v4 + - run: composer exec -- parallel-lint src tests + + check_licenses: + name: "6️⃣ License Check" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + steps: + - uses: actions/checkout@v4 + - run: castor check-licenses + + deptrac: + name: "7️⃣ Architecture Layer Check (Deptrac)" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ needs.prepare_dependencies.outputs.cache-key }} + - run: castor deptrac + + tests: + name: "8️⃣ Unit & Functional Tests" + needs: + - prepare_dependencies + - phpstan + - ecs + - rector + - lint + - validate + - check_licenses + - deptrac + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + env: + XDEBUG_MODE: coverage + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ needs.prepare_dependencies.outputs.cache-key }} + - name: Run PHPUnit + run: castor phpunit + - name: Cache PHPUnit result and coverage + if: always() + uses: actions/cache@v4 + with: + path: | + .ci-tools/.phpunit.cache + .ci-tools/coverage + key: phpunit-${{ needs.prepare_dependencies.outputs.cache-key }} + restore-keys: | + phpunit- + + infection: + name: "🧬 Mutation Testing" + needs: [prepare_dependencies, tests] + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + container: + image: ghcr.io/spomky-labs/phpqa:8.4 + env: + XDEBUG_MODE: coverage + steps: + - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + vendor + ~/.composer/cache + key: ${{ needs.prepare_dependencies.outputs.cache-key }} + - name: Restore PHPUnit result and coverage + uses: actions/cache@v4 + with: + path: | + .ci-tools/.phpunit.cache + .ci-tools/coverage + key: phpunit-${{ needs.prepare_dependencies.outputs.cache-key }} + restore-keys: | + phpunit- + - name: Execute Infection + run: castor infect + + exported_files: + name: "📁 Exported Files Check" + needs: [prepare_dependencies] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check exported files + run: | + EXPECTED=".env,Dockerfile,README.md,castor.php,compose.prod.yaml,compose.yaml,composer.json,composer.lock,importmap.php,symfony.lock" + CURRENT=$(git archive HEAD | tar --list | grep -v '/$' | grep -Ev '^(assets|bin|config|fixtures|frankenphp|migrations|public|src|templates|translations)/' | sort | paste -sd "," -) + echo "CURRENT = ${CURRENT}" + echo "EXPECTED = ${EXPECTED}" + if [[ "$CURRENT" != "$EXPECTED" ]]; then + echo "❌ Exported files do not match expected list" + exit 1 + fi + + prepare: + name: "🧰 Build Preparation" + needs: [tests] + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + outputs: + image_name: ${{ steps.normalize.outputs.name }} + short_sha: ${{ steps.sha.outputs.short }} + is_tag: ${{ steps.tag.outputs.is_tag }} + version: ${{ steps.tag.outputs.version }} + major: ${{ steps.tag.outputs.major }} + minor: ${{ steps.tag.outputs.minor }} + steps: + - uses: actions/checkout@v4 + - name: Normalize image name + id: normalize + run: echo "name=${IMAGE_NAME,,}" >> "$GITHUB_OUTPUT" + - name: Extract short SHA + id: sha + run: echo "short=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" + - name: Extract version from tag + id: tag + run: | + if [[ "${GITHUB_REF}" == refs/tags/* ]]; then + version="${GITHUB_REF#refs/tags/}" + major=$(cut -d. -f1 <<< "$version") + minor=$(cut -d. -f2 <<< "$version") + echo "is_tag=true" >> "$GITHUB_OUTPUT" + echo "version=$version" >> "$GITHUB_OUTPUT" + echo "major=$major" >> "$GITHUB_OUTPUT" + echo "minor=$minor" >> "$GITHUB_OUTPUT" + else + echo "is_tag=false" >> "$GITHUB_OUTPUT" + fi + + build-amd64: + name: "🐳 Build Docker (AMD64)" + needs: prepare + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push AMD64 image + uses: docker/build-push-action@v6 + with: + context: . + push: true + platforms: linux/amd64 + tags: | + ${{ needs.prepare.outputs.image_name }}:amd64 + ${{ needs.prepare.outputs.image_name }}:${{ needs.prepare.outputs.short_sha }}-amd64 + cache-from: type=gha + cache-to: type=gha,mode=max + + build-arm64: + name: "🐳 Build Docker (ARM64)" + needs: prepare + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push ARM64 image + uses: docker/build-push-action@v6 + with: + context: . + push: true + platforms: linux/arm64 + tags: | + ${{ needs.prepare.outputs.image_name }}:arm64 + ${{ needs.prepare.outputs.image_name }}:${{ needs.prepare.outputs.short_sha }}-arm64 + cache-from: type=gha + cache-to: type=gha,mode=max + + manifest: + name: "📦 Docker Manifest" + needs: [build-amd64, build-arm64, prepare] + runs-on: ubuntu-latest + env: + IMAGE_NAME: ${{ needs.prepare.outputs.image_name }} + SHORT_SHA: ${{ needs.prepare.outputs.short_sha }} + IS_TAG: ${{ needs.prepare.outputs.is_tag }} + VERSION: ${{ needs.prepare.outputs.version }} + MAJOR: ${{ needs.prepare.outputs.major }} + MINOR: ${{ needs.prepare.outputs.minor }} + GITHUB_REF: ${{ github.ref }} + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') + steps: + - uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Create and push Docker manifest + run: | + docker buildx imagetools create \ + --tag $IMAGE_NAME:$SHORT_SHA \ + $IMAGE_NAME:amd64 \ + $IMAGE_NAME:arm64 + + if [[ "$GITHUB_REF" == "refs/heads/main" ]]; then + docker buildx imagetools create \ + --tag $IMAGE_NAME:latest \ + $IMAGE_NAME:amd64 \ + $IMAGE_NAME:arm64 + fi + + if [[ "$IS_TAG" == "true" ]]; then + docker buildx imagetools create \ + --tag $IMAGE_NAME:$VERSION \ + --tag $IMAGE_NAME:$MAJOR \ + --tag $IMAGE_NAME:$MAJOR.$MINOR \ + $IMAGE_NAME:amd64 \ + $IMAGE_NAME:arm64 + fi diff --git a/.github/workflows/infection.yml b/.github/workflows/infection.yml deleted file mode 100644 index c5a6b51f7..000000000 --- a/.github/workflows/infection.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: "Infection" - -on: - push: - branches: - - "*.x" - -jobs: - mutation_testing: - name: "0️⃣ Mutation Testing" - runs-on: "ubuntu-latest" - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "8.3" - extensions: "gmp, json, mbstring, openssl, sqlite3, curl, uuid" - tools: castor - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "highest" - composer-options: "--optimize-autoloader" - - - name: "Execute Infection" - run: "castor infect" diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml deleted file mode 100644 index 0487ce5c5..000000000 --- a/.github/workflows/integrate.yml +++ /dev/null @@ -1,223 +0,0 @@ -name: "Integrate" - -on: - push: - branches: - - "*.x" - pull_request: null - -jobs: - byte_level: - name: "0️⃣ Byte-level" - runs-on: "ubuntu-latest" - steps: - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Check file permissions" - run: | - test "$(find . -type f -not -path './.git/*' -executable)" == "" - - - name: "Find non-printable ASCII characters" - run: | - ! LC_ALL=C.UTF-8 find . -type f -name "*.php" -print0 | xargs -0 -- grep -PHn "[^ -~]" - - syntax_errors: - name: "1️⃣ Syntax errors" - runs-on: "ubuntu-latest" - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "8.3" - extensions: "gmp, json, mbstring, openssl, sqlite3, curl, uuid, sodium" - tools: castor - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Fetch Git base reference" - run: "git fetch --depth=1 origin ${GITHUB_BASE_REF}" - - - name: "Validate Composer configuration" - run: "castor validate" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--optimize-autoloader" - - - name: "Cache dependencies" - uses: "actions/cache@v4" - id: "cache" - with: - path: "composer-cache" - key: "${{ runner.os }}-${{ hashFiles('**/composer.json') }}" - - - name: "Check source code for syntax errors" - run: "castor lint" - - unit_tests: - name: "2️⃣ Unit and functional tests" - needs: - - "byte_level" - - "syntax_errors" - strategy: - matrix: - operating-system: - - "ubuntu-latest" - php-version: - - "8.2" - - "8.3" - - "8.4" - dependencies: - - "lowest" - - "highest" - runs-on: ${{ matrix.operating-system }} - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "${{ matrix.php-version }}" - extensions: "gmp, json, mbstring, openssl, sqlite3, curl, uuid, sodium" - tools: castor - coverage: "xdebug" - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--optimize-autoloader" - - - name: "Execute unit tests" - run: "castor test --coverage-text" - - static_analysis: - name: "3️⃣ Static Analysis" - needs: - - "byte_level" - - "syntax_errors" - runs-on: "ubuntu-latest" - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "8.3" - extensions: "gmp, json, mbstring, openssl, sqlite3, curl, uuid, sodium" - tools: castor - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "highest" - composer-options: "--optimize-autoloader" - - - name: "Execute static analysis" - run: "castor stan" - - coding_standards: - name: "4️⃣ Coding Standards" - needs: - - "byte_level" - - "syntax_errors" - runs-on: "ubuntu-latest" - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "8.3" - extensions: "gmp, json, mbstring, openssl, sqlite3, curl, uuid, sodium" - tools: castor - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "highest" - composer-options: "--optimize-autoloader" - - - name: "Check adherence to EditorConfig" - uses: "greut/eclint-action@v0" - - - name: "Check coding style" - run: "castor cs" - - check_licenses: - name: "5️⃣ Check licenses" - needs: - - "byte_level" - - "syntax_errors" - runs-on: "ubuntu-latest" - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "8.3" - extensions: "gmp, json, mbstring, openssl, sqlite3, curl, uuid, sodium" - tools: castor - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "highest" - composer-options: "--optimize-autoloader" - - - name: "Check coding style" - run: "castor check-licenses" - - rector_checkstyle: - name: "6️⃣ Rector Checkstyle" - needs: - - "byte_level" - - "syntax_errors" - runs-on: "ubuntu-latest" - steps: - - name: "Set up PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "8.3" - extensions: "gmp, json, mbstring, openssl, sqlite3, curl, uuid, sodium" - tools: castor - coverage: "xdebug" - - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Install dependencies" - uses: "ramsey/composer-install@v3" - with: - dependency-versions: "lowest" - composer-options: "--optimize-autoloader" - - - name: "Execute Rector" - run: "castor rector" - - exported_files: - name: "7️⃣ Exported files" - needs: - - "byte_level" - - "syntax_errors" - runs-on: "ubuntu-latest" - steps: - - name: "Checkout code" - uses: "actions/checkout@v4" - - - name: "Check exported files" - run: | - EXPECTED="LICENSE,README.md,SECURITY.md,composer.json" - CURRENT="$(git archive HEAD | tar --list --exclude="src" --exclude="src/*" | paste -s -d ",")" - echo "CURRENT =${CURRENT}" - echo "EXPECTED=${EXPECTED}" - test "${CURRENT}" == "${EXPECTED}" diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 000000000..de79cb526 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,17 @@ +name: Renovate +on: + schedule: + # The "*" (#42, asterisk) character has special semantics in YAML, so this + # string has to be quoted. + - cron: '40 6 3 * *' +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + - name: Renovate Bot GitHub Action + uses: renovatebot/github-action@v41.0.3 + with: + configurationFile: .github/renovate-global.json + token: ${{ secrets.RENOVATE_TOKEN }} diff --git a/.gitignore b/.gitignore index 277c2fc20..1553eeb69 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ vendor/ src/Bundle/JoseFramework/var/ infection.txt .castor.stub.php +/tmp* +/.ci-tools/coverage diff --git a/.mergify.yml b/.mergify.yml deleted file mode 100644 index b81249e6f..000000000 --- a/.mergify.yml +++ /dev/null @@ -1,16 +0,0 @@ -pull_request_rules: - - name: Automatic merge - description: Merge when PR passes all branch protection and has label automerge - conditions: - - label = automerge - actions: - merge: - - name: Label conflicting pull requests - description: Add a label to a pull request with conflict to spot it easily - conditions: - - conflict - - '-closed' - actions: - label: - toggle: - - conflict diff --git a/SECURITY.md b/SECURITY.md index 596c78e38..ba77ed688 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,7 +4,8 @@ | Version | Supported | |---------|--------------------| -| 4.0.x | :white_check_mark: | +| 4.1.x | :white_check_mark: | +| 4.0.x | :x: | | 3.4.x | :white_check_mark: | | < 3.4.0 | :x: | diff --git a/castor.php b/castor.php index 2f17d7135..ca0cd5b76 100644 --- a/castor.php +++ b/castor.php @@ -2,144 +2,37 @@ declare(strict_types=1); +use Castor\Attribute\AsRawTokens; use Castor\Attribute\AsTask; use function Castor\context; +use function Castor\guard_min_version; use function Castor\io; +use function Castor\notify; use function Castor\run; -#[AsTask(description: 'Run mutation testing')] -function infect(int $minMsi = 0, int $minCoveredMsi = 0, bool $ci = false): void -{ - io()->title('Running infection'); - $nproc = run('nproc', quiet: true); - if (! $nproc->isSuccessful()) { - io()->error('Cannot determine the number of processors'); - return; - } - $threads = (int) $nproc->getOutput(); - $command = [ - 'php', - 'vendor/bin/infection', - sprintf('--min-msi=%s', $minMsi), - sprintf('--min-covered-msi=%s', $minCoveredMsi), - sprintf('--threads=%s', $threads), - ]; - if ($ci) { - $command[] = '--logger-github'; - $command[] = '-s'; - } - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'coverage', - ]) - ; - run($command, context: $context); -} - -#[AsTask(description: 'Run tests')] -function test(bool $coverageHtml = false, bool $coverageText = false, null|string $group = null): void -{ - io()->title('Running tests'); - $command = ['php', 'vendor/bin/phpunit', '--color']; - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - if ($coverageHtml) { - $command[] = '--coverage-html=build/coverage'; - $context = $context->withEnvironment([ - 'XDEBUG_MODE' => 'coverage', - ]); - } - if ($coverageText) { - $command[] = '--coverage-text'; - $context = $context->withEnvironment([ - 'XDEBUG_MODE' => 'coverage', - ]); - } - if ($group !== null) { - $command[] = sprintf('--group=%s', $group); - } - run($command, context: $context); -} - -#[AsTask(description: 'Coding standards check')] -function cs( - #[\Castor\Attribute\AsOption(description: 'Fix issues if possible')] - bool $fix = false, - #[\Castor\Attribute\AsOption(description: 'Clear cache')] - bool $clearCache = false -): void { - io()->title('Running coding standards check'); - $command = ['php', 'vendor/bin/ecs', 'check']; - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - if ($fix) { - $command[] = '--fix'; - } - if ($clearCache) { - $command[] = '--clear-cache'; - } - run($command, context: $context); -} - -#[AsTask(description: 'Running PHPStan')] -function stan(bool $baseline = false): void -{ - io()->title('Running PHPStan'); - $command = ['php', 'vendor/bin/phpstan', 'analyse']; - if ($baseline) { - $command[] = '--generate-baseline'; - } - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - run($command, context: $context); -} - -#[AsTask(description: 'Validate Composer configuration')] -function validate(): void -{ - io()->title('Validating Composer configuration'); - $command = ['composer', 'validate', '--strict']; - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - run($command, context: $context); - - $command = ['composer', 'dump-autoload', '--optimize', '--strict-psr']; - run($command, context: $context); -} +guard_min_version('v0.23.0'); /** * @param array $allowedLicenses */ -#[AsTask(description: 'Check licenses')] +#[AsTask(description: 'Check licenses.')] function checkLicenses( array $allowedLicenses = ['Apache-2.0', 'BSD-2-Clause', 'BSD-3-Clause', 'ISC', 'MIT', 'MPL-2.0', 'OSL-3.0'] ): void { io()->title('Checking licenses'); $allowedExceptions = []; $command = ['composer', 'licenses', '-f', 'json']; - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - $result = run($command, context: $context, quiet: true); + $context = context(); + $context->withEnvironment([ + 'XDEBUG_MODE' => 'off', + ]); + $context->withQuiet(); + $result = run($command, context: $context); if (! $result->isSuccessful()) { io()->error('Cannot determine licenses'); exit(1); } - $licenses = json_decode($result->getOutput(), true); + $licenses = json_decode((string) $result->getOutput(), true); $disallowed = array_filter( $licenses['dependencies'], static fn (array $info, $name) => ! in_array($name, $allowedExceptions, true) @@ -179,51 +72,234 @@ function checkLicenses( ->success('All licenses are allowed'); } -#[AsTask(description: 'Run Rector')] -function rector( - #[\Castor\Attribute\AsOption(description: 'Fix issues if possible')] - bool $fix = false, - #[\Castor\Attribute\AsOption(description: 'Clear cache')] - bool $clearCache = false -): void { - io()->title('Running Rector'); - $command = ['php', 'vendor/bin/rector', 'process', '--ansi']; - if (! $fix) { - $command[] = '--dry-run'; +#[AsTask(description: 'Restart the containers.')] +function restart(): void +{ + stop(); + start(); +} + +#[AsTask(description: 'Clean the infrastructure (remove container, volume, networks).')] +function destroy(bool $force = false): void +{ + if (! $force) { + io()->warning('This will permanently remove all containers, volumes, networks... created for this project.'); + io() + ->comment('You can use the --force option to avoid this confirmation.'); + + if (! io()->confirm('Are you sure?', false)) { + io()->comment('Aborted.'); + + return; + } } - if ($clearCache) { - $command[] = '--clear-cache'; + + run('docker-compose down -v --remove-orphans --volumes --rmi=local'); + notify('The infrastructure has been destroyed.'); +} + +#[AsTask(description: 'Stops and removes the containers.')] +function stop(): void +{ + run(['docker', 'compose', 'down']); +} + +#[AsTask(description: 'Starts the containers.')] +function start(): void +{ + run(['docker', 'compose', 'up', '-d']); + frontend(); +} + +#[AsTask(description: 'Build the images.')] +function build(): void +{ + run(['docker', 'compose', 'build', '--no-cache', '--pull']); +} + +#[AsTask(description: 'Compile the frontend.')] +function frontend(): void +{ + $consoleOutput = run(['bin/console'], context: context()->withQuiet()); + $commandsToRun = [ + 'assets:install' => [], + 'importmap:install' => [], + //'tailwind:build' => ['--watch'], + ]; + + foreach ($commandsToRun as $command => $arguments) { + if (str_contains((string) $consoleOutput->getOutput(), $command)) { + php(['bin/console', $command, ...$arguments]); + } } - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - run($command, context: $context); } -#[AsTask(description: 'Run Rector')] +#[AsTask(description: 'Update the dependencies and other features.')] +function update(): void +{ + run(['composer', 'update']); + $consoleOutput = run(['bin/console'], context: context()->withQuiet()); + $commandsToRun = [ + 'doctrine:migrations:migrate' => [], + 'doctrine:schema:validate' => [], + 'doctrine:fixtures:load' => [], + 'geoip2:update' => [], + 'app:browscap:update' => [], + 'importmap:update' => [], + ]; + + foreach ($commandsToRun as $command => $arguments) { + if (str_contains((string) $consoleOutput->getOutput(), $command)) { + php(['bin/console', $command, ...$arguments]); + } + } +} + +#[AsTask(description: 'Runs a Consumer from the Docket Container.')] +function consume(): void +{ + php(['bin/console', 'messenger:consume', '--all']); +} + +#[AsTask(description: 'Runs a Symfony Console command from the Docket Container.', ignoreValidationErrors: true)] +function console(#[AsRawTokens] array $args = []): void +{ + php(['bin/console', ...$args]); +} + +#[AsTask(description: 'Runs a PHP command from the Docket Container.', ignoreValidationErrors: true)] +function php(#[AsRawTokens] array $args = []): void +{ + run(['docker', 'compose', 'exec', '-T', 'php', ...$args]); +} + +function phpqa(array $command, array $dockerOptions = []): void +{ + $inContainer = file_exists('/.dockerenv'); + $hasDocker = trim((string) shell_exec('command -v docker')) !== ''; + + if (! $hasDocker || $inContainer) { + run($command); + return; + } + + if (! is_dir('tmp-phpqa')) { + mkdir('tmp-phpqa', 0777, true); + chown('tmp-phpqa', 1000); + chgrp('tmp-phpqa', 1000); + } + + $defaultDockerOptions = [ + '--rm', + '--init', + '-it', + '--user', sprintf('%s:%s', getmyuid(), getmygid()), + '--pull', 'always', + '-v', getcwd() . ':/project', + '-v', getcwd() . '/tmp-phpqa:/tmp', + '-w', '/project', + '-e', 'XDEBUG_MODE=off', + ]; + + run([ + 'docker', 'run', + ...$defaultDockerOptions, + ...$dockerOptions, + 'ghcr.io/spomky-labs/phpqa:8.4', + ...$command, + ]); +} + +#[AsTask(description: 'Run PHPUnit tests with coverage')] +function phpunit(): void +{ + phpqa( + [ + 'phpunit', + '--coverage-xml', '.ci-tools/coverage', + '--log-junit=.ci-tools/coverage/junit.xml', + '--configuration', '.ci-tools/phpunit.xml.dist', + ], + ['-e', 'XDEBUG_MODE=coverage'] // Docker options supplémentaires + ); +} + +#[AsTask(description: 'Run Easy Coding Standard')] +function ecs(): void +{ + phpqa(['ecs', 'check', '--config', '.ci-tools/ecs.php']); +} + +#[AsTask(description: 'Fix coding style with Easy Coding Standard')] +function ecs_fix(): void +{ + phpqa(['ecs', 'check', '--config', '.ci-tools/ecs.php', '--fix']); +} + +#[AsTask(description: 'Run Rector dry-run')] +function rector(): void +{ + phpqa(['rector', 'process', '--dry-run', '--config', '.ci-tools/rector.php']); +} + +#[AsTask(description: 'Run Rector with fix')] +function rector_fix(): void +{ + phpqa(['rector', 'process', '--config', '.ci-tools/rector.php']); +} + +#[AsTask(description: 'Run PHPStan')] +function phpstan(): void +{ + phpqa(['phpstan', 'analyse', '--error-format=github', '--configuration=.ci-tools/phpstan.neon']); +} + +#[AsTask(description: 'Generate PHPStan baseline')] +function phpstan_baseline(): void +{ + phpqa([ + 'phpstan', 'analyse', + '--configuration=.ci-tools/phpstan.neon', + '--generate-baseline=.ci-tools/phpstan-baseline.neon', + ]); +} + +#[AsTask(description: 'Run Deptrac')] function deptrac(): void { - io()->title('Running Rector'); - $command = ['php', 'vendor/bin/deptrac', 'analyse', '--fail-on-uncovered', '--no-cache']; - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - run($command, context: $context); + phpqa([ + 'deptrac', + '--config-file', '.ci-tools/deptrac.yaml', + '--report-uncovered', + '--report-skipped', + '--fail-on-uncovered', + ]); } -#[AsTask(description: 'Run Linter')] +#[AsTask(description: 'Run PHP parallel linter')] function lint(): void { - io()->title('Running Linter'); - $command = ['composer', 'exec', '--', 'parallel-lint', __DIR__ . '/src/', __DIR__ . '/tests/']; - $context = context() - ->withEnvironment([ - 'XDEBUG_MODE' => 'off', - ]) - ; - run($command, context: $context); + phpqa(['composer', 'exec', '--', 'parallel-lint', 'src', 'tests']); +} + +#[AsTask(description: 'Run Infection for mutation testing')] +function infect($minMsi = 0, $minCoveredMsi = 0): void +{ + phpqa([ + 'infection', + '--coverage=coverage', + sprintf('--min-msi=%d', $minMsi), + sprintf('--min-covered-msi=%d', $minCoveredMsi), + '--threads=max', + '--logger-github', + '-s', + '--filter=src/', + '--configuration=.ci-tools/infection.json.dist', + ], ['-e', 'XDEBUG_MODE=coverage']); +} + +#[AsTask(description: 'Run QA command', ignoreValidationErrors: true)] +function qa(#[AsRawTokens] array $args = []): void +{ + phpqa($args); } diff --git a/composer.json b/composer.json index 69ae4118f..439204f48 100644 --- a/composer.json +++ b/composer.json @@ -63,37 +63,19 @@ "ext-curl": "*", "ext-gmp": "*", "ext-sodium": "*", - "ekino/phpstan-banned-code": "^2.0|^3.0", - "ergebnis/phpunit-slow-test-detector": "^2.14", - "infection/infection": "^0.31", "matthiasnoback/symfony-config-test": "^6.0", "paragonie/sodium_compat": "^1.20|^2.0", - "php-parallel-lint/php-parallel-lint": "^1.3", "phpbench/phpbench": "^1.2", - "phpstan/extension-installer": "^1.3|^2.0", - "phpstan/phpstan": "^1.8|^2.0", - "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", - "phpstan/phpstan-doctrine": "^1.3|^2.0", - "phpstan/phpstan-phpunit": "^1.1|^2.0", - "phpstan/phpstan-strict-rules": "^1.4|^2.0", - "phpstan/phpstan-symfony": "^1.3|^2.0", - "phpunit/phpunit": "^10.5.10|^11.0|^12.0", - "deptrac/deptrac": "^2.0|^3.0|^4.0", - "rector/rector": "^1.0|^2.0", "roave/security-advisories": "dev-latest", "spomky-labs/aes-key-wrap": "^7.0|^8.0", - "staabm/phpstan-dba": "^0.2.79|^0.3|^0.4", - "staabm/phpstan-todo-by": "^0.1.25|^0.2|^0.3", - "struggle-for-php/sfp-phpstan-psr-log": "^0.20|^0.21|^0.22|^0.23|^0.24", "symfony/browser-kit": "^7.0|^8.0", - "symfony/http-client": "^7.0|^8.0", "symfony/clock": "^7.0|^8.0", "symfony/finder": "^7.0|^8.0", "symfony/framework-bundle": "^7.0|^8.0", + "symfony/http-client": "^7.0|^8.0", "symfony/serializer": "^7.0|^8.0", "symfony/var-dumper": "^7.0|^8.0", - "symfony/yaml": "^7.0|^8.0", - "symplify/easy-coding-standard": "^12.0" + "symfony/yaml": "^7.0|^8.0" }, "replace": { "web-token/jwt-bundle": "self.version", @@ -109,13 +91,7 @@ "spomky-labs/jose": "*" }, "config": { - "sort-packages": true, - "allow-plugins": { - "composer/package-versions-deprecated": true, - "phpstan/extension-installer": true, - "php-http/discovery": true, - "infection/extension-installer": false - } + "sort-packages": true }, "minimum-stability": "dev" } diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon deleted file mode 100644 index 97275949e..000000000 --- a/phpstan-baseline.neon +++ /dev/null @@ -1,5779 +0,0 @@ -parameters: - ignoreErrors: - - - message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\CheckerCollector\:\:collectHeaderCheckerManagers\(\) expects array\\>, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DataCollector/CheckerCollector.php - - - - message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\JWECollector\:\:collectSupportedJWESerializations\(\) expects array\\>, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DataCollector/JWECollector.php - - - - message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\JWSCollector\:\:collectSupportedJWSSerializations\(\) expects array\\>, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DataCollector/JWSCollector.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DataCollector\\JoseCollector\:\:getData\(\) should return array\\|Symfony\\Component\\VarDumper\\Cloner\\Data but returns array\|Symfony\\Component\\VarDumper\\Cloner\\Data\.$#' - identifier: return.type - count: 1 - path: src/Bundle/DataCollector/JoseCollector.php - - - - message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\Collector\:\:collect\(\) expects array\, array\|Symfony\\Component\\VarDumper\\Cloner\\Data given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DataCollector/JoseCollector.php - - - - message: '#^Parameter \#1 \$data of method Jose\\Bundle\\JoseFramework\\DataCollector\\KeyCollector\:\:collectJWK\(\) expects array\\>, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DataCollector/KeyCollector.php - - - - message: '#^Parameter \#1 \$jwk of method Jose\\Component\\KeyManagement\\Analyzer\\KeyAnalyzerManager\:\:analyze\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DataCollector/KeyCollector.php - - - - message: '#^Cannot access offset ''alias'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php - - - - message: '#^Cannot access offset ''alias'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Compiler/ClaimCheckerCompilerPass.php - - - - message: '#^Cannot access offset ''alias'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php - - - - message: '#^Cannot access offset ''path'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Compiler/KeySetControllerCompilerPass.php - - - - message: '#^Class Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension extends internal class Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension\.$#' - identifier: class.extendsInternalClass - count: 1 - path: src/Bundle/DependencyInjection/JoseFrameworkExtension.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\JoseFrameworkExtension\:\:getConfiguration\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/JoseFrameworkExtension.php - - - - message: '#^Parameter \#2 \$config of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:prependExtensionConfig\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/JoseFrameworkExtension.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/AbstractSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method addDefaultsIfNotSet\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method cannotBeEmpty\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method defaultValue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\ClaimChecker\:\:load\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Checker\\ClaimChecker\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Parameter \#2 \$id of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:setAlias\(\) expects string\|Symfony\\Component\\DependencyInjection\\Alias, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/CheckerSource.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Binary operation "\." between mixed and ''ClaimCheckerManager'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot access offset ''claims'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/ClaimChecker.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Binary operation "\." between mixed and ''HeaderCheckerManager'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot access offset ''headers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Checker/HeaderChecker.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Core/CoreSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/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\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/AbstractEncryptionSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Cannot call method addDefaultsIfNotSet\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A128CTR not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Chacha20Poly1305 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:getAlgorithmsFiles\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\EncryptionSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEBuilder\:\:load\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\AbstractEncryptionSource\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/EncryptionSource.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Binary operation "\." between mixed and ''JweBuilder'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEBuilder\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEBuilder.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Binary operation "\." between mixed and ''JweDecrypter'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWEDecrypter\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWEDecrypter.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Binary operation "\." between mixed and ''JweLoader'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot access offset ''header_checkers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot access offset ''serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 13 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWELoader\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWELoader.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Binary operation "\." between mixed and ''JweSerializer'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot access offset ''serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Encryption\\JWESerializer\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Encryption/JWESerializer.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot access offset ''client'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot access offset ''enabled'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot call method canBeEnabled\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JKUSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Parameter \#2 \$id of method Symfony\\Component\\DependencyInjection\\ContainerBuilder\:\:setAlias\(\) expects string\|Symfony\\Component\\DependencyInjection\\Alias, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JKUSource.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method canBeUnset\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method ifTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method thenInvalid\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Cannot call method validate\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Parameter \#1 \$builder of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSetSource\:\:addConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Parameter \#3 \$id of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSetSource\:\:create\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Parameter \#4 \$config of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSetSource\\JWKSetSource\:\:create\(\) expects array\, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JKU.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/JWKSet.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSetSource/X5U.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method canBeUnset\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method ifTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method thenInvalid\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Cannot call method validate\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Parameter \#1 \$builder of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSource\:\:addConfiguration\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Parameter \#3 \$id of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSource\:\:create\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Parameter \#4 \$config of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKSource\\JWKSource\:\:create\(\) expects array\, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method defaultValue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/CertificateFile.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWK.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method ifTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method thenInvalid\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method validate\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Cannot call method variableNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Parameter \#1 \$id of class Symfony\\Component\\DependencyInjection\\Reference constructor expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/JWKSet.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method defaultNull\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method defaultValue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/KeyFile.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method defaultNull\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method defaultValue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/P12.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method defaultValue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Secret.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/Values.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method defaultValue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKSource/X5C.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Binary operation "\." between mixed and ''JwkSetController'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot access offset ''id'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot access offset ''path'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method scalarNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\JWKUriSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Parameter \#1 \$id of class Symfony\\Component\\DependencyInjection\\Reference constructor expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/JWKUriSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\KeyManagement\\KeyManagementSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/KeyManagement/KeyManagementSource.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedToken\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:load\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedToken.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Binary operation "\." between mixed and ''NestedTokenBuilder'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot access offset ''jwe_serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot access offset ''jws_serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 6 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 14 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 6 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 6 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenBuilder\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenBuilder.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Binary operation "\." between mixed and ''NestedTokenLoader'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''encryption_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''jwe_header_checkers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''jwe_serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''jws_header_checkers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''jws_serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 8 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 18 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 8 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 4 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 6 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 6 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 6 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 8 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\NestedToken\\NestedTokenLoader\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/NestedToken/NestedTokenLoader.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/AbstractSignatureSource.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Binary operation "\." between mixed and ''JwsBuilder'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSBuilder\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSBuilder.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Binary operation "\." between mixed and ''JwsLoader'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot access offset ''header_checkers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot access offset ''serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 13 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 5 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSLoader\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSLoader.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Binary operation "\." between mixed and ''JwsSerializer'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot access offset ''serializers'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method arrayPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method booleanNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method children\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method defaultTrue\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method end\(\) on mixed\.$#' - identifier: method.nonObject - count: 9 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method info\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method isRequired\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method requiresAtLeastOneElement\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method scalarPrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 3 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method useAttributeAsKey\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Cannot call method variablePrototype\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSSerializer\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSSerializer.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 2 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Binary operation "\." between mixed and ''JwsVerifier'' results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Cannot access offset ''is_public'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Cannot access offset ''signature_algorithms'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Cannot access offset ''tags'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSVerifier\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Parameter \#1 \$boolean of method Symfony\\Component\\DependencyInjection\\Definition\:\:setPublic\(\) expects bool, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Parameter \#1 \$name of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Parameter \#2 \$attributes of method Symfony\\Component\\DependencyInjection\\Definition\:\:addTag\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/JWSVerifier.php - - - - message: '#^Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:children\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Cannot call method addDefaultsIfNotSet\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Cannot call method arrayNode\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Cannot call method treatFalseLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Cannot call method treatNullLike\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Class Jose\\Component\\Signature\\Algorithm\\HS1 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:getAlgorithmsFiles\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\SignatureSource\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Parameter \#1 \$configs of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\JWSBuilder\:\:load\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Parameter \#1 \$node of method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Signature\\AbstractSignatureSource\:\:getNodeDefinition\(\) expects Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/DependencyInjection/Source/Signature/SignatureSource.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:load\(\) has parameter \$configs with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Source.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:prepend\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Source.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\DependencyInjection\\Source\\Source\:\:prepend\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/DependencyInjection/Source/Source.php - - - - message: '#^Parameter \#1 \$json of static method Jose\\Component\\Core\\JWK\:\:createFromJson\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/EnvVarProcessor/KeyEnvVarProcessor.php - - - - message: '#^Parameter \#1 \$json of static method Jose\\Component\\Core\\JWKSet\:\:createFromJson\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/EnvVarProcessor/KeyEnvVarProcessor.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:__construct\(\) has parameter \$claims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:__construct\(\) has parameter \$mandatoryClaims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:getClaims\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedFailureEvent\:\:getMandatoryClaims\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:__construct\(\) has parameter \$checkedClaims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:__construct\(\) has parameter \$claims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:__construct\(\) has parameter \$mandatoryClaims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:getCheckedClaims\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:getClaims\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\ClaimCheckedSuccessEvent\:\:getMandatoryClaims\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/ClaimCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedFailureEvent\:\:__construct\(\) has parameter \$mandatoryHeaderParameters with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/HeaderCheckedFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedFailureEvent\:\:getMandatoryHeaderParameters\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/HeaderCheckedFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedSuccessEvent\:\:__construct\(\) has parameter \$mandatoryHeaderParameters with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/HeaderCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\HeaderCheckedSuccessEvent\:\:getMandatoryHeaderParameters\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/HeaderCheckedSuccessEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$recipients with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWEBuiltFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$sharedHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWEBuiltFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:__construct\(\) has parameter \$sharedProtectedHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWEBuiltFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getRecipients\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWEBuiltFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getSharedHeader\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWEBuiltFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWEBuiltFailureEvent\:\:getSharedProtectedHeader\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWEBuiltFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:__construct\(\) has parameter \$signatures with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWSBuiltFailureEvent.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Event\\JWSBuiltFailureEvent\:\:getSignatures\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Event/JWSBuiltFailureEvent.php - - - - message: '#^Cannot access offset string on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addClaimChecker\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addHeaderChecker\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEBuilder\(\) has parameter \$encryptionAlgorithm with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEBuilder\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEDecrypter\(\) has parameter \$encryptionAlgorithm with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWEDecrypter\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWELoader\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWESerializer\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSBuilder\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSLoader\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSSerializer\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addJWSVerifier\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKey\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKey\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyUri\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyUri\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyset\(\) has parameter \$parameters with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addKeyset\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addNestedTokenBuilder\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:addNestedTokenLoader\(\) has parameter \$tags with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Helper\\ConfigurationHelper\:\:updateJoseConfiguration\(\) has parameter \$config with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Helper/ConfigurationHelper.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_16_128 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_16_64 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_64_128 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A128CCM_64_64 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_16_128 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_16_64 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_64_128 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\A256CCM_64_64 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A128CTR not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A192CTR not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\A256CTR not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSAOAEP384 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\RSAOAEP512 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental.php - - - - message: '#^Class Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Chacha20Poly1305 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/encryption_experimental_chacha20_poly1305.php - - - - message: '#^Class Jose\\Component\\Signature\\Algorithm\\Blake2b not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/signature_experimental.php - - - - message: '#^Class Jose\\Component\\Signature\\Algorithm\\ES256K not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/signature_experimental.php - - - - message: '#^Class Jose\\Component\\Signature\\Algorithm\\HS1 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/signature_experimental.php - - - - message: '#^Class Jose\\Component\\Signature\\Algorithm\\HS256_64 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/signature_experimental.php - - - - message: '#^Class Jose\\Component\\Signature\\Algorithm\\RS1 not found\.$#' - identifier: class.notFound - count: 1 - path: src/Bundle/Resources/config/Algorithms/signature_experimental.php - - - - message: '#^Access to constant on internal class Jose\\Component\\Core\\Util\\Ecc\\NistCurve\.$#' - identifier: classConstant.internalClass - count: 1 - path: src/Bundle/Resources/config/analyzers.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:getRecipientIndex\(\) has parameter \$context with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Serializer/JWEEncoder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:supportsDecoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Serializer/JWEEncoder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWEEncoder\:\:supportsEncoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Serializer/JWEEncoder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:getSignatureIndex\(\) has parameter \$context with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Serializer/JWSEncoder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:supportsDecoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Serializer/JWSEncoder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Serializer\\JWSEncoder\:\:supportsEncoding\(\) has parameter \$context with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Serializer/JWSEncoder.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\ClaimCheckerManager\:\:check\(\) has parameter \$claims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/ClaimCheckerManager.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\ClaimCheckerManager\:\:check\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/ClaimCheckerManager.php - - - - message: '#^Parameter \#3 \$JWK of class Jose\\Bundle\\JoseFramework\\Event\\JWEDecryptionSuccessEvent constructor expects Jose\\Component\\Core\\JWK, Jose\\Component\\Core\\JWK\|null given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWEDecrypter.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWEDecrypterFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/JWEDecrypterFactory.php - - - - message: '#^Parameter \#1 \$aliases of method Jose\\Component\\Core\\AlgorithmManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWEDecrypterFactory.php - - - - message: '#^Parameter \#4 \$recipient of class Jose\\Bundle\\JoseFramework\\Event\\JWELoadingSuccessEvent constructor expects int, int\|null given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWELoader.php - - - - message: '#^Parameter \#4 \$signature of class Jose\\Bundle\\JoseFramework\\Event\\JWSLoadingSuccessEvent constructor expects int, int\|null given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWSLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoaderFactory\:\:create\(\) has parameter \$algorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/JWSLoaderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoaderFactory\:\:create\(\) has parameter \$headerCheckers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/JWSLoaderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSLoaderFactory\:\:create\(\) has parameter \$serializers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/JWSLoaderFactory.php - - - - message: '#^Parameter \#1 \$aliases of method Jose\\Bundle\\JoseFramework\\Services\\HeaderCheckerManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWSLoaderFactory.php - - - - message: '#^Parameter \#1 \$names of method Jose\\Component\\Signature\\Serializer\\JWSSerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWSLoaderFactory.php - - - - message: '#^Parameter \#5 \$JWK of class Jose\\Bundle\\JoseFramework\\Event\\JWSVerificationSuccessEvent constructor expects Jose\\Component\\Core\\JWK, Jose\\Component\\Core\\JWK\|null given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWSVerifier.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\JWSVerifierFactory\:\:create\(\) has parameter \$algorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/JWSVerifierFactory.php - - - - message: '#^Parameter \#1 \$aliases of method Jose\\Component\\Core\\AlgorithmManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/JWSVerifierFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$jwe_serializers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$jws_serializers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenBuilderFactory\:\:create\(\) has parameter \$signatureAlgorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Parameter \#1 \$algorithms of method Jose\\Bundle\\JoseFramework\\Services\\JWSBuilderFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Parameter \#1 \$encryptionAlgorithms of method Jose\\Bundle\\JoseFramework\\Services\\JWEBuilderFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Parameter \#1 \$names of method Jose\\Component\\Encryption\\Serializer\\JWESerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Parameter \#1 \$names of method Jose\\Component\\Signature\\Serializer\\JWSSerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenBuilderFactory.php - - - - message: '#^Parameter \#5 \$signature of class Jose\\Bundle\\JoseFramework\\Event\\NestedTokenLoadingSuccessEvent constructor expects int, int\|null given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenLoader.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jweHeaderCheckers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jweSerializers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jwsHeaderCheckers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$jwsSerializers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Method Jose\\Bundle\\JoseFramework\\Services\\NestedTokenLoaderFactory\:\:create\(\) has parameter \$signatureAlgorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Parameter \#1 \$serializers of method Jose\\Bundle\\JoseFramework\\Services\\JWELoaderFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Parameter \#2 \$encryptionAlgorithms of method Jose\\Bundle\\JoseFramework\\Services\\JWELoaderFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Parameter \#3 \$headerCheckers of method Jose\\Bundle\\JoseFramework\\Services\\JWELoaderFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Bundle/Services/NestedTokenLoaderFactory.php - - - - message: '#^Call to function is_string\(\) with null will always evaluate to false\.$#' - identifier: function.impossibleType - count: 1 - path: src/Experimental/KeyEncryption/Chacha20Poly1305.php - - - - message: '#^Result of \|\| is always true\.$#' - identifier: booleanOr.alwaysTrue - count: 1 - path: src/Experimental/KeyEncryption/Chacha20Poly1305.php - - - - message: '#^Unreachable statement \- code above always terminates\.$#' - identifier: deadCode.unreachable - count: 1 - path: src/Experimental/KeyEncryption/Chacha20Poly1305.php - - - - message: '#^Invalid type object to throw\.$#' - identifier: throw.notThrowable - count: 3 - path: src/Library/Checker/AudienceChecker.php - - - - message: '#^Method Jose\\Component\\Checker\\ClaimCheckerManager\:\:check\(\) has parameter \$claims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/ClaimCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\ClaimCheckerManager\:\:check\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/ClaimCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\ClaimCheckerManager\:\:checkMandatoryClaims\(\) has parameter \$claims with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/ClaimCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkCriticalHeader\(\) has parameter \$checkedHeaderParameters with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkCriticalHeader\(\) has parameter \$header with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkCriticalHeader\(\) has parameter \$protected with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header1 with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header2 with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkHeaders\(\) has parameter \$header with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkHeaders\(\) has parameter \$protected with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkMandatoryHeaderParameters\(\) has parameter \$protected with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Method Jose\\Component\\Checker\\HeaderCheckerManager\:\:checkMandatoryHeaderParameters\(\) has parameter \$unprotected with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/HeaderCheckerManager.php - - - - message: '#^Invalid type object to throw\.$#' - identifier: throw.notThrowable - count: 2 - path: src/Library/Checker/IssuerChecker.php - - - - message: '#^Method Jose\\Component\\Checker\\IssuerChecker\:\:__construct\(\) has parameter \$issuers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Checker/IssuerChecker.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createECKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/EcKeyGeneratorCommand.php - - - - message: '#^Cannot cast mixed to int\.$#' - identifier: cast.int - count: 1 - path: src/Library/Console/EcKeysetGeneratorCommand.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createECKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/EcKeysetGeneratorCommand.php - - - - message: '#^Method Jose\\Component\\Console\\GeneratorCommand\:\:getOptions\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Console/GeneratorCommand.php - - - - message: '#^Parameter \#1 \$jwk of method Jose\\Component\\KeyManagement\\Analyzer\\KeyAnalyzerManager\:\:analyze\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/KeysetAnalyzerCommand.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/KeysetAnalyzerCommand.php - - - - message: '#^Parameter \#1 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createNoneKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/NoneKeyGeneratorCommand.php - - - - message: '#^Cannot cast mixed to int\.$#' - identifier: cast.int - count: 1 - path: src/Library/Console/OctKeyGeneratorCommand.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOctKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/OctKeyGeneratorCommand.php - - - - message: '#^Cannot cast mixed to int\.$#' - identifier: cast.int - count: 2 - path: src/Library/Console/OctKeysetGeneratorCommand.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOctKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/OctKeysetGeneratorCommand.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOKPKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/OkpKeyGeneratorCommand.php - - - - message: '#^Cannot cast mixed to int\.$#' - identifier: cast.int - count: 1 - path: src/Library/Console/OkpKeysetGeneratorCommand.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createOKPKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/OkpKeysetGeneratorCommand.php - - - - message: '#^Cannot cast mixed to int\.$#' - identifier: cast.int - count: 1 - path: src/Library/Console/RsaKeyGeneratorCommand.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createRSAKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/RsaKeyGeneratorCommand.php - - - - message: '#^Cannot cast mixed to int\.$#' - identifier: cast.int - count: 2 - path: src/Library/Console/RsaKeysetGeneratorCommand.php - - - - message: '#^Parameter \#2 \$values of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createRSAKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Console/RsaKeysetGeneratorCommand.php - - - - message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: src/Library/Core/AlgorithmManagerFactory.php - - - - message: '#^Method Jose\\Component\\Core\\AlgorithmManagerFactory\:\:all\(\) should return array\ but returns array\.$#' - identifier: return.type - count: 1 - path: src/Library/Core/AlgorithmManagerFactory.php - - - - message: '#^Parameter \#1 \$algorithms of class Jose\\Component\\Core\\AlgorithmManager constructor expects iterable\, list\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/AlgorithmManagerFactory.php - - - - message: '#^Property Jose\\Component\\Core\\AlgorithmManagerFactory\:\:\$algorithms type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/AlgorithmManagerFactory.php - - - - message: '#^Method Jose\\Component\\Core\\JWK\:\:__construct\(\) has parameter \$values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWK.php - - - - message: '#^Method Jose\\Component\\Core\\JWK\:\:all\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWK.php - - - - message: '#^Method Jose\\Component\\Core\\JWK\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWK.php - - - - message: '#^Property Jose\\Component\\Core\\JWK\:\:\$values type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWK.php - - - - message: '#^Class Jose\\Component\\Core\\JWKSet implements generic interface IteratorAggregate but does not specify its types\: TKey, TValue$#' - identifier: missingType.generics - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Instanceof between Jose\\Component\\Core\\JWK and Jose\\Component\\Core\\JWK will always evaluate to true\.$#' - identifier: instanceof.alwaysTrue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:all\(\) should return array\ but returns array\.$#' - identifier: return.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:convertKeyOpsToKeyUse\(\) has parameter \$key_ops with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:createFromKeyData\(\) has parameter \$data with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:doesKeySatisfyRestrictions\(\) has parameter \$restrictions with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:get\(\) should return Jose\\Component\\Core\\JWK but returns mixed\.$#' - identifier: return.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:selectKey\(\) should return Jose\\Component\\Core\\JWK\|null but returns mixed\.$#' - identifier: return.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:sortKeys\(\) has parameter \$a with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Method Jose\\Component\\Core\\JWKSet\:\:sortKeys\(\) has parameter \$b with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Only numeric types are allowed in \+, int\|true given on the right side\.$#' - identifier: plus.rightNonNumeric - count: 2 - path: src/Library/Core/JWKSet.php - - - - message: '#^Parameter \#1 \$values of class Jose\\Component\\Core\\JWK constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Parameter \#2 \$key of method Jose\\Component\\Core\\JWKSet\:\:canKeyBeUsedFor\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Parameter \#2 \$key of method Jose\\Component\\Core\\JWKSet\:\:canKeyBeUsedWithAlgorithm\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Parameter \#2 \$key of method Jose\\Component\\Core\\JWKSet\:\:doesKeySatisfyRestrictions\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Parameter \#2 \$mode of function count expects 0\|1, int given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Property Jose\\Component\\Core\\JWKSet\:\:\$keys type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/JWKSet.php - - - - message: '#^Comparison operation "\>" between 0 and 1 is always false\.$#' - identifier: greater.alwaysFalse - count: 1 - path: src/Library/Core/Util/Base64UrlSafe.php - - - - message: '#^Method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:safeSubstr\(\) has parameter \$length with no type specified\.$#' - identifier: missingType.parameter - count: 1 - path: src/Library/Core/Util/Base64UrlSafe.php - - - - message: '#^Parameter \#3 \$length of function substr expects int\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/Util/Base64UrlSafe.php - - - - message: '#^Variable \$i might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: src/Library/Core/Util/Base64UrlSafe.php - - - - message: '#^Parameter \#1 \$number of static method Brick\\Math\\BigInteger\:\:fromBase\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/Util/BigInteger.php - - - - message: '#^Binary operation "\." between ''30740201010420'' and mixed results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Binary operation "\." between ''30770201010420'' and mixed results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Binary operation "\." between ''3081a40201010430'' and mixed results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Binary operation "\." between ''3081dc0201010442'' and mixed results in an error\.$#' - identifier: binaryOp.invalid - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Cannot access offset ''d'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Cannot access offset ''x'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Cannot access offset ''y'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Cannot cast mixed to string\.$#' - identifier: cast.string - count: 3 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Method Jose\\Component\\Core\\Util\\ECKey\:\:createECKey\(\) has parameter \$values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Method Jose\\Component\\Core\\Util\\ECKey\:\:createECKeyUsingOpenSSL\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Parameter \#1 \$private_key of function openssl_pkey_get_private expects array\|OpenSSLAsymmetricKey\|OpenSSLCertificate\|string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/Util/ECKey.php - - - - message: '#^Strict comparison using \=\=\= between ''30'' and ''81'' will always evaluate to false\.$#' - identifier: identical.alwaysFalse - count: 1 - path: src/Library/Core/Util/ECSignature.php - - - - message: '#^Binary operation "\^" between non\-empty\-string and 1 results in an error\.$#' - identifier: binaryOp.invalid - count: 2 - path: src/Library/Core/Util/Ecc/Curve.php - - - - message: '#^Parameter \#3 \$cond of static method Jose\\Component\\Core\\Util\\Ecc\\Point\:\:cswap\(\) expects int, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Core/Util/Ecc/Curve.php - - - - message: '#^Parameter \#1 \$a is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$infinity\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Parameter \#1 \$sa is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$order\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Parameter \#1 \$sa is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$x\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Parameter \#1 \$sa is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$y\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Parameter \#2 \$b is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$infinity\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Parameter \#2 \$sb is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$order\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Parameter \#2 \$sb is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$x\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Parameter \#2 \$sb is passed by reference so it does not accept readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$y\.$#' - identifier: argument.byRef - count: 1 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$infinity is assigned outside of the constructor\.$#' - identifier: property.readOnlyAssignNotInConstructor - count: 2 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$order is assigned outside of the constructor\.$#' - identifier: property.readOnlyAssignNotInConstructor - count: 2 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$x is assigned outside of the constructor\.$#' - identifier: property.readOnlyAssignNotInConstructor - count: 2 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Readonly property Jose\\Component\\Core\\Util\\Ecc\\Point\:\:\$y is assigned outside of the constructor\.$#' - identifier: property.readOnlyAssignNotInConstructor - count: 2 - path: src/Library/Core/Util/Ecc/Point.php - - - - message: '#^Method Jose\\Component\\Core\\Util\\RSAKey\:\:toArray\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/Util/RSAKey.php - - - - message: '#^Parameter \#1 \$number of static method Brick\\Math\\BigInteger\:\:fromBase\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Core/Util/RSAKey.php - - - - message: '#^Parameter \#1 \$value of method Jose\\Component\\Core\\Util\\RSAKey\:\:convertBase64StringToBigInteger\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 8 - path: src/Library/Core/Util/RSAKey.php - - - - message: '#^Parameter \#1 \$value of method Jose\\Component\\Core\\Util\\RSAKey\:\:fromBase64ToInteger\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 10 - path: src/Library/Core/Util/RSAKey.php - - - - message: '#^Property Jose\\Component\\Core\\Util\\RSAKey\:\:\$values type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Core/Util/RSAKey.php - - - - message: '#^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) never assigns null to &\$tag so it can be removed from the by\-ref type\.$#' - identifier: parameterByRef.unusedType - count: 1 - path: src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php - - - - message: '#^Parameter \#3 \$length of function substr expects int\|null, float\|int\<1, max\> given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php - - - - message: '#^Parameter \#1 \$src of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:encodeUnpadded\(\) expects string, string\|null given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php - - - - message: '#^Parameter \#3 \$length of function substr expects int\|null, float\|int\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php - - - - message: '#^Binary operation "\." between mixed and "\\000" results in an error\.$#' - identifier: binaryOp.invalid - count: 2 - path: src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php - - - - message: '#^Parameter \#1 \$algo of function hash_pbkdf2 expects non\-falsy\-string, string given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php - - - - message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, int given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php - - - - message: '#^Parameter \#4 \$iterations of function hash_pbkdf2 expects int\<1, max\>, int given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php - - - - message: '#^Parameter \#5 \$length of function hash_pbkdf2 expects int\<0, max\>, int given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php - - - - message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, int given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php - - - - message: '#^Parameter \#3 \$hash of static method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\Util\\RSACrypt\:\:getRSAESOAEP\(\) expects Jose\\Component\\Core\\Util\\Hash, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php - - - - message: '#^Variable static method call on Jose\\Component\\Core\\Util\\Hash\.$#' - identifier: staticMethod.dynamicName - count: 2 - path: src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$recipients with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWE.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$sharedHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWE.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWE\:\:__construct\(\) has parameter \$sharedProtectedHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWE.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getRecipient\(\) should return Jose\\Component\\Encryption\\Recipient but returns mixed\.$#' - identifier: return.type - count: 1 - path: src/Library/Encryption/JWE.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getRecipients\(\) should return array\ but returns array\.$#' - identifier: return.type - count: 1 - path: src/Library/Encryption/JWE.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getSharedHeader\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWE.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWE\:\:getSharedProtectedHeader\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWE.php - - - - message: '#^Call to function is_countable\(\) with array will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Cannot access offset ''header'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Cannot access offset ''key'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Cannot access offset ''key_encryption_algorithm'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Cannot access offset ''sender_key'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Cannot call method getHeader\(\) on mixed\.$#' - identifier: method.nonObject - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:addRecipient\(\) has parameter \$recipientHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:checkAndSetContentEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header1 with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:checkDuplicatedHeaderParameters\(\) has parameter \$header2 with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:determineCEK\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:encryptJWE\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getContentEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyAgreementAndKeyWrappingAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyEncryptionAlgorithm\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyWrappingAlgorithm\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKeyFromKeyWrappingAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:getKeyEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:processRecipient\(\) has parameter \$additionalHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:processRecipient\(\) has parameter \$recipient with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:withSharedHeader\(\) has parameter \$sharedHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEBuilder\:\:withSharedProtectedHeader\(\) has parameter \$sharedProtectedHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \$algorithm of method Jose\\Component\\Core\\AlgorithmManager\:\:get\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \$ciphertext of class Jose\\Component\\Encryption\\JWE constructor expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \$header of class Jose\\Component\\Encryption\\Recipient constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, \(float\|int\) given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \$recipient of method Jose\\Component\\Encryption\\JWEBuilder\:\:processRecipient\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#2 \$header2 of method Jose\\Component\\Encryption\\JWEBuilder\:\:checkDuplicatedHeaderParameters\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#2 \$iv of class Jose\\Component\\Encryption\\JWE constructor expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#3 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyEncryption\:\:encryptKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#3 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyWrapping\:\:wrapKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#3 \$recipientKey of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#3 \$tag of class Jose\\Component\\Encryption\\JWE constructor expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#4 \$additionalHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyEncryption\:\:encryptKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#4 \$additionalHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyWrapping\:\:wrapKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#4 \$senderKey of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects Jose\\Component\\Core\\JWK\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#5 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#5 \$complete_header of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:wrapAgreementKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#5 \$recipientKey of method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#6 \$additionalHeaderValues of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#6 \$additional_header_values of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:wrapAgreementKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Parameter \#6 \$senderKey of method Jose\\Component\\Encryption\\JWEBuilder\:\:getEncryptedKey\(\) expects Jose\\Component\\Core\\JWK\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Property Jose\\Component\\Encryption\\JWEBuilder\:\:\$recipients type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Property Jose\\Component\\Encryption\\JWEBuilder\:\:\$sharedHeader type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Property Jose\\Component\\Encryption\\JWEBuilder\:\:\$sharedProtectedHeader type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEBuilder.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:checkCompleteHeader\(\) has parameter \$completeHeaders with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptCEK\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:getContentEncryptionAlgorithm\(\) has parameter \$completeHeader with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWEDecrypter\:\:getKeyEncryptionAlgorithm\(\) has parameter \$completeHeaders with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#1 \$algorithm of method Jose\\Component\\Core\\AlgorithmManager\:\:get\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#1 \$key of static method Jose\\Component\\Core\\Util\\KeyChecker\:\:checkKeyAlgorithm\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#1 \$key of static method Jose\\Component\\Core\\Util\\KeyChecker\:\:checkKeyUsage\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#3 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyWrapping\:\:unwrapKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#3 \$header of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyEncryption\:\:decryptKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#3 \$recipientKey of method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptCEK\(\) expects Jose\\Component\\Core\\JWK, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#5 \$completeHeader of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreement\:\:getAgreementKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter \#5 \$complete_header of method Jose\\Component\\Encryption\\Algorithm\\KeyEncryption\\KeyAgreementWithKeyWrapping\:\:unwrapAgreementKey\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Parameter &\$successJwk by\-ref type of method Jose\\Component\\Encryption\\JWEDecrypter\:\:decryptRecipientKey\(\) expects Jose\\Component\\Core\\JWK\|null, mixed given\.$#' - identifier: parameterByRef.type - count: 1 - path: src/Library/Encryption/JWEDecrypter.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWELoaderFactory\:\:create\(\) has parameter \$encryptionAlgorithms with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWELoaderFactory.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWELoaderFactory\:\:create\(\) has parameter \$headerCheckers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWELoaderFactory.php - - - - message: '#^Method Jose\\Component\\Encryption\\JWELoaderFactory\:\:create\(\) has parameter \$serializers with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/JWELoaderFactory.php - - - - message: '#^Parameter \#1 \$aliases of method Jose\\Component\\Checker\\HeaderCheckerManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWELoaderFactory.php - - - - message: '#^Parameter \#1 \$encryptionAlgorithms of method Jose\\Component\\Encryption\\JWEDecrypterFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWELoaderFactory.php - - - - message: '#^Parameter \#1 \$names of method Jose\\Component\\Encryption\\Serializer\\JWESerializerManagerFactory\:\:create\(\) expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/JWELoaderFactory.php - - - - message: '#^Parameter &\$protectedHeader by\-ref type of method Jose\\Component\\Encryption\\JWETokenSupport\:\:retrieveTokenHeaders\(\) expects array\, array given\.$#' - identifier: parameterByRef.type - count: 1 - path: src/Library/Encryption/JWETokenSupport.php - - - - message: '#^Parameter &\$unprotectedHeader by\-ref type of method Jose\\Component\\Encryption\\JWETokenSupport\:\:retrieveTokenHeaders\(\) expects array\, array given\.$#' - identifier: parameterByRef.type - count: 2 - path: src/Library/Encryption/JWETokenSupport.php - - - - message: '#^Method Jose\\Component\\Encryption\\Recipient\:\:__construct\(\) has parameter \$header with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Recipient.php - - - - message: '#^Method Jose\\Component\\Encryption\\Recipient\:\:getHeader\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Recipient.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:checkData\(\) has parameter \$data with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:processHeaders\(\) has parameter \$data with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONFlattenedSerializer\:\:processHeaders\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 6 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#1 \$header of class Jose\\Component\\Encryption\\Recipient constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#5 \$sharedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#6 \$sharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#7 \$encodedSharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:checkData\(\) has parameter \$data with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processHeaders\(\) has parameter \$data with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processHeaders\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processRecipient\(\) has parameter \$recipient with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processRecipient\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 6 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#1 \$header of class Jose\\Component\\Encryption\\Recipient constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#1 \$recipient of method Jose\\Component\\Encryption\\Serializer\\JSONGeneralSerializer\:\:processRecipient\(\) expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#2 \$encryptedKey of class Jose\\Component\\Encryption\\Recipient constructor expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#5 \$sharedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#6 \$sharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects array, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#7 \$encodedSharedProtectedHeader of class Jose\\Component\\Encryption\\JWE constructor expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Encryption/Serializer/JSONGeneralSerializer.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\Analyzer\\Message\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/Analyzer/Message.php - - - - message: '#^Class Jose\\Component\\KeyManagement\\Analyzer\\MessageBag implements generic interface IteratorAggregate but does not specify its types\: TKey, TValue$#' - identifier: missingType.generics - count: 1 - path: src/Library/KeyManagement/Analyzer/MessageBag.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\Analyzer\\MessageBag\:\:jsonSerialize\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/Analyzer/MessageBag.php - - - - message: '#^Cannot call method get\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Library/KeyManagement/Analyzer/MixedKeyTypes.php - - - - message: '#^Cannot call method get\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Library/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php - - - - message: '#^Cannot call method has\(\) on mixed\.$#' - identifier: method.nonObject - count: 1 - path: src/Library/KeyManagement/Analyzer/MixedPublicAndPrivateKeys.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 2 - path: src/Library/KeyManagement/Analyzer/UsageAnalyzer.php - - - - message: '#^Only booleans are allowed in a negated boolean, int\<0, max\> given\.$#' - identifier: booleanNot.exprNotBoolean - count: 1 - path: src/Library/KeyManagement/Analyzer/ZxcvbnKeyAnalyzer.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JKUFactory\:\:loadFromUrl\(\) has parameter \$header with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JKUFactory.php - - - - message: '#^Parameter \#2 \$header of method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:getContent\(\) expects array\\|string\>, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/JKUFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromCertificate\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromCertificateFile\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKey\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKeyFile\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromPKCS12CertificateFile\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromSecret\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromValues\(\) has parameter \$values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromX509Resource\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromX5C\(\) has parameter \$additional_values with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromX5C\(\) has parameter \$x5c with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Parameter \#1 \$details of static method Jose\\Component\\KeyManagement\\KeyConverter\\RSAKey\:\:createFromKeyDetails\(\) expects array\, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Parameter \#1 \$key of static method Jose\\Component\\KeyManagement\\JWKFactory\:\:createFromKey\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, \(float\|int\) given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Parameter \#3 \$length of function substr expects int\|null, float\|int\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/JWKFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:__construct\(\) has parameter \$data with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/KeyConverter/ECKey.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:getSupportedCurves\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/KeyConverter/ECKey.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:loadJWK\(\) has parameter \$jwk with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/KeyConverter/ECKey.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:loadPEM\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/KeyConverter/ECKey.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:toArray\(\) return type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/KeyConverter/ECKey.php - - - - message: '#^Property Jose\\Component\\KeyManagement\\KeyConverter\\ECKey\:\:\$values type has no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: src/Library/KeyManagement/KeyConverter/ECKey.php - - - - message: '#^Cannot cast mixed to string\.$#' - identifier: cast.string - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$certificate of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromCertificate\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$details of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadECKey\(\) expects array\{type\: int, key\: string\}, non\-empty\-array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$details of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadOtherKeyTypes\(\) expects array\{key\: string\}, non\-empty\-array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadED25519Key\(\) expects array\{bits\: int, type\: int, key\: string, ed25519\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadED448Key\(\) expects array\{bits\: int, type\: int, key\: string, ed448\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadX25519Key\(\) expects array\{bits\: int, type\: int, key\: string, x25519\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$input of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:tryToLoadX448Key\(\) expects array\{bits\: int, type\: int, key\: string, x448\: array\{pub_key\?\: string, priv_key\?\: string\}\}, non\-empty\-array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$pem of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromPEM\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$pem of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:sanitizePEM\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/KeyConverter.php - - - - message: '#^Parameter \#1 \$data of class Jose\\Component\\KeyManagement\\KeyConverter\\RSAKey constructor expects array\, array given\.$#' - identifier: argument.type - count: 1 - path: src/Library/KeyManagement/KeyConverter/RSAKey.php - - - - message: '#^Call to an undefined method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:sendPsrRequest\(\)\.$#' - identifier: method.notFound - count: 1 - path: src/Library/KeyManagement/UrlKeySetFactory.php - - - - message: '#^Call to function assert\(\) with true will always evaluate to true\.$#' - identifier: function.alreadyNarrowedType - count: 1 - path: src/Library/KeyManagement/UrlKeySetFactory.php - - - - message: '#^Instanceof between Symfony\\Contracts\\HttpClient\\HttpClientInterface and Symfony\\Contracts\\HttpClient\\HttpClientInterface will always evaluate to true\.$#' - identifier: instanceof.alwaysTrue - count: 2 - path: src/Library/KeyManagement/UrlKeySetFactory.php - - - - message: '#^Method Jose\\Component\\KeyManagement\\UrlKeySetFactory\:\:getContent\(\) should return string but returns mixed\.$#' - identifier: return.type - count: 1 - path: src/Library/KeyManagement/UrlKeySetFactory.php - - - - message: '#^Parameter \#2 \$recipient of method Jose\\Component\\NestedToken\\NestedTokenLoader\:\:checkContentTypeHeader\(\) expects int, int\|null given\.$#' - identifier: argument.type - count: 1 - path: src/Library/NestedToken/NestedTokenLoader.php - - - - message: '#^Parameter \#1 \$signature of static method Jose\\Component\\Core\\Util\\ECSignature\:\:fromAsn1\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Algorithm/ECDSA.php - - - - message: '#^Call to internal static method ParagonIE_Sodium_Core_Ed25519\:\:publickey_from_secretkey\(\)\.$#' - identifier: staticMethod.internal - count: 1 - path: src/Library/Signature/Algorithm/EdDSA.php - - - - message: '#^Method Jose\\Component\\Signature\\Algorithm\\RSAPKCS1\:\:sign\(\) should return string but returns mixed\.$#' - identifier: return.type - count: 1 - path: src/Library/Signature/Algorithm/RSAPKCS1.php - - - - message: '#^Method Jose\\Component\\Signature\\Algorithm\\Util\\RSA\:\:sign\(\) should return non\-empty\-string but returns mixed\.$#' - identifier: return.type - count: 1 - path: src/Library/Signature/Algorithm/Util/RSA.php - - - - message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/JWS.php - - - - message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/JWS.php - - - - message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/JWSBuilder.php - - - - message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/JWSBuilder.php - - - - message: '#^Parameter \#1 \$algorithm of method Jose\\Component\\Core\\AlgorithmManager\:\:get\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/JWSVerifier.php - - - - message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/JWSVerifier.php - - - - message: '#^Parameter \#1 \$protectedHeader of method Jose\\Component\\Signature\\Serializer\\Serializer\:\:isPayloadEncoded\(\) expects array\, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/CompactSerializer.php - - - - message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/CompactSerializer.php - - - - message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 3 - path: src/Library/Signature/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#1 \$payload of class Jose\\Component\\Signature\\JWS constructor expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#1 \$protectedHeader of method Jose\\Component\\Signature\\Serializer\\Serializer\:\:isPayloadEncoded\(\) expects array\, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#2 \$encodedPayload of class Jose\\Component\\Signature\\JWS constructor expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#3 \$encodedProtectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, array\ given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONFlattenedSerializer.php - - - - message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' - identifier: foreach.nonIterable - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Cannot access offset ''signature'' on mixed\.$#' - identifier: offsetAccess.nonOffsetAccessible - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#1 \$encodedString of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:decodeNoPadding\(\) expects string, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#1 \$rawPayload of method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processPayload\(\) expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#1 \$signature of method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processHeaders\(\) expects array\{protected\?\: string, header\?\: array\\}, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#2 \$encodedPayload of class Jose\\Component\\Signature\\JWS constructor expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#2 \$protectedHeader of method Jose\\Component\\Signature\\Serializer\\JSONGeneralSerializer\:\:processIsPayloadEncoded\(\) expects array\, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#3 \$encodedProtectedHeader of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects string\|null, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php - - - - message: '#^Parameter \#4 \$header of method Jose\\Component\\Signature\\JWS\:\:addSignature\(\) expects array\{alg\?\: string, string\?\: mixed\}, mixed given\.$#' - identifier: argument.type - count: 1 - path: src/Library/Signature/Serializer/JSONGeneralSerializer.php diff --git a/phpstan.neon b/phpstan.neon deleted file mode 100644 index 34964cf57..000000000 --- a/phpstan.neon +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - level: max - paths: - - src - treatPhpDocTypesAsCertain: true - checkUninitializedProperties: true - checkDynamicProperties: true -includes: - - vendor/phpstan/phpstan/conf/bleedingEdge.neon - - phpstan-baseline.neon diff --git a/phpunit.xml.dist b/phpunit.xml.dist deleted file mode 100644 index e57d40e62..000000000 --- a/phpunit.xml.dist +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - ./tests/ - - - - - - - - - - - - - - - ./src - - - - - - - - - diff --git a/rector.php b/rector.php deleted file mode 100644 index 9ce41deb8..000000000 --- a/rector.php +++ /dev/null @@ -1,45 +0,0 @@ -import(SetList::DEAD_CODE); - $config->import(LevelSetList::UP_TO_PHP_82); - $config->import(SymfonySetList::SYMFONY_64); - $config->import(SymfonySetList::SYMFONY_50_TYPES); - $config->import(SymfonySetList::SYMFONY_52_VALIDATOR_ATTRIBUTES); - $config->import(SymfonySetList::SYMFONY_CODE_QUALITY); - $config->import(SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION); - $config->import(SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES); - $config->import(DoctrineSetList::DOCTRINE_CODE_QUALITY); - $config->import(DoctrineSetList::ANNOTATIONS_TO_ATTRIBUTES); - $config->import(PHPUnitSetList::PHPUNIT_CODE_QUALITY); - $config->import(PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES); - $config->import(PHPUnitSetList::PHPUNIT_100); - $config->paths([ - __DIR__ . '/ecs.php', - __DIR__ . '/rector.php', - __DIR__ . '/performance', - __DIR__ . '/src', - __DIR__ . '/tests', - ]); - $config->skip([ - PreferPHPUnitThisCallRector::class => __DIR__ . '/tests', - __DIR__ . '/src/Library/Core/JWKSet.php', - __DIR__ . '/src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php', - __DIR__ . '/src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSetSource.php', - ]); - $config->phpVersion(PhpVersion::PHP_82); - $config->parallel(); - $config->importNames(); - $config->importShortClasses(); -}; diff --git a/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php b/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php index 13ed9a4f0..c3be99ae6 100644 --- a/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php @@ -6,7 +6,7 @@ use Jose\Bundle\JoseFramework\Services\ClaimCheckerManagerFactory as ClaimCheckerManagerFactoryService; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php b/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php index ca7550473..35c4744a1 100644 --- a/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php @@ -6,7 +6,7 @@ use Jose\Bundle\JoseFramework\Services\HeaderCheckerManagerFactory as HeaderCheckerManagerFactoryService; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php b/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php index 1af21677b..613485bf6 100644 --- a/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php +++ b/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php @@ -6,7 +6,7 @@ use PHPUnit\Framework\Attributes\Test; use Symfony\Bundle\FrameworkBundle\Console\Application; -use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php index 345bcb1a1..7c60d947c 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php @@ -7,7 +7,7 @@ use Jose\Bundle\JoseFramework\Services\JWEBuilder; use Jose\Bundle\JoseFramework\Services\JWEBuilderFactory as JWEBuilderFactoryService; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php index 7f3259685..21b2cce05 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php @@ -9,7 +9,7 @@ use Jose\Bundle\JoseFramework\Services\JWEDecrypterFactory as JWEDecrypterFactoryService; use Jose\Bundle\JoseFramework\Services\JWELoaderFactory as JWELoaderFactoryAlias; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php index 1eed59f91..938afcd0b 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php @@ -9,7 +9,7 @@ use Jose\Component\Encryption\JWEDecrypter; use Jose\Component\Encryption\Serializer\CompactSerializer; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php index faa5cac7d..f808b310c 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php @@ -7,7 +7,7 @@ use Jose\Bundle\JoseFramework\Services\JWEDecrypterFactory as JWEDecrypterFactoryService; use Jose\Component\Encryption\JWEDecrypter; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php index 9995a75b2..41fec25b9 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php @@ -7,7 +7,7 @@ use Jose\Bundle\JoseFramework\Services\JWELoaderFactory as JWELoaderFactoryAlias; use Jose\Component\Encryption\JWELoader; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php index 872ed0d43..d7cf70b72 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php @@ -6,7 +6,7 @@ use Jose\Component\Encryption\Serializer\JWESerializerManager; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php b/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php index eae098a8e..0f500a91b 100644 --- a/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php +++ b/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php @@ -7,7 +7,7 @@ use Jose\Component\KeyManagement\JKUFactory; use Jose\Component\KeyManagement\X5UFactory; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php index 098794111..e15aea051 100644 --- a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php @@ -7,7 +7,7 @@ use Jose\Component\Core\JWK; use Jose\Component\Core\Util\Base64UrlSafe; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php index 2bb625767..bcdc36b89 100644 --- a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php @@ -7,7 +7,7 @@ use Jose\Component\Core\JWKSet; use Jose\Tests\Bundle\JoseFramework\TestBundle\Service\MockClientCallback; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; use Symfony\Component\HttpClient\Response\MockResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php index 990e0439f..1ddc09a8b 100644 --- a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php +++ b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php @@ -8,7 +8,7 @@ use Jose\Component\Core\JWK; use Jose\Component\NestedToken\NestedTokenBuilder; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php index 102476f9e..54faf4b72 100644 --- a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php @@ -9,7 +9,7 @@ use Jose\Component\Core\JWKSet; use Jose\Component\NestedToken\NestedTokenLoader; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php index 11885c18e..df4a86dc8 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php @@ -14,7 +14,7 @@ use Jose\Component\Encryption\Serializer\JWESerializerManagerFactory; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Encoder\DecoderInterface; use Symfony\Component\Serializer\Encoder\EncoderInterface; use function sprintf; diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php index 228c6f7c9..84e53a5c9 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php @@ -12,7 +12,7 @@ use Jose\Component\Encryption\Serializer\JWESerializerManagerFactory; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php index 3767d5026..d7afb891d 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php @@ -13,7 +13,7 @@ use Jose\Component\Signature\Serializer\JWSSerializerManagerFactory; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Encoder\DecoderInterface; use Symfony\Component\Serializer\Encoder\EncoderInterface; diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php index ab5889710..426d8963f 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php @@ -12,7 +12,7 @@ use Jose\Component\Signature\Serializer\JWSSerializerManagerFactory; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php index 1801bd1cc..0d6ceb85b 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php @@ -8,7 +8,7 @@ use Jose\Bundle\JoseFramework\Services\JWSBuilderFactory as JWSBuilderFactoryService; use Jose\Component\Signature\JWSBuilderFactory; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php index b3f3441ed..5ee479840 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php @@ -9,7 +9,7 @@ use Jose\Component\Signature\JWSVerifier; use Jose\Component\Signature\Serializer\CompactSerializer; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php index 55aac82ac..e1861d54a 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php @@ -8,7 +8,7 @@ use Jose\Component\Signature\JWSLoader; use Jose\Component\Signature\JWSLoaderFactory; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php index 63da70897..3c8c0a9b9 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php @@ -6,7 +6,7 @@ use Jose\Component\Signature\Serializer\JWSSerializerManager; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php index bd5c8f5d9..7c13c8cb5 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php @@ -7,7 +7,7 @@ use Jose\Bundle\JoseFramework\Services\JWSVerifierFactory as JWSVerifierFactoryService; use Jose\Component\Signature\JWSVerifier; use PHPUnit\Framework\Attributes\Test; -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; +use Jose\Tests\Bundle\JoseFramework\WebTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/KernelTestCase.php b/tests/Bundle/JoseFramework/KernelTestCase.php new file mode 100644 index 000000000..b23dc0e62 --- /dev/null +++ b/tests/Bundle/JoseFramework/KernelTestCase.php @@ -0,0 +1,16 @@ + 'RSA', 'n' => '0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw', 'e' => 'AQAB', ]); - $input = new ArrayInput([ - 'jwk' => JsonConverter::encode($jwk), - ]); - $output = new BufferedOutput(); - $command = new KeyAnalyzerCommand($this->getKeyAnalyzer()); - $command->run($input, $output); - $content = $output->fetch(); - static::assertStringContainsString('* The parameter "alg" should be added.', $content); - static::assertStringContainsString('* The parameter "kid" should be added.', $content); - static::assertStringContainsString('* The parameter "use" should be added.', $content); + $command = (new Application(self::bootKernel()))->find('key:analyze'); + $commandTester = new CommandTester($command); + + // When + $commandTester->execute(['jwk' => JsonConverter::encode($jwk)]); + + // Then + $commandTester->assertCommandIsSuccessful(); + $output = $commandTester->getDisplay(); + + static::assertStringContainsString('* The parameter "alg" should be added.', $output); + static::assertStringContainsString('* The parameter "kid" should be added.', $output); + static::assertStringContainsString('* The parameter "use" should be added.', $output); } #[Test] @@ -74,17 +78,19 @@ public function iCanAnalyzeAKeySetAndGetInformation(): void ], ]); - $input = new ArrayInput([ - 'jwkset' => JsonConverter::encode($keyset), - ]); - $output = new BufferedOutput(); - $command = new KeysetAnalyzerCommand($this->getKeysetAnalyzer(), $this->getKeyAnalyzer()); - $command->run($input, $output); - $content = $output->fetch(); - static::assertStringContainsString('Analysing key with index/kid "1"', $content); - static::assertStringContainsString('* The parameter "alg" should be added.', $content); - static::assertStringContainsString('* The parameter "kid" should be added.', $content); - static::assertStringContainsString('* The parameter "use" should be added.', $content); + $command = (new Application(self::bootKernel()))->find('keyset:analyze'); + $commandTester = new CommandTester($command); + // When + $commandTester->execute(['jwkset' => JsonConverter::encode($keyset)]); + + // Then + $commandTester->assertCommandIsSuccessful(); + $output = $commandTester->getDisplay(); + + static::assertStringContainsString('Analysing key with index/kid "1"', $output); + static::assertStringContainsString('* The parameter "alg" should be added.', $output); + static::assertStringContainsString('* The parameter "kid" should be added.', $output); + static::assertStringContainsString('* The parameter "use" should be added.', $output); } private function getKeyAnalyzer(): KeyAnalyzerManager diff --git a/tests/autoload.php b/tests/bootstrap.php similarity index 54% rename from tests/autoload.php rename to tests/bootstrap.php index 7919c8368..6c9a38623 100644 --- a/tests/autoload.php +++ b/tests/bootstrap.php @@ -7,3 +7,8 @@ require dirname(__DIR__) . '/vendor/autoload.php'; set_exception_handler([new ErrorHandler(), 'handleException']); + +$phpqaPhpunitAutoload = '/tools/.composer/vendor-bin/phpunit/vendor/autoload.php'; +if (file_exists($phpqaPhpunitAutoload)) { + require_once $phpqaPhpunitAutoload; +} From 7ffdd535022fb2b10e2621a394100b0172f29d4d Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:48:40 +0200 Subject: [PATCH 02/19] Enhance Symfony Console commands with `help` attribute Added detailed help descriptions to all Symfony Console commands, replacing older `setHelp()` calls. Removed obsolete test dependencies and configurations for better maintainability. --- .ci-tools/rector.php | 2 ++ .../Console/AddKeyIntoKeysetCommand.php | 6 ++-- src/Library/Console/JKULoaderCommand.php | 6 ++-- src/Library/Console/KeyAnalyzerCommand.php | 6 ++-- src/Library/Console/KeysetAnalyzerCommand.php | 6 ++-- src/Library/Console/MergeKeysetCommand.php | 8 ++--- src/Library/Console/PublicKeyCommand.php | 9 +++--- src/Library/Console/PublicKeysetCommand.php | 9 +++--- src/Library/Console/RotateKeysetCommand.php | 6 ++-- src/Library/Console/X5ULoaderCommand.php | 8 ++--- .../Component/Console/AnalyzeCommandTest.php | 30 ------------------- 11 files changed, 38 insertions(+), 58 deletions(-) diff --git a/.ci-tools/rector.php b/.ci-tools/rector.php index 8b22bbc5b..b1ae50a36 100644 --- a/.ci-tools/rector.php +++ b/.ci-tools/rector.php @@ -5,6 +5,7 @@ use Rector\Config\RectorConfig; use Rector\Doctrine\Set\DoctrineSetList; use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector; +use Rector\Symfony\Symfony73\Rector\Class_\InvokableCommandInputAttributeRector; use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; @@ -36,6 +37,7 @@ ] ); $builder->withSkip([ + InvokableCommandInputAttributeRector::class, PreferPHPUnitThisCallRector::class, __DIR__ . '/../src/Library/Core/JWKSet.php', __DIR__ . '/../src/Bundle/JoseFramework/DependencyInjection/Source/KeyManagement/JWKSource.php', diff --git a/src/Library/Console/AddKeyIntoKeysetCommand.php b/src/Library/Console/AddKeyIntoKeysetCommand.php index 10794ccab..da69e17f1 100644 --- a/src/Library/Console/AddKeyIntoKeysetCommand.php +++ b/src/Library/Console/AddKeyIntoKeysetCommand.php @@ -16,14 +16,16 @@ use function is_array; use function is_string; -#[AsCommand(name: 'keyset:add:key', description: 'Add a key into a key set.',)] +#[AsCommand(name: 'keyset:add:key', description: 'Add a key into a key set.', help: <<<'TXT' +This command adds a key at the end of a key set. +TXT)] final class AddKeyIntoKeysetCommand extends ObjectOutputCommand { #[Override] protected function configure(): void { parent::configure(); - $this->setHelp('This command adds a key at the end of a key set.') + $this ->addArgument('jwkset', InputArgument::REQUIRED, 'The JWKSet object') ->addArgument('jwk', InputArgument::REQUIRED, 'The new JWK object'); } diff --git a/src/Library/Console/JKULoaderCommand.php b/src/Library/Console/JKULoaderCommand.php index 243dc0d61..5ddd2486f 100644 --- a/src/Library/Console/JKULoaderCommand.php +++ b/src/Library/Console/JKULoaderCommand.php @@ -13,7 +13,9 @@ use Symfony\Component\Console\Output\OutputInterface; use function is_string; -#[AsCommand(name: 'keyset:load:jku', description: 'Loads a key set from an url.',)] +#[AsCommand(name: 'keyset:load:jku', description: 'Loads a key set from an url.', help: <<<'TXT' +This command will try to get a key set from an URL. The distant key set is a JWKSet. +TXT)] final class JKULoaderCommand extends ObjectOutputCommand { public function __construct( @@ -27,7 +29,7 @@ public function __construct( protected function configure(): void { parent::configure(); - $this->setHelp('This command will try to get a key set from an URL. The distant key set is a JWKSet.') + $this ->addArgument('url', InputArgument::REQUIRED, 'The URL'); } diff --git a/src/Library/Console/KeyAnalyzerCommand.php b/src/Library/Console/KeyAnalyzerCommand.php index 381b185c5..4d3e02ac1 100644 --- a/src/Library/Console/KeyAnalyzerCommand.php +++ b/src/Library/Console/KeyAnalyzerCommand.php @@ -18,7 +18,9 @@ use function is_array; use function is_string; -#[AsCommand(name: 'key:analyze', description: 'JWK quality analyzer.',)] +#[AsCommand(name: 'key:analyze', description: 'JWK quality analyzer.', help: <<<'TXT' +This command will analyze a JWK object and find security issues. +TXT)] final class KeyAnalyzerCommand extends Command { public function __construct( @@ -32,7 +34,7 @@ public function __construct( protected function configure(): void { parent::configure(); - $this->setHelp('This command will analyze a JWK object and find security issues.') + $this ->addArgument('jwk', InputArgument::REQUIRED, 'The JWK object'); } diff --git a/src/Library/Console/KeysetAnalyzerCommand.php b/src/Library/Console/KeysetAnalyzerCommand.php index 8f28fdc7f..780d2ecdf 100644 --- a/src/Library/Console/KeysetAnalyzerCommand.php +++ b/src/Library/Console/KeysetAnalyzerCommand.php @@ -21,7 +21,9 @@ use function is_string; use function sprintf; -#[AsCommand(name: 'keyset:analyze', description: 'JWKSet quality analyzer.',)] +#[AsCommand(name: 'keyset:analyze', description: 'JWKSet quality analyzer.', help: <<<'TXT' +This command will analyze a JWKSet object and find security issues. +TXT)] final class KeysetAnalyzerCommand extends Command { public function __construct( @@ -36,7 +38,7 @@ public function __construct( protected function configure(): void { parent::configure(); - $this->setHelp('This command will analyze a JWKSet object and find security issues.') + $this ->addArgument('jwkset', InputArgument::REQUIRED, 'The JWKSet object'); } diff --git a/src/Library/Console/MergeKeysetCommand.php b/src/Library/Console/MergeKeysetCommand.php index 5b0735747..5e3a9d576 100644 --- a/src/Library/Console/MergeKeysetCommand.php +++ b/src/Library/Console/MergeKeysetCommand.php @@ -14,16 +14,16 @@ use Symfony\Component\Console\Output\OutputInterface; use function is_array; -#[AsCommand(name: 'keyset:merge', description: 'Merge several key sets into one.',)] +#[AsCommand(name: 'keyset:merge', description: 'Merge several key sets into one.', help: <<<'TXT' +This command merges several key sets into one. It is very useful when you generate e.g. RSA, EC and OKP keys and you want only one key set to rule them all. +TXT)] final class MergeKeysetCommand extends ObjectOutputCommand { #[Override] protected function configure(): void { parent::configure(); - $this->setHelp( - 'This command merges several key sets into one. It is very useful when you generate e.g. RSA, EC and OKP keys and you want only one key set to rule them all.' - ) + $this ->addArgument('jwksets', InputArgument::REQUIRED | InputArgument::IS_ARRAY, 'The JWKSet objects'); } diff --git a/src/Library/Console/PublicKeyCommand.php b/src/Library/Console/PublicKeyCommand.php index 9f953aea6..e0c521dbb 100644 --- a/src/Library/Console/PublicKeyCommand.php +++ b/src/Library/Console/PublicKeyCommand.php @@ -15,17 +15,16 @@ use function is_array; use function is_string; -#[AsCommand( - name: 'key:convert:public', - description: 'Convert a private key into public key. Symmetric keys (shared keys) are not changed.', -)] +#[AsCommand(name: 'key:convert:public', description: 'Convert a private key into public key. Symmetric keys (shared keys) are not changed.', help: <<<'TXT' +This command converts a private key into a public key. +TXT)] final class PublicKeyCommand extends ObjectOutputCommand { #[Override] protected function configure(): void { parent::configure(); - $this->setHelp('This command converts a private key into a public key.') + $this ->addArgument('jwk', InputArgument::REQUIRED, 'The JWK object'); } diff --git a/src/Library/Console/PublicKeysetCommand.php b/src/Library/Console/PublicKeysetCommand.php index b0a61c20d..63ba7d866 100644 --- a/src/Library/Console/PublicKeysetCommand.php +++ b/src/Library/Console/PublicKeysetCommand.php @@ -15,17 +15,16 @@ use function is_array; use function is_string; -#[AsCommand( - name: 'keyset:convert:public', - description: 'Convert private keys in a key set into public keys. Symmetric keys (shared keys) are not changed.', -)] +#[AsCommand(name: 'keyset:convert:public', description: 'Convert private keys in a key set into public keys. Symmetric keys (shared keys) are not changed.', help: <<<'TXT' +This command converts private keys in a key set into public keys. +TXT)] final class PublicKeysetCommand extends ObjectOutputCommand { #[Override] protected function configure(): void { parent::configure(); - $this->setHelp('This command converts private keys in a key set into public keys.') + $this ->addArgument('jwkset', InputArgument::REQUIRED, 'The JWKSet object'); } diff --git a/src/Library/Console/RotateKeysetCommand.php b/src/Library/Console/RotateKeysetCommand.php index b363eea7a..bab57e61f 100644 --- a/src/Library/Console/RotateKeysetCommand.php +++ b/src/Library/Console/RotateKeysetCommand.php @@ -17,14 +17,16 @@ use function is_array; use function is_string; -#[AsCommand(name: 'keyset:rotate', description: 'Rotate a key set.',)] +#[AsCommand(name: 'keyset:rotate', description: 'Rotate a key set.', help: <<<'TXT' +This command removes the last key in a key set a place a new one at the beginning. +TXT)] final class RotateKeysetCommand extends ObjectOutputCommand { #[Override] protected function configure(): void { parent::configure(); - $this->setHelp('This command removes the last key in a key set a place a new one at the beginning.') + $this ->addArgument('jwkset', InputArgument::REQUIRED, 'The JWKSet object') ->addArgument('jwk', InputArgument::REQUIRED, 'The new JWK object'); } diff --git a/src/Library/Console/X5ULoaderCommand.php b/src/Library/Console/X5ULoaderCommand.php index 7d613a641..d74656279 100644 --- a/src/Library/Console/X5ULoaderCommand.php +++ b/src/Library/Console/X5ULoaderCommand.php @@ -13,7 +13,9 @@ use Symfony\Component\Console\Output\OutputInterface; use function is_string; -#[AsCommand(name: 'keyset:load:x5u', description: 'Loads a key set from an url.',)] +#[AsCommand(name: 'keyset:load:x5u', description: 'Loads a key set from an url.', help: <<<'TXT' +This command will try to get a key set from an URL. The distant key set is list of X.509 certificates. +TXT)] final class X5ULoaderCommand extends ObjectOutputCommand { public function __construct( @@ -27,9 +29,7 @@ public function __construct( protected function configure(): void { parent::configure(); - $this->setHelp( - 'This command will try to get a key set from an URL. The distant key set is list of X.509 certificates.' - ) + $this ->addArgument('url', InputArgument::REQUIRED, 'The URL'); } diff --git a/tests/Component/Console/AnalyzeCommandTest.php b/tests/Component/Console/AnalyzeCommandTest.php index 1301e1b07..ecca586f0 100644 --- a/tests/Component/Console/AnalyzeCommandTest.php +++ b/tests/Component/Console/AnalyzeCommandTest.php @@ -29,10 +29,6 @@ */ final class AnalyzeCommandTest extends KernelTestCase { - private ?KeyAnalyzerManager $keyAnalyzerManager = null; - - private ?KeysetAnalyzerManager $keysetAnalyzerManager = null; - #[Test] public function iCanAnalyzeAKeyAndGetInformation(): void { @@ -92,30 +88,4 @@ public function iCanAnalyzeAKeySetAndGetInformation(): void static::assertStringContainsString('* The parameter "kid" should be added.', $output); static::assertStringContainsString('* The parameter "use" should be added.', $output); } - - private function getKeyAnalyzer(): KeyAnalyzerManager - { - if ($this->keyAnalyzerManager === null) { - $this->keyAnalyzerManager = new KeyAnalyzerManager(); - $this->keyAnalyzerManager->add(new AlgorithmAnalyzer()); - $this->keyAnalyzerManager->add(new KeyIdentifierAnalyzer()); - $this->keyAnalyzerManager->add(new NoneAnalyzer()); - $this->keyAnalyzerManager->add(new OctAnalyzer()); - $this->keyAnalyzerManager->add(new RsaAnalyzer()); - $this->keyAnalyzerManager->add(new UsageAnalyzer()); - } - - return $this->keyAnalyzerManager; - } - - private function getKeysetAnalyzer(): KeysetAnalyzerManager - { - if ($this->keysetAnalyzerManager === null) { - $this->keysetAnalyzerManager = new KeysetAnalyzerManager(); - $this->keysetAnalyzerManager->add(new MixedKeyTypes()); - $this->keysetAnalyzerManager->add(new MixedPublicAndPrivateKeys()); - } - - return $this->keysetAnalyzerManager; - } } From 506d5e434cad9391f8e9f173a60e4190bce43739 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:50:48 +0200 Subject: [PATCH 03/19] Update CI workflow: refine mutation testing conditions Updated the workflow condition for mutation testing jobs to trigger only on branches matching the `X.X.x` pattern. Removed redundant build workflows to streamline configuration. --- .github/workflows/ci.yml | 131 +-------------------------------------- 1 file changed, 2 insertions(+), 129 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 212073383..92b45719c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -220,7 +220,7 @@ jobs: infection: name: "🧬 Mutation Testing" needs: [prepare_dependencies, tests] - if: github.ref == 'refs/heads/main' + if: ${{ github.ref_name =~ '^[0-9]+\.[0-9]+\.x$' }} runs-on: ubuntu-latest container: image: ghcr.io/spomky-labs/phpqa:8.4 @@ -245,7 +245,7 @@ jobs: phpunit- - name: Execute Infection run: castor infect - + exported_files: name: "📁 Exported Files Check" needs: [prepare_dependencies] @@ -262,130 +262,3 @@ jobs: echo "❌ Exported files do not match expected list" exit 1 fi - - prepare: - name: "🧰 Build Preparation" - needs: [tests] - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - outputs: - image_name: ${{ steps.normalize.outputs.name }} - short_sha: ${{ steps.sha.outputs.short }} - is_tag: ${{ steps.tag.outputs.is_tag }} - version: ${{ steps.tag.outputs.version }} - major: ${{ steps.tag.outputs.major }} - minor: ${{ steps.tag.outputs.minor }} - steps: - - uses: actions/checkout@v4 - - name: Normalize image name - id: normalize - run: echo "name=${IMAGE_NAME,,}" >> "$GITHUB_OUTPUT" - - name: Extract short SHA - id: sha - run: echo "short=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" - - name: Extract version from tag - id: tag - run: | - if [[ "${GITHUB_REF}" == refs/tags/* ]]; then - version="${GITHUB_REF#refs/tags/}" - major=$(cut -d. -f1 <<< "$version") - minor=$(cut -d. -f2 <<< "$version") - echo "is_tag=true" >> "$GITHUB_OUTPUT" - echo "version=$version" >> "$GITHUB_OUTPUT" - echo "major=$major" >> "$GITHUB_OUTPUT" - echo "minor=$minor" >> "$GITHUB_OUTPUT" - else - echo "is_tag=false" >> "$GITHUB_OUTPUT" - fi - - build-amd64: - name: "🐳 Build Docker (AMD64)" - needs: prepare - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push AMD64 image - uses: docker/build-push-action@v6 - with: - context: . - push: true - platforms: linux/amd64 - tags: | - ${{ needs.prepare.outputs.image_name }}:amd64 - ${{ needs.prepare.outputs.image_name }}:${{ needs.prepare.outputs.short_sha }}-amd64 - cache-from: type=gha - cache-to: type=gha,mode=max - - build-arm64: - name: "🐳 Build Docker (ARM64)" - needs: prepare - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') - runs-on: self-hosted - steps: - - uses: actions/checkout@v4 - - uses: docker/setup-buildx-action@v3 - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push ARM64 image - uses: docker/build-push-action@v6 - with: - context: . - push: true - platforms: linux/arm64 - tags: | - ${{ needs.prepare.outputs.image_name }}:arm64 - ${{ needs.prepare.outputs.image_name }}:${{ needs.prepare.outputs.short_sha }}-arm64 - cache-from: type=gha - cache-to: type=gha,mode=max - - manifest: - name: "📦 Docker Manifest" - needs: [build-amd64, build-arm64, prepare] - runs-on: ubuntu-latest - env: - IMAGE_NAME: ${{ needs.prepare.outputs.image_name }} - SHORT_SHA: ${{ needs.prepare.outputs.short_sha }} - IS_TAG: ${{ needs.prepare.outputs.is_tag }} - VERSION: ${{ needs.prepare.outputs.version }} - MAJOR: ${{ needs.prepare.outputs.major }} - MINOR: ${{ needs.prepare.outputs.minor }} - GITHUB_REF: ${{ github.ref }} - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') - steps: - - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Create and push Docker manifest - run: | - docker buildx imagetools create \ - --tag $IMAGE_NAME:$SHORT_SHA \ - $IMAGE_NAME:amd64 \ - $IMAGE_NAME:arm64 - - if [[ "$GITHUB_REF" == "refs/heads/main" ]]; then - docker buildx imagetools create \ - --tag $IMAGE_NAME:latest \ - $IMAGE_NAME:amd64 \ - $IMAGE_NAME:arm64 - fi - - if [[ "$IS_TAG" == "true" ]]; then - docker buildx imagetools create \ - --tag $IMAGE_NAME:$VERSION \ - --tag $IMAGE_NAME:$MAJOR \ - --tag $IMAGE_NAME:$MAJOR.$MINOR \ - $IMAGE_NAME:amd64 \ - $IMAGE_NAME:arm64 - fi From 858ba24fa10528b4b771d1a893d7d05bc10fb9fb Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:50:59 +0200 Subject: [PATCH 04/19] Refactor tests and commands: standardize formatting and clean imports Standardized command attributes formatting across multiple files for improved readability. Cleaned up unused imports in test classes and ensured consistent order. Simplified command execution parameter formatting in test cases. --- .ci-tools/rector.php | 2 +- src/Library/Console/PublicKeyCommand.php | 8 ++++++-- src/Library/Console/PublicKeysetCommand.php | 8 ++++++-- .../Functional/Checker/ClaimCheckerTest.php | 2 +- .../Functional/Checker/HeaderCheckerTest.php | 2 +- .../Functional/Console/ConsoleTest.php | 2 +- .../Functional/Encryption/JWEBuilderTest.php | 2 +- .../Encryption/JWECollectorTest.php | 2 +- .../Encryption/JWEComputationTest.php | 2 +- .../Encryption/JWEDecrypterTest.php | 2 +- .../Functional/Encryption/JWELoaderTest.php | 2 +- .../Encryption/JWESerializerTest.php | 2 +- .../KeyManagement/JKUAndX5UFactoriesTest.php | 2 +- .../KeyManagement/JWKLoaderTest.php | 2 +- .../KeyManagement/JWKSetLoaderTest.php | 2 +- .../NestedToken/NestedTokenBuilderTest.php | 2 +- .../NestedToken/NestedTokenLoaderTest.php | 2 +- .../Functional/Serializer/JWEEncoderTest.php | 2 +- .../Serializer/JWESerializerTest.php | 2 +- .../Functional/Serializer/JWSEncoderTest.php | 2 +- .../Serializer/JWSSerializerTest.php | 2 +- .../Functional/Signature/JWSBuilderTest.php | 2 +- .../Signature/JWSComputationTest.php | 2 +- .../Functional/Signature/JWSLoaderTest.php | 2 +- .../Signature/JWSSerializerTest.php | 2 +- .../Functional/Signature/JWSVerifierTest.php | 2 +- tests/Bundle/JoseFramework/KernelTestCase.php | 1 - tests/Bundle/JoseFramework/WebTestCase.php | 1 - .../Component/Console/AnalyzeCommandTest.php | 20 ++++++------------- 29 files changed, 42 insertions(+), 44 deletions(-) diff --git a/.ci-tools/rector.php b/.ci-tools/rector.php index b1ae50a36..6d450c1d4 100644 --- a/.ci-tools/rector.php +++ b/.ci-tools/rector.php @@ -5,10 +5,10 @@ use Rector\Config\RectorConfig; use Rector\Doctrine\Set\DoctrineSetList; use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector; -use Rector\Symfony\Symfony73\Rector\Class_\InvokableCommandInputAttributeRector; use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; +use Rector\Symfony\Symfony73\Rector\Class_\InvokableCommandInputAttributeRector; use Rector\ValueObject\PhpVersion; $builder = RectorConfig::configure(); diff --git a/src/Library/Console/PublicKeyCommand.php b/src/Library/Console/PublicKeyCommand.php index e0c521dbb..d44494c08 100644 --- a/src/Library/Console/PublicKeyCommand.php +++ b/src/Library/Console/PublicKeyCommand.php @@ -15,9 +15,13 @@ use function is_array; use function is_string; -#[AsCommand(name: 'key:convert:public', description: 'Convert a private key into public key. Symmetric keys (shared keys) are not changed.', help: <<<'TXT' +#[AsCommand( + name: 'key:convert:public', + description: 'Convert a private key into public key. Symmetric keys (shared keys) are not changed.', + help: <<<'TXT' This command converts a private key into a public key. -TXT)] +TXT +)] final class PublicKeyCommand extends ObjectOutputCommand { #[Override] diff --git a/src/Library/Console/PublicKeysetCommand.php b/src/Library/Console/PublicKeysetCommand.php index 63ba7d866..84d87bcc1 100644 --- a/src/Library/Console/PublicKeysetCommand.php +++ b/src/Library/Console/PublicKeysetCommand.php @@ -15,9 +15,13 @@ use function is_array; use function is_string; -#[AsCommand(name: 'keyset:convert:public', description: 'Convert private keys in a key set into public keys. Symmetric keys (shared keys) are not changed.', help: <<<'TXT' +#[AsCommand( + name: 'keyset:convert:public', + description: 'Convert private keys in a key set into public keys. Symmetric keys (shared keys) are not changed.', + help: <<<'TXT' This command converts private keys in a key set into public keys. -TXT)] +TXT +)] final class PublicKeysetCommand extends ObjectOutputCommand { #[Override] diff --git a/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php b/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php index c3be99ae6..f75081f2a 100644 --- a/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Checker/ClaimCheckerTest.php @@ -5,8 +5,8 @@ namespace Jose\Tests\Bundle\JoseFramework\Functional\Checker; use Jose\Bundle\JoseFramework\Services\ClaimCheckerManagerFactory as ClaimCheckerManagerFactoryService; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php b/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php index 35c4744a1..fb610ff9c 100644 --- a/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Checker/HeaderCheckerTest.php @@ -5,8 +5,8 @@ namespace Jose\Tests\Bundle\JoseFramework\Functional\Checker; use Jose\Bundle\JoseFramework\Services\HeaderCheckerManagerFactory as HeaderCheckerManagerFactoryService; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php b/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php index 613485bf6..87b98810a 100644 --- a/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php +++ b/tests/Bundle/JoseFramework/Functional/Console/ConsoleTest.php @@ -4,9 +4,9 @@ namespace Jose\Tests\Bundle\JoseFramework\Functional\Console; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use PHPUnit\Framework\Attributes\Test; use Symfony\Bundle\FrameworkBundle\Console\Application; -use Jose\Tests\Bundle\JoseFramework\KernelTestCase; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php index 7c60d947c..ffa5fbff0 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWEBuilderTest.php @@ -6,8 +6,8 @@ use Jose\Bundle\JoseFramework\Services\JWEBuilder; use Jose\Bundle\JoseFramework\Services\JWEBuilderFactory as JWEBuilderFactoryService; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php index 21b2cce05..96f64e74b 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php @@ -8,8 +8,8 @@ use Jose\Bundle\JoseFramework\Services\JWEBuilderFactory as JWEBuilderFactoryService; use Jose\Bundle\JoseFramework\Services\JWEDecrypterFactory as JWEDecrypterFactoryService; use Jose\Bundle\JoseFramework\Services\JWELoaderFactory as JWELoaderFactoryAlias; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php index 938afcd0b..2c9c52666 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWEComputationTest.php @@ -8,8 +8,8 @@ use Jose\Component\Encryption\JWEBuilder; use Jose\Component\Encryption\JWEDecrypter; use Jose\Component\Encryption\Serializer\CompactSerializer; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php index f808b310c..feced11b7 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWEDecrypterTest.php @@ -6,8 +6,8 @@ use Jose\Bundle\JoseFramework\Services\JWEDecrypterFactory as JWEDecrypterFactoryService; use Jose\Component\Encryption\JWEDecrypter; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php index 41fec25b9..1e1e65c45 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWELoaderTest.php @@ -6,8 +6,8 @@ use Jose\Bundle\JoseFramework\Services\JWELoaderFactory as JWELoaderFactoryAlias; use Jose\Component\Encryption\JWELoader; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php b/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php index d7cf70b72..0764f6bd9 100644 --- a/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Encryption/JWESerializerTest.php @@ -5,8 +5,8 @@ namespace Jose\Tests\Bundle\JoseFramework\Functional\Encryption; use Jose\Component\Encryption\Serializer\JWESerializerManager; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php b/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php index 0f500a91b..8c7b4481c 100644 --- a/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php +++ b/tests/Bundle/JoseFramework/Functional/KeyManagement/JKUAndX5UFactoriesTest.php @@ -6,8 +6,8 @@ use Jose\Component\KeyManagement\JKUFactory; use Jose\Component\KeyManagement\X5UFactory; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php index e15aea051..0f02cda4c 100644 --- a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php @@ -6,8 +6,8 @@ use Jose\Component\Core\JWK; use Jose\Component\Core\Util\Base64UrlSafe; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php index bcdc36b89..ff64ad625 100644 --- a/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/KeyManagement/JWKSetLoaderTest.php @@ -6,8 +6,8 @@ use Jose\Component\Core\JWKSet; use Jose\Tests\Bundle\JoseFramework\TestBundle\Service\MockClientCallback; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; use Symfony\Component\HttpClient\Response\MockResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php index 1ddc09a8b..09c9615c8 100644 --- a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php +++ b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenBuilderTest.php @@ -7,8 +7,8 @@ use Jose\Bundle\JoseFramework\Services\NestedTokenBuilderFactory; use Jose\Component\Core\JWK; use Jose\Component\NestedToken\NestedTokenBuilder; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php index 54faf4b72..146e5244f 100644 --- a/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/NestedToken/NestedTokenLoaderTest.php @@ -8,8 +8,8 @@ use Jose\Component\Core\JWK; use Jose\Component\Core\JWKSet; use Jose\Component\NestedToken\NestedTokenLoader; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php index df4a86dc8..cd2c13f97 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWEEncoderTest.php @@ -12,9 +12,9 @@ use Jose\Component\Encryption\Serializer\CompactSerializer; use Jose\Component\Encryption\Serializer\JWESerializerManager; use Jose\Component\Encryption\Serializer\JWESerializerManagerFactory; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Encoder\DecoderInterface; use Symfony\Component\Serializer\Encoder\EncoderInterface; use function sprintf; diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php index 84e53a5c9..ae3a6c9b4 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWESerializerTest.php @@ -10,9 +10,9 @@ use Jose\Component\Encryption\JWE; use Jose\Component\Encryption\Serializer\JWESerializerManager; use Jose\Component\Encryption\Serializer\JWESerializerManagerFactory; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php index d7afb891d..16e359f3d 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWSEncoderTest.php @@ -11,9 +11,9 @@ use Jose\Component\Signature\Serializer\CompactSerializer; use Jose\Component\Signature\Serializer\JWSSerializerManager; use Jose\Component\Signature\Serializer\JWSSerializerManagerFactory; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Encoder\DecoderInterface; use Symfony\Component\Serializer\Encoder\EncoderInterface; diff --git a/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php b/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php index 426d8963f..bed6a97a2 100644 --- a/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Serializer/JWSSerializerTest.php @@ -10,9 +10,9 @@ use Jose\Component\Signature\JWS; use Jose\Component\Signature\Serializer\JWSSerializerManager; use Jose\Component\Signature\Serializer\JWSSerializerManagerFactory; +use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test; -use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php index 0d6ceb85b..9b3eb9cd3 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSBuilderTest.php @@ -7,8 +7,8 @@ use Jose\Bundle\JoseFramework\Services\JWSBuilder; use Jose\Bundle\JoseFramework\Services\JWSBuilderFactory as JWSBuilderFactoryService; use Jose\Component\Signature\JWSBuilderFactory; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php index 5ee479840..918167ce2 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSComputationTest.php @@ -8,8 +8,8 @@ use Jose\Component\Signature\JWSBuilder; use Jose\Component\Signature\JWSVerifier; use Jose\Component\Signature\Serializer\CompactSerializer; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php index e1861d54a..712e27d29 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSLoaderTest.php @@ -7,8 +7,8 @@ use Jose\Bundle\JoseFramework\Services\JWSLoaderFactory as JWSLoaderFactoryService; use Jose\Component\Signature\JWSLoader; use Jose\Component\Signature\JWSLoaderFactory; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php index 3c8c0a9b9..2dfe1b5d7 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSSerializerTest.php @@ -5,8 +5,8 @@ namespace Jose\Tests\Bundle\JoseFramework\Functional\Signature; use Jose\Component\Signature\Serializer\JWSSerializerManager; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php b/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php index 7c13c8cb5..fe72502c0 100644 --- a/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php +++ b/tests/Bundle/JoseFramework/Functional/Signature/JWSVerifierTest.php @@ -6,8 +6,8 @@ use Jose\Bundle\JoseFramework\Services\JWSVerifierFactory as JWSVerifierFactoryService; use Jose\Component\Signature\JWSVerifier; -use PHPUnit\Framework\Attributes\Test; use Jose\Tests\Bundle\JoseFramework\WebTestCase; +use PHPUnit\Framework\Attributes\Test; /** * @internal diff --git a/tests/Bundle/JoseFramework/KernelTestCase.php b/tests/Bundle/JoseFramework/KernelTestCase.php index b23dc0e62..f415bb995 100644 --- a/tests/Bundle/JoseFramework/KernelTestCase.php +++ b/tests/Bundle/JoseFramework/KernelTestCase.php @@ -4,7 +4,6 @@ namespace Jose\Tests\Bundle\JoseFramework; -use Jose\Tests\Bundle\JoseFramework\AppKernel; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase as BaseKernelTestCase; class KernelTestCase extends BaseKernelTestCase diff --git a/tests/Bundle/JoseFramework/WebTestCase.php b/tests/Bundle/JoseFramework/WebTestCase.php index 17065dad5..d2e82eb74 100644 --- a/tests/Bundle/JoseFramework/WebTestCase.php +++ b/tests/Bundle/JoseFramework/WebTestCase.php @@ -8,7 +8,6 @@ class WebTestCase extends BaseWebTestCase { - protected static function getKernelClass(): string { return AppKernel::class; diff --git a/tests/Component/Console/AnalyzeCommandTest.php b/tests/Component/Console/AnalyzeCommandTest.php index ecca586f0..1be39cb24 100644 --- a/tests/Component/Console/AnalyzeCommandTest.php +++ b/tests/Component/Console/AnalyzeCommandTest.php @@ -4,21 +4,9 @@ namespace Jose\Tests\Component\Console; -use Jose\Component\Console\KeyAnalyzerCommand; -use Jose\Component\Console\KeysetAnalyzerCommand; use Jose\Component\Core\JWK; use Jose\Component\Core\JWKSet; use Jose\Component\Core\Util\JsonConverter; -use Jose\Component\KeyManagement\Analyzer\AlgorithmAnalyzer; -use Jose\Component\KeyManagement\Analyzer\KeyAnalyzerManager; -use Jose\Component\KeyManagement\Analyzer\KeyIdentifierAnalyzer; -use Jose\Component\KeyManagement\Analyzer\KeysetAnalyzerManager; -use Jose\Component\KeyManagement\Analyzer\MixedKeyTypes; -use Jose\Component\KeyManagement\Analyzer\MixedPublicAndPrivateKeys; -use Jose\Component\KeyManagement\Analyzer\NoneAnalyzer; -use Jose\Component\KeyManagement\Analyzer\OctAnalyzer; -use Jose\Component\KeyManagement\Analyzer\RsaAnalyzer; -use Jose\Component\KeyManagement\Analyzer\UsageAnalyzer; use Jose\Tests\Bundle\JoseFramework\KernelTestCase; use PHPUnit\Framework\Attributes\Test; use Symfony\Bundle\FrameworkBundle\Console\Application; @@ -43,7 +31,9 @@ public function iCanAnalyzeAKeyAndGetInformation(): void $commandTester = new CommandTester($command); // When - $commandTester->execute(['jwk' => JsonConverter::encode($jwk)]); + $commandTester->execute([ + 'jwk' => JsonConverter::encode($jwk), + ]); // Then $commandTester->assertCommandIsSuccessful(); @@ -77,7 +67,9 @@ public function iCanAnalyzeAKeySetAndGetInformation(): void $command = (new Application(self::bootKernel()))->find('keyset:analyze'); $commandTester = new CommandTester($command); // When - $commandTester->execute(['jwkset' => JsonConverter::encode($keyset)]); + $commandTester->execute([ + 'jwkset' => JsonConverter::encode($keyset), + ]); // Then $commandTester->assertCommandIsSuccessful(); From 6bd5143d8504c133911d732f7ee9a91ffec15604 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:51:51 +0200 Subject: [PATCH 05/19] Update phpstan-baseline: adjust error messages for constructors and inheritance rules Revised baseline to reflect updated checks on constructor parameter defaults, nullable declarations, and inheritance restrictions. Removed obsolete error messages for better alignment with current codebase. --- .ci-tools/phpstan-baseline.neon | 44 ++++++++++++--------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/.ci-tools/phpstan-baseline.neon b/.ci-tools/phpstan-baseline.neon index b14e28408..e566b69bc 100644 --- a/.ci-tools/phpstan-baseline.neon +++ b/.ci-tools/phpstan-baseline.neon @@ -6349,32 +6349,26 @@ parameters: path: ../src/Library/Console/JKULoaderCommand.php - - message: '#^Access to undefined constant Jose\\Component\\Console\\KeyAnalyzerCommand\:\:SUCCESS\.$#' - identifier: classConstant.notFound - count: 1 - path: ../src/Library/Console/KeyAnalyzerCommand.php - - - - message: '#^Method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:__invoke\(\) should return int but returns mixed\.$#' - identifier: return.type + message: '#^Class "Jose\\Component\\Console\\KeyAnalyzerCommand" is not allowed to extend "Symfony\\Component\\Console\\Command\\Command"\.$#' + identifier: ergebnis.noExtends count: 1 path: ../src/Library/Console/KeyAnalyzerCommand.php - - message: '#^Method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:configure\(\) is protected, but since the containing class is final, it can be private\.$#' - identifier: ergebnis.privateInFinalClass + message: '#^Constructor in Jose\\Component\\Console\\KeyAnalyzerCommand has parameter \$name with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue count: 1 path: ../src/Library/Console/KeyAnalyzerCommand.php - - message: '#^Parameter \#1 \$input of method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:getKey\(\) expects Symfony\\Component\\Console\\Input\\InputInterface, mixed given\.$#' - identifier: argument.type + message: '#^Method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:__construct\(\) has parameter \$name with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration count: 1 path: ../src/Library/Console/KeyAnalyzerCommand.php - - message: '#^Undefined variable\: \$input$#' - identifier: variable.undefined + message: '#^Method Jose\\Component\\Console\\KeyAnalyzerCommand\:\:__construct\(\) has parameter \$name with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue count: 1 path: ../src/Library/Console/KeyAnalyzerCommand.php @@ -6385,26 +6379,26 @@ parameters: path: ../src/Library/Console/KeyFileLoaderCommand.php - - message: '#^Access to undefined constant Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:SUCCESS\.$#' - identifier: classConstant.notFound + message: '#^Class "Jose\\Component\\Console\\KeysetAnalyzerCommand" is not allowed to extend "Symfony\\Component\\Console\\Command\\Command"\.$#' + identifier: ergebnis.noExtends count: 1 path: ../src/Library/Console/KeysetAnalyzerCommand.php - - message: '#^Method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:__invoke\(\) should return int but returns mixed\.$#' - identifier: return.type + message: '#^Constructor in Jose\\Component\\Console\\KeysetAnalyzerCommand has parameter \$name with default value\.$#' + identifier: ergebnis.noConstructorParameterWithDefaultValue count: 1 path: ../src/Library/Console/KeysetAnalyzerCommand.php - - message: '#^Method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:configure\(\) is protected, but since the containing class is final, it can be private\.$#' - identifier: ergebnis.privateInFinalClass + message: '#^Method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:__construct\(\) has parameter \$name with a nullable type declaration\.$#' + identifier: ergebnis.noParameterWithNullableTypeDeclaration count: 1 path: ../src/Library/Console/KeysetAnalyzerCommand.php - - message: '#^Parameter \#1 \$input of method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:getKeyset\(\) expects Symfony\\Component\\Console\\Input\\InputInterface, mixed given\.$#' - identifier: argument.type + message: '#^Method Jose\\Component\\Console\\KeysetAnalyzerCommand\:\:__construct\(\) has parameter \$name with null as default value\.$#' + identifier: ergebnis.noParameterWithNullDefaultValue count: 1 path: ../src/Library/Console/KeysetAnalyzerCommand.php @@ -6420,12 +6414,6 @@ parameters: count: 1 path: ../src/Library/Console/KeysetAnalyzerCommand.php - - - message: '#^Undefined variable\: \$input$#' - identifier: variable.undefined - count: 1 - path: ../src/Library/Console/KeysetAnalyzerCommand.php - - message: '#^Class "Jose\\Component\\Console\\MergeKeysetCommand" is not allowed to extend "Jose\\Component\\Console\\ObjectOutputCommand"\.$#' identifier: ergebnis.noExtends From 0cda33d53e0b200cb740843ba8563375493c28cc Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:54:44 +0200 Subject: [PATCH 06/19] Update CI workflow: replace deprecated `=~` operator with `matches` for branch pattern condition --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92b45719c..66647a615 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -220,7 +220,7 @@ jobs: infection: name: "🧬 Mutation Testing" needs: [prepare_dependencies, tests] - if: ${{ github.ref_name =~ '^[0-9]+\.[0-9]+\.x$' }} + if: ${{ github.ref_name matches '^[0-9]+\.[0-9]+\.x$' }} runs-on: ubuntu-latest container: image: ghcr.io/spomky-labs/phpqa:8.4 From 5942869a0ab78fe4999af07267386c442329b5a8 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:56:00 +0200 Subject: [PATCH 07/19] Update CI workflow: simplify branch condition for mutation testing Simplified the branch condition for mutation testing jobs by replacing `matches` with `endsWith`. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66647a615..193f7d60e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -220,7 +220,7 @@ jobs: infection: name: "🧬 Mutation Testing" needs: [prepare_dependencies, tests] - if: ${{ github.ref_name matches '^[0-9]+\.[0-9]+\.x$' }} + if: ${{ endsWith(github.ref_name, '.x') }} runs-on: ubuntu-latest container: image: ghcr.io/spomky-labs/phpqa:8.4 From e30211b33573ec5becd514ee13f9df290a2fc9c5 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 12:58:08 +0200 Subject: [PATCH 08/19] Update CI workflow: remove Dockerfile linting step Removed the `docker_lint` job from the CI workflow for simplification. Adjusted dependency for `prepare_dependencies` job accordingly. --- .github/workflows/ci.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 193f7d60e..5107a71ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,18 +40,9 @@ jobs: exit 1 fi - docker_lint: - name: "🐋 Lint Dockerfile" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: hadolint/hadolint-action@v3.1.0 - with: - dockerfile: ./Dockerfile - prepare_dependencies: name: "📦 Prepare Composer Dependencies" - needs: [pre_checks, docker_lint] + needs: [pre_checks] runs-on: ubuntu-latest container: image: ghcr.io/spomky-labs/phpqa:8.4 From a1ba270696c942eccd180ef59462fbcb280a35ae Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 13:03:38 +0200 Subject: [PATCH 09/19] Update .editorconfig and clean up exports in .gitattributes Standardized indentation and file-specific rules in `.editorconfig`. Adjusted export-ignore rules in `.gitattributes` to minimize unnecessary exclusions and improve maintainability. Updated namespace in `ComposerJsonTest.php`. --- .editorconfig | 62 ++++++++++++++++++++++++-------------- .gitattributes | 15 +-------- tests/ComposerJsonTest.php | 2 +- 3 files changed, 42 insertions(+), 37 deletions(-) diff --git a/.editorconfig b/.editorconfig index 183c4953c..ce4f9b912 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,38 +1,56 @@ -# https://EditorConfig.org +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org root = true [*] -indent_style = space -# Reduce tab size on GitHub -indent_size = 4 -end_of_line = lf +# Change these settings to your own preference charset = utf-8 -trim_trailing_whitespace = true +end_of_line = lf +indent_size = 4 +indent_style = space insert_final_newline = true -block_comment_start = /* -block_comment = * -block_comment_end = */ +trim_trailing_whitespace = true -[{*.yml,*.yaml}] +[*.{js,html,ts,tsx}] indent_size = 2 -[*.neon] -indent_style = tab +[*.json] +indent_size = 2 [*.md] trim_trailing_whitespace = false -[Makefile] +[*.sh] indent_style = tab -# Generated file -[*.txt] -indent_size = unset -trim_trailing_whitespace = unset -insert_final_newline = unset +[*.xml{,.dist}] +indent_style = space +indent_size = 4 -[{*.p12, *.der}] -indent_size = unset -trim_trailing_whitespace = unset -insert_final_newline = unset +[*.{yaml,yml}] +trim_trailing_whitespace = false + +[.github/workflows/*.yml] +indent_size = 2 + +[.gitmodules] +indent_style = tab + +[.php_cs{,.dist}] +indent_style = space +indent_size = 4 + +[composer.json] +indent_size = 4 + +[{,docker-}compose{,.*}.{yaml,yml}] +indent_style = space +indent_size = 2 + +[{,*.*}Dockerfile] +indent_style = tab + +[{,*.*}Caddyfile] +indent_style = tab diff --git a/.gitattributes b/.gitattributes index 01303a799..b5a13849d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,22 +1,9 @@ * text=auto +/.ci-tools export-ignore /.github export-ignore -/packs export-ignore /performance export-ignore /tests export-ignore /.editorconfig export-ignore /.gitattributes export-ignore /.gitignore export-ignore -/.gitsplit.yml export-ignore -/.mergify.yml export-ignore -/monorepo-builder.php export-ignore -/CODE_OF_CONDUCT.md export-ignore -/castor.php export-ignore -/deptrac.yaml export-ignore -/ecs.php export-ignore -/infection.json export-ignore -/phpbench.json export-ignore -/phpstan.neon export-ignore -/phpstan-baseline.neon export-ignore -/phpunit.xml.dist export-ignore -/rector.php export-ignore diff --git a/tests/ComposerJsonTest.php b/tests/ComposerJsonTest.php index 31c0dff77..857fb3318 100644 --- a/tests/ComposerJsonTest.php +++ b/tests/ComposerJsonTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Jose; +namespace Jose\Tests; use DirectoryIterator; use PHPUnit\Framework\Attributes\Test; From c949b4f6aaf8ed21dc17bb79b871e589ea48e539 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 13:07:27 +0200 Subject: [PATCH 10/19] Update CI workflow and remove redundant comment in CallableChecker Updated the `EXPECTED` files list in the CI workflow to reflect the revised export requirements. Removed the unnecessary PHPStan ignore comment in `CallableChecker` as it's no longer relevant. --- .github/workflows/ci.yml | 2 +- src/Library/Checker/CallableChecker.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5107a71ba..a666aafdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -245,7 +245,7 @@ jobs: - uses: actions/checkout@v4 - name: Check exported files run: | - EXPECTED=".env,Dockerfile,README.md,castor.php,compose.prod.yaml,compose.yaml,composer.json,composer.lock,importmap.php,symfony.lock" + EXPECTED=".gitsplit.yml,CODE_OF_CONDUCT.md,LICENSE,README.md,SECURITY.md,castor.php,composer.json" CURRENT=$(git archive HEAD | tar --list | grep -v '/$' | grep -Ev '^(assets|bin|config|fixtures|frankenphp|migrations|public|src|templates|translations)/' | sort | paste -sd "," -) echo "CURRENT = ${CURRENT}" echo "EXPECTED = ${EXPECTED}" diff --git a/src/Library/Checker/CallableChecker.php b/src/Library/Checker/CallableChecker.php index 31f75afe5..1f25791f1 100644 --- a/src/Library/Checker/CallableChecker.php +++ b/src/Library/Checker/CallableChecker.php @@ -25,7 +25,7 @@ public function __construct( private $callable, private readonly bool $protectedHeaderOnly = true ) { - if (! is_callable($this->callable)) { // @phpstan-ignore-line + if (! is_callable($this->callable)) { throw new InvalidArgumentException('The $callable argument must be a callable.'); } } From ed6672381709f0289e81c12f9d080059133887e0 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 13:43:04 +0200 Subject: [PATCH 11/19] Update CI workflow: add PHP version matrix and dynamic image handling Enhanced the `tests` job to include a PHP version matrix (8.2-8.5) for broader compatibility testing. Updated Docker image reference to dynamically use the appropriate version. Added a pre-check step to verify the availability of Docker images and conditionally run PHPUnit based on the result. Disabled fail-fast for improved matrix execution. --- .github/workflows/ci.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a666aafdd..c713741ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -172,7 +172,7 @@ jobs: - run: castor deptrac tests: - name: "8️⃣ Unit & Functional Tests" + name: "8️⃣ Unit & Functional Tests (PHP ${{ matrix.php-version }})" needs: - prepare_dependencies - phpstan @@ -183,8 +183,12 @@ jobs: - check_licenses - deptrac runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + php-version: ['8.2', '8.3', '8.4', '8.5'] container: - image: ghcr.io/spomky-labs/phpqa:8.4 + image: ghcr.io/spomky-labs/phpqa:${{ matrix.php-version }} env: XDEBUG_MODE: coverage steps: @@ -195,10 +199,22 @@ jobs: vendor ~/.composer/cache key: ${{ needs.prepare_dependencies.outputs.cache-key }} + + - name: Check if image exists + id: check-image + run: | + if ! docker pull ghcr.io/spomky-labs/phpqa:${{ matrix.php-version }}; then + echo "Image for PHP ${{ matrix.php-version }} not found" + echo "skip=true" >> $GITHUB_OUTPUT + else + echo "skip=false" >> $GITHUB_OUTPUT + fi + - name: Run PHPUnit + if: steps.check-image.outputs.skip == 'false' run: castor phpunit - name: Cache PHPUnit result and coverage - if: always() + if: always() && steps.check-image.outputs.skip == 'false' uses: actions/cache@v4 with: path: | From 1dfc8bb95e2fad4c1cc4add56b13dc2a35cd7ef0 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 13:49:45 +0200 Subject: [PATCH 12/19] Update CI workflow: remove PHP 8.5 and simplify PHPUnit steps Removed PHP 8.5 from the version matrix to align with supported versions. Simplified PHPUnit execution by removing the pre-check for Docker images and its related conditions. --- .github/workflows/ci.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c713741ad..366d47b25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -184,9 +184,8 @@ jobs: - deptrac runs-on: ubuntu-latest strategy: - fail-fast: false matrix: - php-version: ['8.2', '8.3', '8.4', '8.5'] + php-version: ['8.2', '8.3', '8.4'] container: image: ghcr.io/spomky-labs/phpqa:${{ matrix.php-version }} env: @@ -199,22 +198,10 @@ jobs: vendor ~/.composer/cache key: ${{ needs.prepare_dependencies.outputs.cache-key }} - - - name: Check if image exists - id: check-image - run: | - if ! docker pull ghcr.io/spomky-labs/phpqa:${{ matrix.php-version }}; then - echo "Image for PHP ${{ matrix.php-version }} not found" - echo "skip=true" >> $GITHUB_OUTPUT - else - echo "skip=false" >> $GITHUB_OUTPUT - fi - - name: Run PHPUnit - if: steps.check-image.outputs.skip == 'false' run: castor phpunit - name: Cache PHPUnit result and coverage - if: always() && steps.check-image.outputs.skip == 'false' + if: always() uses: actions/cache@v4 with: path: | From 240977d8b0dd6fe39a08e4ebd20d98d4fa4f9a2d Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 14:00:25 +0200 Subject: [PATCH 13/19] Update CI workflow: add lowest-deps testing and refine cache keys Introduced `lowest-deps` testing for PHP 8.2 to ensure compatibility with minimum dependency versions. Adjusted cache key structure to include PHP version and dependency type for improved cache management. Simplified dependency installation logic in tests job. --- .github/workflows/ci.yml | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 366d47b25..adb313b39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,6 @@ on: pull_request: ~ workflow_dispatch: ~ -env: - IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }} - PHPQA_IMAGE: ghcr.io/spomky-labs/phpqa - PHP_VERSION: 8.4 - ACTIONS_STEP_DEBUG: true - concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true @@ -172,7 +166,7 @@ jobs: - run: castor deptrac tests: - name: "8️⃣ Unit & Functional Tests (PHP ${{ matrix.php-version }})" + name: "8️⃣ Unit & Functional Tests (PHP ${{ matrix.php-version }}${{ matrix.lowest-deps && ' --prefer-lowest' || '' }})" needs: - prepare_dependencies - phpstan @@ -185,7 +179,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['8.2', '8.3', '8.4'] + include: + - php-version: '8.2' + lowest-deps: true + - php-version: '8.2' + - php-version: '8.3' + - php-version: '8.4' container: image: ghcr.io/spomky-labs/phpqa:${{ matrix.php-version }} env: @@ -197,9 +196,19 @@ jobs: path: | vendor ~/.composer/cache - key: ${{ needs.prepare_dependencies.outputs.cache-key }} + key: ${{ needs.prepare_dependencies.outputs.cache-key }}-${{ matrix.php-version }}-${{ matrix.lowest-deps || 'false' }} + + - name: Install dependencies + run: | + if [ "${{ matrix.lowest-deps || 'false' }}" = "true" ]; then + composer update --prefer-lowest --no-interaction --no-progress + else + composer install --no-interaction --no-progress + fi + - name: Run PHPUnit run: castor phpunit + - name: Cache PHPUnit result and coverage if: always() uses: actions/cache@v4 @@ -207,7 +216,7 @@ jobs: path: | .ci-tools/.phpunit.cache .ci-tools/coverage - key: phpunit-${{ needs.prepare_dependencies.outputs.cache-key }} + key: phpunit-${{ needs.prepare_dependencies.outputs.cache-key }}-${{ matrix.php-version }}-${{ matrix.lowest-deps || 'false' }} restore-keys: | phpunit- From 25757c8f3ee8e7a15f3c81c93ee5617cbd37a53e Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 14:11:34 +0200 Subject: [PATCH 14/19] Update CI workflow: pass PHP version as environment variable and use dynamically in Docker image Added `PHP_VERSION` as an environment variable in the workflow matrix and updated `castor.php` to dynamically use this variable for Docker image references. Default PHP version fallback logic added. --- .github/workflows/ci.yml | 1 + castor.php | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adb313b39..ee747261e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -189,6 +189,7 @@ jobs: image: ghcr.io/spomky-labs/phpqa:${{ matrix.php-version }} env: XDEBUG_MODE: coverage + PHP_VERSION: ${{ matrix.php-version }} steps: - uses: actions/checkout@v4 - uses: actions/cache@v4 diff --git a/castor.php b/castor.php index ca0cd5b76..e1bd2b2fe 100644 --- a/castor.php +++ b/castor.php @@ -201,11 +201,15 @@ function phpqa(array $command, array $dockerOptions = []): void '-e', 'XDEBUG_MODE=off', ]; + $phpVersion = getenv('PHP_VERSION') + ?: (\PHP_MAJOR_VERSION . '.' . \PHP_MINOR_VERSION) + ?: '8.4'; + run([ 'docker', 'run', ...$defaultDockerOptions, ...$dockerOptions, - 'ghcr.io/spomky-labs/phpqa:8.4', + sprintf('ghcr.io/spomky-labs/phpqa:%s', $phpVersion), ...$command, ]); } From b6eb2677ebdec98d181cd3477304e8bcbeb2a4d7 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 14:13:30 +0200 Subject: [PATCH 15/19] Simplify PHP version fallback logic in `castor.php` --- castor.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/castor.php b/castor.php index e1bd2b2fe..0fe9b4fcf 100644 --- a/castor.php +++ b/castor.php @@ -201,8 +201,7 @@ function phpqa(array $command, array $dockerOptions = []): void '-e', 'XDEBUG_MODE=off', ]; - $phpVersion = getenv('PHP_VERSION') - ?: (\PHP_MAJOR_VERSION . '.' . \PHP_MINOR_VERSION) + $phpVersion = (getenv('PHP_VERSION') ?: \PHP_MAJOR_VERSION . '.' . \PHP_MINOR_VERSION) ?: '8.4'; run([ From 6180edbcba28ed903d842ace6c11a054c5848880 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 14:39:29 +0200 Subject: [PATCH 16/19] Refactor `castor.php` tasks to use `composer exec` for consistent command execution --- castor.php | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/castor.php b/castor.php index 0fe9b4fcf..c49657807 100644 --- a/castor.php +++ b/castor.php @@ -218,7 +218,7 @@ function phpunit(): void { phpqa( [ - 'phpunit', + 'composer', 'exec', '--', 'phpunit', '--coverage-xml', '.ci-tools/coverage', '--log-junit=.ci-tools/coverage/junit.xml', '--configuration', '.ci-tools/phpunit.xml.dist', @@ -230,38 +230,40 @@ function phpunit(): void #[AsTask(description: 'Run Easy Coding Standard')] function ecs(): void { - phpqa(['ecs', 'check', '--config', '.ci-tools/ecs.php']); + phpqa(['composer', 'exec', '--', 'ecs', 'check', '--config', '.ci-tools/ecs.php']); } #[AsTask(description: 'Fix coding style with Easy Coding Standard')] function ecs_fix(): void { - phpqa(['ecs', 'check', '--config', '.ci-tools/ecs.php', '--fix']); + phpqa(['composer', 'exec', '--', 'ecs', 'check', '--config', '.ci-tools/ecs.php', '--fix']); } #[AsTask(description: 'Run Rector dry-run')] function rector(): void { - phpqa(['rector', 'process', '--dry-run', '--config', '.ci-tools/rector.php']); + phpqa(['composer', 'exec', '--', 'rector', 'process', '--dry-run', '--config', '.ci-tools/rector.php']); } #[AsTask(description: 'Run Rector with fix')] function rector_fix(): void { - phpqa(['rector', 'process', '--config', '.ci-tools/rector.php']); + phpqa(['composer', 'exec', '--', 'rector', 'process', '--config', '.ci-tools/rector.php']); } #[AsTask(description: 'Run PHPStan')] function phpstan(): void { - phpqa(['phpstan', 'analyse', '--error-format=github', '--configuration=.ci-tools/phpstan.neon']); + phpqa([ + 'composer', 'exec', '--', 'phpstan', 'analyse', '--error-format=github', '--configuration=.ci-tools/phpstan.neon'] + ); } #[AsTask(description: 'Generate PHPStan baseline')] function phpstan_baseline(): void { phpqa([ - 'phpstan', 'analyse', + 'composer', 'exec', '--', 'phpstan', 'analyse', '--configuration=.ci-tools/phpstan.neon', '--generate-baseline=.ci-tools/phpstan-baseline.neon', ]); @@ -271,7 +273,7 @@ function phpstan_baseline(): void function deptrac(): void { phpqa([ - 'deptrac', + 'composer', 'exec', '--', 'deptrac', '--config-file', '.ci-tools/deptrac.yaml', '--report-uncovered', '--report-skipped', @@ -279,6 +281,12 @@ function deptrac(): void ]); } +#[AsTask(description: 'Install the dependencies')] +function install(): void +{ + phpqa(['composer', 'install']); +} + #[AsTask(description: 'Run PHP parallel linter')] function lint(): void { @@ -289,7 +297,7 @@ function lint(): void function infect($minMsi = 0, $minCoveredMsi = 0): void { phpqa([ - 'infection', + 'composer', 'exec', '--', 'infection', '--coverage=coverage', sprintf('--min-msi=%d', $minMsi), sprintf('--min-covered-msi=%d', $minCoveredMsi), @@ -304,5 +312,5 @@ function infect($minMsi = 0, $minCoveredMsi = 0): void #[AsTask(description: 'Run QA command', ignoreValidationErrors: true)] function qa(#[AsRawTokens] array $args = []): void { - phpqa($args); + phpqa(['composer', 'exec', '--', ...$args]); } From 49c69ac6d81d9123401f0dbf68c3727b471cbe03 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 14:54:19 +0200 Subject: [PATCH 17/19] Fix indentation in `phpstan` task array --- castor.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/castor.php b/castor.php index c49657807..f5dc19656 100644 --- a/castor.php +++ b/castor.php @@ -254,8 +254,9 @@ function rector_fix(): void #[AsTask(description: 'Run PHPStan')] function phpstan(): void { - phpqa([ - 'composer', 'exec', '--', 'phpstan', 'analyse', '--error-format=github', '--configuration=.ci-tools/phpstan.neon'] + phpqa( + [ + 'composer', 'exec', '--', 'phpstan', 'analyse', '--error-format=github', '--configuration=.ci-tools/phpstan.neon'] ); } From c3e74e31135ba104ed88b3cfb0400780420d9074 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 14:59:40 +0200 Subject: [PATCH 18/19] Update CI workflow: remove caching for dependencies and PHPUnit results Removed `actions/cache` steps for dependencies and PHPUnit results/coverage in the `tests` and `infection` jobs to simplify the workflow and reduce potential cache-related issues. --- .github/workflows/ci.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee747261e..6ee1c4500 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -192,13 +192,6 @@ jobs: PHP_VERSION: ${{ matrix.php-version }} steps: - uses: actions/checkout@v4 - - uses: actions/cache@v4 - with: - path: | - vendor - ~/.composer/cache - key: ${{ needs.prepare_dependencies.outputs.cache-key }}-${{ matrix.php-version }}-${{ matrix.lowest-deps || 'false' }} - - name: Install dependencies run: | if [ "${{ matrix.lowest-deps || 'false' }}" = "true" ]; then @@ -209,17 +202,6 @@ jobs: - name: Run PHPUnit run: castor phpunit - - - name: Cache PHPUnit result and coverage - if: always() - uses: actions/cache@v4 - with: - path: | - .ci-tools/.phpunit.cache - .ci-tools/coverage - key: phpunit-${{ needs.prepare_dependencies.outputs.cache-key }}-${{ matrix.php-version }}-${{ matrix.lowest-deps || 'false' }} - restore-keys: | - phpunit- infection: name: "🧬 Mutation Testing" @@ -232,21 +214,6 @@ jobs: XDEBUG_MODE: coverage steps: - uses: actions/checkout@v4 - - uses: actions/cache@v4 - with: - path: | - vendor - ~/.composer/cache - key: ${{ needs.prepare_dependencies.outputs.cache-key }} - - name: Restore PHPUnit result and coverage - uses: actions/cache@v4 - with: - path: | - .ci-tools/.phpunit.cache - .ci-tools/coverage - key: phpunit-${{ needs.prepare_dependencies.outputs.cache-key }} - restore-keys: | - phpunit- - name: Execute Infection run: castor infect From b37841041e7d90ddd78209b612c1fa1dabcc4493 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 5 Aug 2025 15:51:47 +0200 Subject: [PATCH 19/19] Update CI workflow and `install` task for dependency installation Removed `lowest-deps` testing for PHP 8.2 in the workflow matrix. Updated the `install` task in `castor.php` to support installing dependencies with the `--prefer-lowest` flag when required. --- .github/workflows/ci.yml | 2 -- castor.php | 8 ++++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ee1c4500..50ab038c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -180,8 +180,6 @@ jobs: strategy: matrix: include: - - php-version: '8.2' - lowest-deps: true - php-version: '8.2' - php-version: '8.3' - php-version: '8.4' diff --git a/castor.php b/castor.php index f5dc19656..0108671b1 100644 --- a/castor.php +++ b/castor.php @@ -283,9 +283,13 @@ function deptrac(): void } #[AsTask(description: 'Install the dependencies')] -function install(): void +function install(bool $lowest = false): void { - phpqa(['composer', 'install']); + $command = ['composer', 'install']; + if ($lowest) { + $command[] = '--prefer-lowest'; + } + phpqa($command); } #[AsTask(description: 'Run PHP parallel linter')]