Skip to content

Add nikic/php-parser to make counter reliable, make use of lines-of-code #185

Add nikic/php-parser to make counter reliable, make use of lines-of-code

Add nikic/php-parser to make counter reliable, make use of lines-of-code #185

Triggered via pull request August 3, 2023 22:36
Status Failure
Total duration 52s
Artifacts

code_analysis.yaml

on: pull_request
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

5 errors
PHPStan: src/Analyser.php#L79
Out of 94 possible return types, only 98 % actually have it. Add more return types to get over 99 %
PHPStan: src/Analyser.php#L81
Method class@anonymous/src/Analyser.php:73::enterNode() should return int|PhpParser\Node|null but return statement is missing.
PHPStan: src/Analyser.php#L83
Method class@anonymous/src/Analyser.php:73::enterNode() should return int|PhpParser\Node|null but empty return statement found.
PHPStan: src/Analyser.php#L91
Parameter #1 $nodes of method PhpParser\NodeTraverser::traverse() expects array<PhpParser\Node>, array<PhpParser\Node\Stmt>|null given.
PHPStan
Process completed with exit code 1.