Added set of methods to check against a collection of items #24
Annotations
9 errors and 20 warnings
test (8.3, ubuntu-latest, false)
Process completed with exit code 1.
|
test (8.1, ubuntu-latest, false)
Process completed with exit code 1.
|
test (8.2, ubuntu-latest, false)
Process completed with exit code 1.
|
test (7.4, ubuntu-latest, false)
The operation was canceled.
|
test (7.1, ubuntu-latest, false)
The operation was canceled.
|
test (7.2, ubuntu-latest, false)
The operation was canceled.
|
test (nightly, ubuntu-latest, true)
The operation was canceled.
|
test (7.3, ubuntu-latest, false)
The operation was canceled.
|
test (8.0, ubuntu-latest, false)
The operation was canceled.
|
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.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.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 (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 (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 allInstances() : 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 allInstances() : 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 (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 (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 (nightly, ubuntu-latest, true):
src/Enum/EnumTrait.php#L179
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
/** @param list<static> $enums */
public final function isOneOf(array $enums) : bool
{
- static::allInstances();
+
return in_array($this, $enums, true);
}
public static final function memberExists(string $member) : bool
|
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 (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 allInstances() : 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 allInstances() : 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.0, ubuntu-latest, false):
src/Enum/EnumTrait.php#L179
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
/** @param list<static> $enums */
public final function isOneOf(array $enums) : bool
{
- static::allInstances();
+
return in_array($this, $enums, true);
}
public static final function memberExists(string $member) : bool
|