Update metadata and build config #76
Annotations
6 warnings
src/Adapter/ClockAdapterFactory.php#L18
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($clock instanceof Clock) {
return $clock;
}
- if ($clock instanceof SymfonyClock) {
+ if (false) {
return new SymfonyToOrisaiClockAdapter($clock);
}
return new PsrToOrisaiClockAdapter($clock);
}
}
|
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
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
{
|
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
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
{
|
src/Adapter/OrisaiToSymfonyClockAdapter.php#L37
Escaped Mutant for Mutator "RoundingFamily":
--- Original
+++ New
@@ @@
}
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
{
|
src/Adapter/OrisaiToSymfonyClockAdapter.php#L42
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
}
public function withTimeZone(DateTimeZone|string $timezone) : static
{
- $clone = clone $this;
+ $clone = $this;
$clone->timeZone = is_string($timezone) ? new DateTimeZone($timezone) : $timezone;
return $clone;
}
}
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job succeeded
Loading