Skip to content

Added set of methods to check against a collection of items #28

Added set of methods to check against a collection of items

Added set of methods to check against a collection of items #28

Triggered via pull request January 22, 2024 17:35
Status Success
Total duration 1m 3s
Artifacts

test.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
test (7.1, ubuntu-latest, false)
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/
test (7.3, ubuntu-latest, false)
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/
test (7.2, ubuntu-latest, false)
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/
test (7.4, ubuntu-latest, false)
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/
test (8.0, ubuntu-latest, false)
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/
test (8.0, ubuntu-latest, false): 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;
test (8.0, ubuntu-latest, false): 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); }
test (8.0, ubuntu-latest, false): 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]);
test (8.0, ubuntu-latest, false): 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]); }
test (8.3, ubuntu-latest, false)
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/
test (8.3, ubuntu-latest, false): 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([]);
test (8.3, ubuntu-latest, false): 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;
test (8.3, ubuntu-latest, false): 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); }
test (8.3, ubuntu-latest, false): 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]);
test (8.3, ubuntu-latest, false): 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]); }
test (nightly, ubuntu-latest, true)
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/
test (nightly, ubuntu-latest, true): 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([]);
test (nightly, ubuntu-latest, true): 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;
test (nightly, ubuntu-latest, true): 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); }
test (nightly, ubuntu-latest, true): 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]);
test (nightly, ubuntu-latest, true): 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]); }
test (8.1, ubuntu-latest, false)
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/
test (8.1, ubuntu-latest, false): 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([]);
test (8.1, ubuntu-latest, false): 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;
test (8.1, ubuntu-latest, false): 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); }
test (8.1, ubuntu-latest, false): 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]);
test (8.1, ubuntu-latest, false): 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]); }
test (8.2, ubuntu-latest, false)
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/
test (8.2, ubuntu-latest, false): 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([]);
test (8.2, ubuntu-latest, false): 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;
test (8.2, ubuntu-latest, false): 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); }
test (8.2, ubuntu-latest, false): 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]);
test (8.2, ubuntu-latest, false): 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]); }