Add ToArrayOfIntegers attribute for integer array casting with string splitting #488
Annotations
8 warnings
|
mutation / PHP 8.3-ubuntu-latest:
src/TypeCaster/PhpNativeTypeCaster.php#L79
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
case 'bool':
if (is_bool($value)) {
- return Result::success($value);
+
}
break;
|
|
mutation / PHP 8.3-ubuntu-latest:
src/TypeCaster/PhpNativeTypeCaster.php#L61
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
switch ($t->getName()) {
case 'string':
if (is_string($value)) {
- return Result::success($value);
+
}
break;
|
|
mutation / PHP 8.3-ubuntu-latest:
src/Attribute/Parameter/TrimResolver.php#L27
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
}
if (!$context->isResolved()) {
- return Result::fail();
+
}
$resolvedValue = $context->getResolvedValue();
|
|
mutation / PHP 8.3-ubuntu-latest:
src/Attribute/Parameter/ToDateTimeResolver.php#L46
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
}
if (!$context->isResolved()) {
- return Result::fail();
+
}
$resolvedValue = $context->getResolvedValue();
|
|
mutation / PHP 8.3-ubuntu-latest:
src/Attribute/Parameter/RightTrimResolver.php#L27
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
}
if (!$context->isResolved()) {
- return Result::fail();
+
}
$resolvedValue = $context->getResolvedValue();
|
|
mutation / PHP 8.3-ubuntu-latest:
src/Attribute/Parameter/LeftTrimResolver.php#L27
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
}
if (!$context->isResolved()) {
- return Result::fail();
+
}
$resolvedValue = $context->getResolvedValue();
|
|
mutation / PHP 8.3-ubuntu-latest:
src/Attribute/Parameter/CollectionResolver.php#L28
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
}
if (!$context->isResolved()) {
- return Result::fail();
+
}
$resolvedValue = $context->getResolvedValue();
|
|
mutation / PHP 8.3-ubuntu-latest:
src/ArrayData.php#L91
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
}
$result = $this->getValueByKey($currentValue, $pathKey);
if (!$result->isResolved()) {
- return $result;
+
}
}
|