Skip to content

OrisaiToSymfonyClockAdapter #60

OrisaiToSymfonyClockAdapter

OrisaiToSymfonyClockAdapter #60

Triggered via push November 27, 2023 21:46
Status Failure
Total duration 55s
Artifacts 1

ci.yaml

on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
1s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 5 warnings
Tests (ubuntu-latest, 8.0, false)
Process completed with exit code 2.
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false): src/Adapter/OrisaiToSymfonyClockAdapter.php#L35
syntax error, unexpected '|', expecting variable (T_VARIABLE)
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Process completed with exit code 2.
Tests (ubuntu-latest, 7.4, false): src/Adapter/OrisaiToSymfonyClockAdapter.php#L35
syntax error, unexpected '|', expecting variable (T_VARIABLE)
Tests (ubuntu-latest, 7.4, false)
Process completed with exit code 2.
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
The operation was canceled.
Tests (windows-latest, 8.1, false)
The operation was canceled.
Tests (windows-latest, 7.4, false)
The operation was canceled.
Tests (macos-latest, 7.4, false)
The operation was canceled.
Tests (macos-latest, 8.0, false)
The operation was canceled.
Tests (macos-latest, 8.1, false)
The job was canceled because "ubuntu-latest_8_0_false" failed.
Tests (windows-latest, 8.0, false)
The operation was canceled.
Tests (macos-latest, 8.1, false)
The operation was canceled.
Tests (ubuntu-latest, 8.1, false)
The operation was canceled.
Status check - CI
Process completed with exit code 1.
Test for mutants (ubuntu-latest, 8.1): 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); } }
Test for mutants (ubuntu-latest, 8.1): 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 {
Test for mutants (ubuntu-latest, 8.1): 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 {
Test for mutants (ubuntu-latest, 8.1): 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 {
Test for mutants (ubuntu-latest, 8.1): 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; } }

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
2.2 KB