Skip to content

run CI

run CI #1

Triggered via push July 26, 2023 13:31
Status Failure
Total duration 30s
Billable time 5m
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan: src/Analyser.php#L62
Property TomasVotruba\Lines\Analyser::$classes type has no value type specified in iterable type array.
PHPStan: src/Analyser.php#L64
Property TomasVotruba\Lines\Analyser::$superGlobals type has no value type specified in iterable type array.
PHPStan: src/Analyser.php#L85
Method TomasVotruba\Lines\Analyser::countFiles() has no return type specified.
PHPStan: src/Analyser.php#L85
Method TomasVotruba\Lines\Analyser::countFiles() has parameter $files with no value type specified in iterable type array.
PHPStan: src/Analyser.php#L96
Parameter #1 $code of function token_get_all expects string, string|false given.
PHPStan: src/Analyser.php#L116
Parameter #1 $namespace of method TomasVotruba\Lines\Analyser::getClassName() expects string, string|false given.
PHPStan: src/Analyser.php#L120
Parameter #1 $namespace of method TomasVotruba\Lines\Analyser::getClassName() expects string, string|false given.
PHPStan: src/Analyser.php#L145
Parameter #1 $haystack of function substr_count expects string, string|false given.
PHPStan: src/Analyser.php#L146
Parameter #1 $code of function token_get_all expects string, string|false given.
PHPStan: src/Analyser.php#L243
Parameter #1 $namespace of method TomasVotruba\Lines\Analyser::getClassName() expects string, string|false given.
Tests
Process completed with exit code 2.