Enhancement: Increase phpstan/phpstan
level from 5
to 6
#1506
ci.yml
on: pull_request
Coding Guidelines
12s
Static Analysis
20s
Matrix: Tests
Annotations
10 errors
Static Analysis:
tests/tests/Data/ProcessedCodeCoverageDataTest.php#L76
Parameter #1 $functionCoverage of method SebastianBergmann\CodeCoverage\Data\ProcessedCodeCoverageData::setFunctionCoverage() expects array<string, array<string, array{branches: array<int, array{op_start: int, op_end: int, line_start: int, line_end: int, hit: list<string>, out: array<int, int>, out_hit: array<int, int>}>, paths: array<int, array{path: array<int, int>, hit: list<string>}>, hit: list<string>}>>, array{/some/path/SomeClass.php: array{SomeClass->firstFunction: array{branches: array{array{op_start: 0, op_end: 14, line_start: 20, line_end: 25, hit: array{}, out: array{}, out_hit: array{}}}, paths: array{array{path: array{0}, hit: array{}}}}}} given.
|
Static Analysis:
src/Report/Html/Renderer/File.php#L914
Method SebastianBergmann\CodeCoverage\Report\Html\File::renderPathLines() has parameter $path with no value type specified in iterable type array.
|
Static Analysis:
src/Report/Html/Renderer/File.php#L914
Method SebastianBergmann\CodeCoverage\Report\Html\File::renderPathLines() has parameter $branches with no value type specified in iterable type array.
|
Static Analysis:
src/Report/Html/Renderer/File.php#L804
Method SebastianBergmann\CodeCoverage\Report\Html\File::renderBranchLines() has parameter $testData with no value type specified in iterable type array.
|
Static Analysis:
src/Report/Html/Renderer/File.php#L804
Method SebastianBergmann\CodeCoverage\Report\Html\File::renderBranchLines() has parameter $branch with no value type specified in iterable type array.
|
Static Analysis:
src/Node/File.php#L175
Method SebastianBergmann\CodeCoverage\Node\File::functionCoverageData() return type has no value type specified in iterable type array.
|
Static Analysis:
src/Node/File.php#L150
Method SebastianBergmann\CodeCoverage\Node\File::__construct() has parameter $functionCoverageData with no value type specified in iterable type array.
|
Static Analysis:
src/Node/File.php#L141
Property SebastianBergmann\CodeCoverage\Node\File::$codeUnitsByLine type has no value type specified in iterable type array.
|
Static Analysis:
src/Node/File.php#L102
Property SebastianBergmann\CodeCoverage\Node\File::$functionCoverageData type has no value type specified in iterable type array.
|
Static Analysis:
src/Node/Builder.php#L67
Method SebastianBergmann\CodeCoverage\Node\Builder::addItems() has parameter $items with no value type specified in iterable type array.
|