Differentiate die("skip..")
from die()
or exit()
#89
static-analysis.yml
on: pull_request
Matrix: phpstan static code analysis
Annotations
18 errors
phpstan static code analysis (ubuntu-latest, 8.1):
lib/SideEffectsDetector.php#L162
Method staabm\SideEffectsDetector\SideEffectsDetector::getFunctionCallSideEffect() never returns 'process_exit' so it can be removed from the return type.
|
phpstan static code analysis (ubuntu-latest, 8.1):
lib/SideEffectsDetector.php#L378
Method staabm\SideEffectsDetector\SideEffectsDetector::isDieWithSkipMessage() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.1):
lib/SideEffectsDetector.php#L378
Method staabm\SideEffectsDetector\SideEffectsDetector::isDieWithSkipMessage() has parameter $tokens with no value type specified in iterable type array.
|
phpstan static code analysis (ubuntu-latest, 8.1):
lib/SideEffectsDetector.php#L378
Out of 9 possible return types, only 8 - 88.8 % actually have it. Add more return types to get over 100 %
|
phpstan static code analysis (ubuntu-latest, 8.1)
Process completed with exit code 1.
|
phpstan static code analysis (ubuntu-latest, 8.2)
The job was canceled because "ubuntu-latest_8_1" failed.
|
phpstan static code analysis (ubuntu-latest, 8.2):
lib/SideEffectsDetector.php#L162
Method staabm\SideEffectsDetector\SideEffectsDetector::getFunctionCallSideEffect() never returns 'process_exit' so it can be removed from the return type.
|
phpstan static code analysis (ubuntu-latest, 8.2):
lib/SideEffectsDetector.php#L378
Method staabm\SideEffectsDetector\SideEffectsDetector::isDieWithSkipMessage() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 8.2):
lib/SideEffectsDetector.php#L378
Method staabm\SideEffectsDetector\SideEffectsDetector::isDieWithSkipMessage() has parameter $tokens with no value type specified in iterable type array.
|
phpstan static code analysis (ubuntu-latest, 8.2):
lib/SideEffectsDetector.php#L378
Out of 9 possible return types, only 8 - 88.8 % actually have it. Add more return types to get over 100 %
|
phpstan static code analysis (ubuntu-latest, 8.2)
Process completed with exit code 1.
|
phpstan static code analysis (ubuntu-latest, 7.4)
The job was canceled because "ubuntu-latest_8_1" failed.
|
phpstan static code analysis (ubuntu-latest, 7.4):
lib/SideEffectsDetector.php#L162
Method staabm\SideEffectsDetector\SideEffectsDetector::getFunctionCallSideEffect() never returns 'process_exit' so it can be removed from the return type.
|
phpstan static code analysis (ubuntu-latest, 7.4):
lib/SideEffectsDetector.php#L378
Method staabm\SideEffectsDetector\SideEffectsDetector::isDieWithSkipMessage() has no return type specified.
|
phpstan static code analysis (ubuntu-latest, 7.4):
lib/SideEffectsDetector.php#L378
Method staabm\SideEffectsDetector\SideEffectsDetector::isDieWithSkipMessage() has parameter $tokens with no value type specified in iterable type array.
|
phpstan static code analysis (ubuntu-latest, 7.4):
lib/SideEffectsDetector.php#L378
Out of 9 possible return types, only 8 - 88.8 % actually have it. Add more return types to get over 100 %
|
phpstan static code analysis (ubuntu-latest, 7.4)
Process completed with exit code 1.
|
phpstan static code analysis (ubuntu-latest, 8.0)
The job was canceled because "ubuntu-latest_8_1" failed.
|