CI #56
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Annotations
5 errors and 1 warning
Static analysis (ubuntu-latest, 8.1):
tests/Unit/Adapter/SymfonyToOrisaiClockAdapterTest.php#L46
Parameter #1 $now of class Symfony\Component\Clock\MockClock constructor expects DateTimeImmutable|string, DateTimeImmutable|false given.
|
Static analysis (ubuntu-latest, 8.1):
tests/Unit/Adapter/SymfonyToOrisaiClockAdapterTest.php#L64
Parameter #1 $now of class Symfony\Component\Clock\MockClock constructor expects DateTimeImmutable|string, DateTimeImmutable|false given.
|
Static analysis (ubuntu-latest, 8.1)
Ignored error pattern #^Parameter \#1 \$now of class Symfony\\Component\\Clock\\MockClock constructor expects DateTimeImmutable\|string, DateTimeImmutable\|false given\.$# in path /home/runner/work/clock/clock/tests/Unit/SymfonyToOrisaiClockAdapterTest.php was not matched in reported errors.
|
Static analysis (ubuntu-latest, 8.1)
Process completed with exit code 2.
|
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);
}
}
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
555 Bytes |
|