run CI #1
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.
|