Skip to content

Update dependency versions in composer.json #189

Update dependency versions in composer.json

Update dependency versions in composer.json #189

Triggered via pull request March 30, 2024 16:07
Status Failure
Total duration 10m 7s
Artifacts

integrate.yml

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

Annotations

10 errors and 23 warnings
3️⃣ Static Analysis: src/ASN1/Component/Length.php#L107
Only numeric types are allowed in +, int|null given on the left side.
3️⃣ Static Analysis: src/ASN1/Component/Length.php#L112
Only numeric types are allowed in -, int|null given on the right side.
3️⃣ Static Analysis: src/ASN1/Component/Length.php#L116
Parameter &$offset by-ref type of method SpomkyLabs\Pki\ASN1\Component\Length::expectFromDER() expects int, int|null given.
3️⃣ Static Analysis: src/ASN1/Type/Constructed/ConstructedString.php#L125
Parameter &$offset by-ref type of method SpomkyLabs\Pki\ASN1\Type\Constructed\ConstructedString::decodeDefiniteLength() expects int, int|null given.
3️⃣ Static Analysis: src/ASN1/Type/Constructed/ConstructedString.php#L151
Parameter &$offset by-ref type of method SpomkyLabs\Pki\ASN1\Type\Constructed\ConstructedString::decodeIndefiniteLength() expects int, int|null given.
3️⃣ Static Analysis: src/ASN1/Type/Constructed/Sequence.php#L61
Parameter &$offset by-ref type of method SpomkyLabs\Pki\ASN1\Type\Constructed\Sequence::decodeDefiniteLength() expects int, int|null given.
3️⃣ Static Analysis: src/ASN1/Type/Constructed/Sequence.php#L87
Parameter &$offset by-ref type of method SpomkyLabs\Pki\ASN1\Type\Constructed\Sequence::decodeIndefiniteLength() expects int, int|null given.
3️⃣ Static Analysis: src/ASN1/Type/Constructed/Set.php#L104
Parameter &$offset by-ref type of method SpomkyLabs\Pki\ASN1\Type\Constructed\Set::decodeDefiniteLength() expects int, int|null given.
3️⃣ Static Analysis: src/ASN1/Type/Constructed/Set.php#L130
Parameter &$offset by-ref type of method SpomkyLabs\Pki\ASN1\Type\Constructed\Set::decodeIndefiniteLength() expects int, int|null given.
3️⃣ Static Analysis: src/ASN1/Type/Structure.php#L85
Parameter #2 $offset of static method SpomkyLabs\Pki\ASN1\Component\Length::expectFromDER() expects int, int|null given.
0️⃣ Byte-level
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
1️⃣ Syntax errors
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
7️⃣ Exported files
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/checkout@v3, 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/ASN1/Component/Identifier.php#L100
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ $byte = ord($data[$idx++]); // bits 8 and 7 (class) // 0 = universal, 1 = application, 2 = context-specific, 3 = private - $class = (0b11000000 & $byte) >> 6; + $class = (193 & $byte) >> 6; // bit 6 (0 = primitive / 1 = constructed) $pc = (0b100000 & $byte) >> 5; // bits 5 to 1 (tag number)
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L102
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ // 0 = universal, 1 = application, 2 = context-specific, 3 = private $class = (0b11000000 & $byte) >> 6; // bit 6 (0 = primitive / 1 = constructed) - $pc = (0b100000 & $byte) >> 5; + $pc = (33 & $byte) >> 5; // bits 5 to 1 (tag number) $tag = 0b11111 & $byte; // long-form identifier
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L120
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ $bytes = []; $byte = $this->_class << 6 | $this->_pc << 5; $tag = $this->_tag->getValue(); - if ($tag->isLessThan(0x1f)) { + if ($tag->isLessThan(30)) { $bytes[] = $byte | $tag->toInt(); } else { $bytes[] = $byte | 0x1f;
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L120
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ $bytes = []; $byte = $this->_class << 6 | $this->_pc << 5; $tag = $this->_tag->getValue(); - if ($tag->isLessThan(0x1f)) { + if ($tag->isLessThan(32)) { $bytes[] = $byte | $tag->toInt(); } else { $bytes[] = $byte | 0x1f;
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L127
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ $bytes[] = $byte | 0x1f; $octets = []; for (; $tag->isGreaterThan(0); $tag = $tag->shiftedRight(7)) { - $octets[] = 0x80 | $tag->and(0x7f)->toInt(); + $octets[] = 129 | $tag->and(0x7f)->toInt(); } // last octet has bit 8 set to zero $octets[0] &= 0x7f;
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L130
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ $octets[] = 0x80 | $tag->and(0x7f)->toInt(); } // last octet has bit 8 set to zero - $octets[0] &= 0x7f; + $octets[0] = 0x7f; foreach (array_reverse($octets) as $octet) { $bytes[] = $octet; }
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L224
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function withClass(int $class): self { - $obj = clone $this; + $obj = $this; $obj->_class = 0b11 & $class; return $obj; }
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ public function withClass(int $class): self { $obj = clone $this; - $obj->_class = 0b11 & $class; + $obj->_class = 2 & $class; return $obj; } /**
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L225
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function withClass(int $class): self { $obj = clone $this; - $obj->_class = 0b11 & $class; + $obj->_class = 4 & $class; return $obj; } /**
5️⃣ Mutation Testing: src/ASN1/Component/Identifier.php#L236
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function withTag(int $tag): self { - $obj = clone $this; + $obj = $this; $obj->_tag = BigInt::create($tag); return $obj; }