Skip to content
Manually triggered January 22, 2025 01:08
Status Failure
Total duration 1m 52s
Artifacts 1

ci.yaml

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

Annotations

11 errors and 17 warnings
Static analysis (ubuntu-latest, 8.4): tests/Unit/AnnotationSourceTest.php#L60
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\AnnotatedReflectedClass> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/AnnotationSourceTest.php#L89
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\EmptyClass> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/AnnotationSourceTest.php#L121
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\EmptyClass> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/AnnotationSourceTest.php#L160
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\AnnotatedReflectedClass> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/AttributeSourceTest.php#L67
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\ReflectedClassWithAttributes> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/AttributeSourceTest.php#L101
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\AnnotatedReflectedClass> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/AttributeSourceTest.php#L143
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\EmptyClass> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/AttributeSourceTest.php#L196
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\ReflectedClassWithAttributes> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/ClassConstantSourceTest.php#L28
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\AnnotatedReflectedClass> given.
Static analysis (ubuntu-latest, 8.4): tests/Unit/ClassConstantSourceTest.php#L52
Parameter #1 $reflector of class Orisai\SourceMap\ClassSource constructor expects ReflectionClass<object>, ReflectionClass<Tests\Orisai\SourceMap\Doubles\AnnotatedReflectedClass> given.
Status check - CI
Process completed with exit code 1.
Coding standard (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.1, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 7.4, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.4, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.2, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.3, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (ubuntu-latest, 8.0, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test for mutants (ubuntu-latest, 8.4): src/Check/DefaultSourceChecker.php#L35
Escaped Mutant for Mutator "IfNegation": @@ @@ } foreach ($this->handlers as $handler) { foreach ($handler::getSupported() as $supported) { - if (is_a($source, $supported)) { + if (!is_a($source, $supported)) { return $handler->isValid($source); } }
Test for mutants (ubuntu-latest, 8.4): src/Check/DefaultSourceChecker.php#L60
Escaped Mutant for Mutator "IfNegation": @@ @@ } foreach ($this->handlers as $handler) { foreach ($handler::getSupported() as $supported) { - if (is_a($source, $supported)) { + if (!is_a($source, $supported)) { return $handler->getLastChange($source); } }
Test for mutants (ubuntu-latest, 8.4): src/ClassSource.php#L73
Escaped Mutant for Mutator "FalseValue": @@ @@ // Internal class if ($file === false) { $datetime = DateTimeImmutable::createFromFormat('U', '0'); - assert($datetime !== false); + assert($datetime !== true); return $datetime; } $time = filemtime($file);
Test for mutants (ubuntu-latest, 8.4): src/ClassSource.php#L79
Escaped Mutant for Mutator "FalseValue": @@ @@ return $datetime; } $time = filemtime($file); - assert($time !== false); + assert($time !== true); $datetime = DateTimeImmutable::createFromFormat('U', (string) $time); assert($datetime !== false); return $datetime;
Test for mutants (ubuntu-latest, 8.4): src/ClassSource.php#L82
Escaped Mutant for Mutator "FalseValue": @@ @@ $time = filemtime($file); assert($time !== false); $datetime = DateTimeImmutable::createFromFormat('U', (string) $time); - assert($datetime !== false); + assert($datetime !== true); return $datetime; } public function __toString(): string
Test for mutants (ubuntu-latest, 8.4): src/FunctionSource.php#L72
Escaped Mutant for Mutator "FalseValue": @@ @@ // Internal class if ($file === false) { $datetime = DateTimeImmutable::createFromFormat('U', '0'); - assert($datetime !== false); + assert($datetime !== true); return $datetime; } $time = filemtime($file);
Test for mutants (ubuntu-latest, 8.4): src/FunctionSource.php#L78
Escaped Mutant for Mutator "FalseValue": @@ @@ return $datetime; } $time = filemtime($file); - assert($time !== false); + assert($time !== true); $datetime = DateTimeImmutable::createFromFormat('U', (string) $time); assert($datetime !== false); return $datetime;
Test for mutants (ubuntu-latest, 8.4): src/FunctionSource.php#L81
Escaped Mutant for Mutator "FalseValue": @@ @@ $time = filemtime($file); assert($time !== false); $datetime = DateTimeImmutable::createFromFormat('U', (string) $time); - assert($datetime !== false); + assert($datetime !== true); return $datetime; } public function __toString(): string
Code coverage finish (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Logs - Mutations
699 Bytes