Skip to content

More work on mapping code coverage targets to source locations #1363

More work on mapping code coverage targets to source locations

More work on mapping code coverage targets to source locations #1363

Status Failure
Total duration 1m 46s
Artifacts

ci.yml

on: push
Coding Guidelines
20s
Coding Guidelines
Static Analysis
23s
Static Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Analysis: src/Target/Mapper.php#L78
Method SebastianBergmann\CodeCoverage\Test\Target\Mapper::mapTarget() should return array<non-empty-string, array<int, int<1, max>>> but returns array<int, int<1, max>>.
Static Analysis: src/Target/Mapper.php#L81
Method SebastianBergmann\CodeCoverage\Test\Target\Mapper::mapTarget() should return array<string, array<int, int<1, max>>> but return statement is missing.
Static Analysis: src/Target/Mapper.php#L88
Method SebastianBergmann\CodeCoverage\Test\Target\Mapper::mapTarget() should return array<non-empty-string, array<int, int<1, max>>> but returns array<int, int<1, max>>.
Static Analysis: tests/tests/TestSizeTest.php#L74
Call to an undefined method SebastianBergmann\CodeCoverage\Test\TestSize\TestSize::isGreaterThan().
Static Analysis: tests/tests/TestSizeTest.php#L75
Call to an undefined method SebastianBergmann\CodeCoverage\Test\TestSize\TestSize::isGreaterThan().
Static Analysis: tests/tests/TestSizeTest.php#L76
Call to an undefined method SebastianBergmann\CodeCoverage\Test\TestSize\TestSize::isGreaterThan().
Static Analysis: tests/tests/TestSizeTest.php#L77
Call to an undefined method SebastianBergmann\CodeCoverage\Test\TestSize\TestSize::isGreaterThan().
Static Analysis: tests/tests/TestSizeTest.php#L78
Call to an undefined method SebastianBergmann\CodeCoverage\Test\TestSize\TestSize::isGreaterThan().
Static Analysis: tests/tests/TestSizeTest.php#L79
Call to an undefined method SebastianBergmann\CodeCoverage\Test\TestSize\TestSize::isGreaterThan().
Static Analysis
Process completed with exit code 1.