CI #53
Annotations
8 warnings
src/Check/DefaultSourceChecker.php#L35
Escaped Mutant for Mutator "IfNegation":
@@ @@
}
foreach ($this->handlers as $handler) {
foreach ($handler::getSupported() as $supported) {
- if (is_a($source, $supported)) {
+ if (!is_a($source, $supported)) {
return $handler->isValid($source);
}
}
|
src/Check/DefaultSourceChecker.php#L60
Escaped Mutant for Mutator "IfNegation":
@@ @@
}
foreach ($this->handlers as $handler) {
foreach ($handler::getSupported() as $supported) {
- if (is_a($source, $supported)) {
+ if (!is_a($source, $supported)) {
return $handler->getLastChange($source);
}
}
|
src/ClassSource.php#L72
Escaped Mutant for Mutator "FalseValue":
@@ @@
// Internal class
if ($file === false) {
$datetime = DateTimeImmutable::createFromFormat('U', '0');
- assert($datetime !== false);
+ assert($datetime !== true);
return $datetime;
}
$time = filemtime($file);
|
src/ClassSource.php#L78
Escaped Mutant for Mutator "FalseValue":
@@ @@
return $datetime;
}
$time = filemtime($file);
- assert($time !== false);
+ assert($time !== true);
$datetime = DateTimeImmutable::createFromFormat('U', (string) $time);
assert($datetime !== false);
return $datetime;
|
src/ClassSource.php#L81
Escaped Mutant for Mutator "FalseValue":
@@ @@
$time = filemtime($file);
assert($time !== false);
$datetime = DateTimeImmutable::createFromFormat('U', (string) $time);
- assert($datetime !== false);
+ assert($datetime !== true);
return $datetime;
}
public function __toString(): string
|
src/FunctionSource.php#L71
Escaped Mutant for Mutator "FalseValue":
@@ @@
// Internal class
if ($file === false) {
$datetime = DateTimeImmutable::createFromFormat('U', '0');
- assert($datetime !== false);
+ assert($datetime !== true);
return $datetime;
}
$time = filemtime($file);
|
src/FunctionSource.php#L77
Escaped Mutant for Mutator "FalseValue":
@@ @@
return $datetime;
}
$time = filemtime($file);
- assert($time !== false);
+ assert($time !== true);
$datetime = DateTimeImmutable::createFromFormat('U', (string) $time);
assert($datetime !== false);
return $datetime;
|
src/FunctionSource.php#L80
Escaped Mutant for Mutator "FalseValue":
@@ @@
$time = filemtime($file);
assert($time !== false);
$datetime = DateTimeImmutable::createFromFormat('U', (string) $time);
- assert($datetime !== false);
+ assert($datetime !== true);
return $datetime;
}
public function __toString(): string
|
This job succeeded
Loading