Skip to content

Bump to PHP 8.1

Bump to PHP 8.1 #2

Triggered via push July 26, 2023 13:33
Status Failure
Total duration 42s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Tests
Process completed with exit code 2.
PHPStan: src/Analyser.php#L60
Property TomasVotruba\Lines\Analyser::$classes type has no value type specified in iterable type array.
PHPStan: src/Analyser.php#L62
Property TomasVotruba\Lines\Analyser::$superGlobals type has no value type specified in iterable type array.
PHPStan: src/Analyser.php#L83
Method TomasVotruba\Lines\Analyser::countFiles() has no return type specified.
PHPStan: src/Analyser.php#L83
Method TomasVotruba\Lines\Analyser::countFiles() has parameter $files with no value type specified in iterable type array.
PHPStan: src/Analyser.php#L94
Parameter #1 $code of function token_get_all expects string, string|false given.
PHPStan: src/Analyser.php#L114
Parameter #1 $namespace of method TomasVotruba\Lines\Analyser::getClassName() expects string, string|false given.
PHPStan: src/Analyser.php#L118
Parameter #1 $namespace of method TomasVotruba\Lines\Analyser::getClassName() expects string, string|false given.
PHPStan: src/Analyser.php#L143
Parameter #1 $haystack of function substr_count expects string, string|false given.
PHPStan: src/Analyser.php#L144
Parameter #1 $code of function token_get_all expects string, string|false given.
PHPStan: src/Analyser.php#L241
Parameter #1 $namespace of method TomasVotruba\Lines\Analyser::getClassName() expects string, string|false given.