deps: allow brick/math 0.12 #51
integrate.yml
on: pull_request
3️⃣ Static Analysis
15s
4️⃣ Coding Standards
14s
5️⃣ Mutation Testing
1m 4s
6️⃣ Rector Checkstyle
16s
7️⃣ Exported files
3s
Matrix: 2️⃣ Unit and functional tests
Annotations
23 warnings
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/.
|
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/.
|
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.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, 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.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/.
|
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/.
|
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/.
|
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/.
|
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/.
|
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/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
@@ @@
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
@@ @@
}
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
@@ @@
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/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#L56
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
*/
public function normalize() : array
{
- return array_map(static fn(CBORObject $object) => $object instanceof Normalizable ? $object->normalize() : $object, $this->data);
+ return array_map(static fn(CBORObject $object) => true ? $object->normalize() : $object, $this->data);
}
public function add(CBORObject $item) : self
{
|
5️⃣ Mutation Testing:
src/IndefiniteLengthListObject.php#L68
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
$this->data[] = $item;
return $this;
}
- public function has(int $index) : bool
+ protected function has(int $index) : bool
{
return array_key_exists($index, $this->data);
}
|