Skip to content

Stan error

Stan error #419

Triggered via pull request February 9, 2024 14:44
Status Failure
Total duration 8m 31s
Artifacts

integrate.yml

on: pull_request
0️⃣ Byte-level
5s
0️⃣ Byte-level
1️⃣ Syntax errors
16s
1️⃣ Syntax errors
3️⃣ Static Analysis
42s
3️⃣ Static Analysis
4️⃣ Coding Standards
1m 4s
4️⃣ Coding Standards
5️⃣ Mutation Testing
7m 58s
5️⃣ Mutation Testing
6️⃣ Rector Checkstyle
50s
6️⃣ Rector Checkstyle
7️⃣ Exported files
5s
7️⃣ Exported files
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 21 warnings
3️⃣ Static Analysis: src/Bundle/Serializer/JWESerializer.php#L29
Method Jose\Bundle\JoseFramework\Serializer\JWESerializer::getSupportedTypes() return type has no value type specified in iterable type array.
3️⃣ Static Analysis: src/Bundle/Serializer/JWSSerializer.php#L29
Method Jose\Bundle\JoseFramework\Serializer\JWSSerializer::getSupportedTypes() return type has no value type specified in iterable type array.
3️⃣ Static Analysis: src/Library/Console/AddKeyIntoKeysetCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\AddKeyIntoKeysetCommand\:\:\$defaultDescription has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/AddKeyIntoKeysetCommand.php was not matched in reported errors.
3️⃣ Static Analysis: src/Library/Console/AddKeyIntoKeysetCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\AddKeyIntoKeysetCommand\:\:\$defaultName has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/AddKeyIntoKeysetCommand.php was not matched in reported errors.
3️⃣ Static Analysis: src/Library/Console/EcKeyGeneratorCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\EcKeyGeneratorCommand\:\:\$defaultDescription has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/EcKeyGeneratorCommand.php was not matched in reported errors.
3️⃣ Static Analysis: src/Library/Console/EcKeyGeneratorCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\EcKeyGeneratorCommand\:\:\$defaultName has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/EcKeyGeneratorCommand.php was not matched in reported errors.
3️⃣ Static Analysis: src/Library/Console/EcKeysetGeneratorCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\EcKeysetGeneratorCommand\:\:\$defaultDescription has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/EcKeysetGeneratorCommand.php was not matched in reported errors.
3️⃣ Static Analysis: src/Library/Console/EcKeysetGeneratorCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\EcKeysetGeneratorCommand\:\:\$defaultName has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/EcKeysetGeneratorCommand.php was not matched in reported errors.
3️⃣ Static Analysis: src/Library/Console/GetThumbprintCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\GetThumbprintCommand\:\:\$defaultDescription has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/GetThumbprintCommand.php was not matched in reported errors.
3️⃣ Static Analysis: src/Library/Console/GetThumbprintCommand.php#L1
Ignored error pattern #^Property Jose\\Component\\Console\\GetThumbprintCommand\:\:\$defaultName has no type specified\.$# in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Console/GetThumbprintCommand.php was not matched in reported errors.
1️⃣ Syntax errors
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.2, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
3️⃣ Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.1, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.1, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.2, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
6️⃣ Rector Checkstyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.3, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
4️⃣ Coding Standards
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2️⃣ Unit and functional tests (ubuntu-latest, 8.3, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
5️⃣ Mutation Testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php#L17
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ { public function process(ContainerBuilder $container) : void { - if (!$container->hasDefinition(AlgorithmManagerFactory::class)) { + if ($container->hasDefinition(AlgorithmManagerFactory::class)) { return; } $definition = $container->getDefinition(AlgorithmManagerFactory::class);
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php#L24
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ } $definition = $container->getDefinition(AlgorithmManagerFactory::class); $taggedAlgorithmServices = $container->findTaggedServiceIds('jose.algorithm'); - foreach ($taggedAlgorithmServices as $id => $tags) { + foreach (array() as $id => $tags) { foreach ($tags as $attributes) { if (!isset($attributes['alias'])) { throw new InvalidArgumentException(sprintf('The algorithm "%s" does not have any "alias" attribute.', $id));
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php#L25
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ $definition = $container->getDefinition(AlgorithmManagerFactory::class); $taggedAlgorithmServices = $container->findTaggedServiceIds('jose.algorithm'); foreach ($taggedAlgorithmServices as $id => $tags) { - foreach ($tags as $attributes) { + foreach (array() as $attributes) { if (!isset($attributes['alias'])) { throw new InvalidArgumentException(sprintf('The algorithm "%s" does not have any "alias" attribute.', $id)); }
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php#L26
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ $taggedAlgorithmServices = $container->findTaggedServiceIds('jose.algorithm'); foreach ($taggedAlgorithmServices as $id => $tags) { foreach ($tags as $attributes) { - if (!isset($attributes['alias'])) { + if (isset($attributes['alias'])) { throw new InvalidArgumentException(sprintf('The algorithm "%s" does not have any "alias" attribute.', $id)); } $definition->addMethodCall('add', [$attributes['alias'], new Reference($id)]);
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php#L32
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if (!isset($attributes['alias'])) { throw new InvalidArgumentException(sprintf('The algorithm "%s" does not have any "alias" attribute.', $id)); } - $definition->addMethodCall('add', [$attributes['alias'], new Reference($id)]); + $definition->addMethodCall('add', [new Reference($id)]); } } } }
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/AlgorithmCompilerPass.php#L32
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if (!isset($attributes['alias'])) { throw new InvalidArgumentException(sprintf('The algorithm "%s" does not have any "alias" attribute.', $id)); } - $definition->addMethodCall('add', [$attributes['alias'], new Reference($id)]); + } } } }
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/CheckerCollectorCompilerPass.php#L17
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ { public function process(ContainerBuilder $container) : void { - if (!$container->hasDefinition(CheckerCollector::class)) { + if ($container->hasDefinition(CheckerCollector::class)) { return; } $definition = $container->getDefinition(CheckerCollector::class);
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/ClaimCheckerCompilerPass.php#L17
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ { public function process(ContainerBuilder $container) : void { - if (!$container->hasDefinition(ClaimCheckerManagerFactory::class)) { + if ($container->hasDefinition(ClaimCheckerManagerFactory::class)) { return; } $definition = $container->getDefinition(ClaimCheckerManagerFactory::class);
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/ClaimCheckerCompilerPass.php#L24
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ } $definition = $container->getDefinition(ClaimCheckerManagerFactory::class); $taggedClaimCheckerServices = $container->findTaggedServiceIds('jose.checker.claim'); - foreach ($taggedClaimCheckerServices as $id => $tags) { + foreach (array() as $id => $tags) { foreach ($tags as $attributes) { if (!isset($attributes['alias'])) { throw new InvalidArgumentException(sprintf('The claim checker "%s" does not have any "alias" attribute.', $id));
5️⃣ Mutation Testing: src/Bundle/DependencyInjection/Compiler/ClaimCheckerCompilerPass.php#L25
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ $definition = $container->getDefinition(ClaimCheckerManagerFactory::class); $taggedClaimCheckerServices = $container->findTaggedServiceIds('jose.checker.claim'); foreach ($taggedClaimCheckerServices as $id => $tags) { - foreach ($tags as $attributes) { + foreach (array() as $attributes) { if (!isset($attributes['alias'])) { throw new InvalidArgumentException(sprintf('The claim checker "%s" does not have any "alias" attribute.', $id)); }