CI #112
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
4s
Annotations
5 warnings
|
Test for mutants (ubuntu-latest, 8.4):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L42
Escaped Mutant for Mutator "CloneRemoval":
@@ @@
}
public function withTimeZone(DateTimeZone|string $timezone): static
{
- $clone = clone $this;
+ $clone = $this;
$clone->timeZone = is_string($timezone) ? new DateTimeZone($timezone) : $timezone;
return $clone;
}
}
|
|
Test for mutants (ubuntu-latest, 8.4):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "RoundingFamily":
@@ @@
}
public function sleep(float|int $seconds): void
{
- $this->clock->sleep(0, 0, (int) round($seconds * 1000000.0));
+ $this->clock->sleep(0, 0, (int) ceil($seconds * 1000000.0));
}
public function withTimeZone(DateTimeZone|string $timezone): static
{
|
|
Test for mutants (ubuntu-latest, 8.4):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
}
public function sleep(float|int $seconds): void
{
- $this->clock->sleep(0, 0, (int) round($seconds * 1000000.0));
+ $this->clock->sleep(0, -1, (int) round($seconds * 1000000.0));
}
public function withTimeZone(DateTimeZone|string $timezone): static
{
|
|
Test for mutants (ubuntu-latest, 8.4):
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
}
public function sleep(float|int $seconds): void
{
- $this->clock->sleep(0, 0, (int) round($seconds * 1000000.0));
+ $this->clock->sleep(-1, 0, (int) round($seconds * 1000000.0));
}
public function withTimeZone(DateTimeZone|string $timezone): static
{
|
|
Test for mutants (ubuntu-latest, 8.4):
src/Adapter/ClockAdapterFactory.php#L18
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($clock instanceof Clock) {
return $clock;
}
- if ($clock instanceof SymfonyClock) {
+ if (false) {
return new SymfonyToOrisaiClockAdapter($clock);
}
return new PsrToOrisaiClockAdapter($clock);
}
}
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
Logs - Mutations
Expired
|
635 Bytes |
sha256:1616cb63f5c6a35bb3654a357fb2d23a4c6f086fd55bcb4d97a424a71eb4f1d6
|
|