Skip to content

Ensure AES-KW library is available before cypher operation #411

Ensure AES-KW library is available before cypher operation

Ensure AES-KW library is available before cypher operation #411

Triggered via push February 2, 2024 15:02
Status Success
Total duration 8m 28s
Artifacts

integrate.yml

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

Annotations

21 warnings
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.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/.
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, 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/.
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/.
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/.
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, 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/.
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/.
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/Routing/JWKSetLoader.php#L23
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { $this->routes = new RouteCollection(); } - public function add(string $pattern, string $name) : void + protected function add(string $pattern, string $name) : void { $defaults = ['_controller' => $name]; $route = new Route($pattern, $defaults);
5️⃣ Mutation Testing: src/Bundle/Routing/JWKSetLoader.php#L25
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } public function add(string $pattern, string $name) : void { - $defaults = ['_controller' => $name]; + $defaults = []; $route = new Route($pattern, $defaults); $this->routes->add(sprintf('jwkset_%s', $name), $route); }
5️⃣ Mutation Testing: src/Bundle/Routing/JWKSetLoader.php#L29
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $defaults = ['_controller' => $name]; $route = new Route($pattern, $defaults); - $this->routes->add(sprintf('jwkset_%s', $name), $route); + } public function load(mixed $resource, string $type = null) : RouteCollection {
5️⃣ Mutation Testing: src/Bundle/Routing/JWKSetLoader.php#L39
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } public function supports(mixed $resource, string $type = null) : bool { - return $type === 'jwkset'; + return $type !== 'jwkset'; } public function getResolver() : LoaderResolverInterface {
5️⃣ Mutation Testing: src/Bundle/Serializer/JWEEncoder.php#L47
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ } public function encode(mixed $data, string $format, array $context = []) : string { - if ($data instanceof JWE === false) { + if (true === false) { throw new LogicException('Expected data to be a JWE.'); } try {
5️⃣ Mutation Testing: src/Bundle/Serializer/JWEEncoder.php#L53
Escaped Mutant for Mutator "MBString": --- Original +++ New @@ @@ throw new LogicException('Expected data to be a JWE.'); } try { - return $this->serializerManager->serialize(mb_strtolower($format), $data, $this->getRecipientIndex($context)); + return $this->serializerManager->serialize(strtolower($format), $data, $this->getRecipientIndex($context)); } catch (Throwable $ex) { throw new NotEncodableValueException(sprintf('Cannot encode JWE to %s format.', $format), 0, $ex); }
5️⃣ Mutation Testing: src/Bundle/Serializer/JWEEncoder.php#L58
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ try { return $this->serializerManager->serialize(mb_strtolower($format), $data, $this->getRecipientIndex($context)); } catch (Throwable $ex) { - throw new NotEncodableValueException(sprintf('Cannot encode JWE to %s format.', $format), 0, $ex); + throw new NotEncodableValueException(sprintf('Cannot encode JWE to %s format.', $format), -1, $ex); } } public function decode(string $data, string $format, array $context = []) : JWE
5️⃣ Mutation Testing: src/Bundle/Serializer/JWEEncoder.php#L58
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ try { return $this->serializerManager->serialize(mb_strtolower($format), $data, $this->getRecipientIndex($context)); } catch (Throwable $ex) { - throw new NotEncodableValueException(sprintf('Cannot encode JWE to %s format.', $format), 0, $ex); + throw new NotEncodableValueException(sprintf('Cannot encode JWE to %s format.', $format), 1, $ex); } } public function decode(string $data, string $format, array $context = []) : JWE
5️⃣ Mutation Testing: src/Bundle/Serializer/JWEEncoder.php#L67
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ try { return $this->serializerManager->unserialize($data); } catch (Exception $ex) { - throw new NotEncodableValueException(sprintf('Cannot decode JWE from %s format.', $format), 0, $ex); + throw new NotEncodableValueException(sprintf('Cannot decode JWE from %s format.', $format), -1, $ex); } } /**
5️⃣ Mutation Testing: src/Bundle/Serializer/JWEEncoder.php#L67
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ try { return $this->serializerManager->unserialize($data); } catch (Exception $ex) { - throw new NotEncodableValueException(sprintf('Cannot decode JWE from %s format.', $format), 0, $ex); + throw new NotEncodableValueException(sprintf('Cannot decode JWE from %s format.', $format), 1, $ex); } } /**