Added set of methods to check against a collection of items #28
Annotations
6 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Infection:
src/Doctrine/PlatenumDoctrineType.php#L29
Escaped Mutant for Mutator "CastInt":
--- Original
+++ New
@@ @@
{
/** @psalm-suppress MissingClosureParamType */
$toInteger = function ($value) : int {
- return (int) $value;
+ return $value;
};
$sql = function (array $declaration, AbstractPlatform $platform) : string {
return $platform->getIntegerTypeDeclarationSQL([]);
|
Infection:
src/Doctrine/PlatenumDoctrineType.php#L88
Escaped Mutant for Mutator "DoWhile":
--- Original
+++ New
@@ @@
foreach (class_uses($class, true) as $fqcn) {
$traits[] = $fqcn;
}
- } while ($class = get_parent_class($class));
+ } while (false);
foreach ($traits as $same) {
foreach (class_uses($same, true) as $fqcn) {
$traits[] = $fqcn;
|
Infection:
src/Enum/EnumTrait.php#L108
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public static final function getInstances() : array
{
- static::resolveMembers();
+
foreach (static::$members[static::class] as $member => $value) {
static::fromMember($member);
}
|
Infection:
src/Enum/EnumTrait.php#L109
Escaped Mutant for Mutator "Foreach_":
--- Original
+++ New
@@ @@
public static final function getInstances() : array
{
static::resolveMembers();
- foreach (static::$members[static::class] as $member => $value) {
+ foreach (array() as $member => $value) {
static::fromMember($member);
}
return array_values(static::$instances[static::class]);
|
Infection:
src/Enum/EnumTrait.php#L110
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
static::resolveMembers();
foreach (static::$members[static::class] as $member => $value) {
- static::fromMember($member);
+
}
return array_values(static::$instances[static::class]);
}
|
The logs for this run have expired and are no longer available.
Loading