Skip to content

Enhancement: Increase phpstan/phpstan level from 5 to 6 #1506

Enhancement: Increase phpstan/phpstan level from 5 to 6

Enhancement: Increase phpstan/phpstan level from 5 to 6 #1506

Triggered via pull request April 27, 2025 11:12
Status Failure
Total duration 1m 25s
Artifacts

ci.yml

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

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.