Skip to content
Triggered via schedule July 29, 2024 08:13
Status Failure
Total duration 5m 21s
Artifacts 1

ci.yaml

on: schedule
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

7 errors and 6 warnings
Static analysis (ubuntu-latest, 8.3): src/FrozenClock.php#L1
Ignored error pattern #^Cannot call method setTimezone\(\) on DateTimeImmutable\|false\.$# in path /home/runner/work/clock/clock/src/FrozenClock.php was not matched in reported errors.
Static analysis (ubuntu-latest, 8.3): src/FrozenClock.php#L1
Ignored error pattern #^Property Orisai\\Clock\\FrozenClock\:\:\$dt \(DateTimeImmutable\) does not accept \(DateTimeImmutable\|false\)\.$# in path /home/runner/work/clock/clock/src/FrozenClock.php was not matched in reported errors.
Static analysis (ubuntu-latest, 8.3): src/FrozenClock.php#L32
Ignored error pattern #^Cannot call method modify\(\) on DateTimeImmutable\|false\.$# in path /home/runner/work/clock/clock/src/FrozenClock.php is expected to occur 2 times, but occurred only 1 time.
Static analysis (ubuntu-latest, 8.3): src/MeasurementClock.php#L1
Ignored error pattern #^Method Orisai\\Clock\\MeasurementClock\:\:now\(\) should return DateTimeImmutable but returns \(DateTimeImmutable\|false\)\.$# in path /home/runner/work/clock/clock/src/MeasurementClock.php was not matched in reported errors.
Static analysis (ubuntu-latest, 8.3)
Process completed with exit code 2.
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php 7.4 - 8.3 but your php version (8.4.0-dev) does not satisfy that requirement. Problem 2 - orisai/exceptions[1.0.0, ..., 1.1.2] require php >=7.4.0 <8.2.0 -> your php version (8.4.0-dev) does not satisfy that requirement. - orisai/exceptions 1.1.3 requires php >=7.4.0 <8.3.0 -> your php version (8.4.0-dev) does not satisfy that requirement. - orisai/exceptions[1.1.4, ..., v1.x-dev] require php 7.4 - 8.3 -> your php version (8.4.0-dev) does not satisfy that requirement. - Root composer.json requires orisai/exceptions ^1.0.0 -> satisfiable by orisai/exceptions[1.0.0, ..., v1.x-dev].
Status check - CI
Process completed with exit code 1.
Test for mutants (ubuntu-latest, 8.3): 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); } }
Test for mutants (ubuntu-latest, 8.3): 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.3): 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.3): 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.3): 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; } }
Tests (ubuntu-latest, 8.4, --ignore-platform-req=php+, true): tests/install-optional-dependencies.php#L17
unlink(composer.temp.lock): No such file or directory

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
635 Bytes