Skip to content

Update rector/rector requirement from ^0.16 to ^0.16 || ^0.19 #28

Update rector/rector requirement from ^0.16 to ^0.16 || ^0.19

Update rector/rector requirement from ^0.16 to ^0.16 || ^0.19 #28

Triggered via pull request January 12, 2024 01:58
Status Failure
Total duration 3m 23s
Artifacts

integrate.yml

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

Annotations

1 error and 10 warnings
6️⃣ Rector Checkstyle
Process completed with exit code 2.
5️⃣ Mutation Testing: src/Decoder.php#L50
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ private OtherObjectManagerInterface $otherTypeManager; public function __construct(?TagManagerInterface $tagObjectManager = null, ?OtherObjectManagerInterface $otherTypeManager = null) { - $this->tagObjectManager = $tagObjectManager ?? $this->generateTagManager(); + $this->tagObjectManager = $this->generateTagManager() ?? $tagObjectManager; $this->otherTypeManager = $otherTypeManager ?? $this->generateOtherObjectManager(); } public static function create(?TagManagerInterface $tagObjectManager = null, ?OtherObjectManagerInterface $otherTypeManager = null) : self
5️⃣ Mutation Testing: src/Decoder.php#L51
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ public function __construct(?TagManagerInterface $tagObjectManager = null, ?OtherObjectManagerInterface $otherTypeManager = null) { $this->tagObjectManager = $tagObjectManager ?? $this->generateTagManager(); - $this->otherTypeManager = $otherTypeManager ?? $this->generateOtherObjectManager(); + $this->otherTypeManager = $this->generateOtherObjectManager() ?? $otherTypeManager; } public static function create(?TagManagerInterface $tagObjectManager = null, ?OtherObjectManagerInterface $otherTypeManager = null) : self {
5️⃣ Mutation Testing: src/Decoder.php#L126
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ return $object; case CBORObject::MAJOR_TYPE_TAG: //6 - return $this->tagObjectManager->createObjectForValue($ai, $val, $this->process($stream, false)); + return $this->tagObjectManager->createObjectForValue($ai, $val, $this->process($stream, true)); case CBORObject::MAJOR_TYPE_OTHER_TYPE: //7 return $this->otherTypeManager->createObjectForValue($ai, $val);
5️⃣ Mutation Testing: src/Decoder.php#L140
Escaped Mutant for Mutator "SharedCaseRemoval": --- Original +++ New @@ @@ } return BreakObject::create(); case CBORObject::MAJOR_TYPE_UNSIGNED_INTEGER: - //0 - case CBORObject::MAJOR_TYPE_NEGATIVE_INTEGER: //1 case CBORObject::MAJOR_TYPE_TAG: //6
5️⃣ Mutation Testing: src/Decoder.php#L140
Escaped Mutant for Mutator "SharedCaseRemoval": --- Original +++ New @@ @@ throw new InvalidArgumentException('Cannot parse the data. No enclosing indefinite.'); } return BreakObject::create(); - case CBORObject::MAJOR_TYPE_UNSIGNED_INTEGER: //0 case CBORObject::MAJOR_TYPE_NEGATIVE_INTEGER: //1
5️⃣ Mutation Testing: src/Decoder.php#L140
Escaped Mutant for Mutator "SharedCaseRemoval": --- Original +++ New @@ @@ case CBORObject::MAJOR_TYPE_UNSIGNED_INTEGER: //0 case CBORObject::MAJOR_TYPE_NEGATIVE_INTEGER: - //1 - case CBORObject::MAJOR_TYPE_TAG: //6 default: throw new InvalidArgumentException(sprintf('Cannot parse the data. Found infinite length for Major Type "%s" (%d).', str_pad(decbin($mt), 5, '0', STR_PAD_LEFT), $mt));
5️⃣ Mutation Testing: src/Decoder.php#L140
Escaped Mutant for Mutator "SharedCaseRemoval": --- Original +++ New @@ @@ case CBORObject::MAJOR_TYPE_NEGATIVE_INTEGER: //1 case CBORObject::MAJOR_TYPE_TAG: - //6 - default: throw new InvalidArgumentException(sprintf('Cannot parse the data. Found infinite length for Major Type "%s" (%d).', str_pad(decbin($mt), 5, '0', STR_PAD_LEFT), $mt)); } }
5️⃣ Mutation Testing: src/IndefiniteLengthByteStringObject.php#L39
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ public static function create(string ...$chunks) : self { $object = new self(); - foreach ($chunks as $chunk) { + foreach (array() as $chunk) { $object->append($chunk); } return $object;
5️⃣ Mutation Testing: src/IndefiniteLengthListObject.php#L39
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ { $result = parent::__toString(); foreach ($this->data as $object) { - $result .= (string) $object; + $result .= $object; } return $result . "\xff"; }
5️⃣ Mutation Testing: src/IndefiniteLengthListObject.php#L48
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ public static function create(CBORObject ...$items) : self { $object = new self(); - foreach ($items as $item) { + foreach (array() as $item) { $object->add($item); } return $object;