Fix missing detection of dead code in closures #22151
Annotations
10 errors
PHPStan:
src/Command/FixerWorkerCommand.php#L214
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/SpecifiedTypes.php#L117
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan:
src/Analyser/NodeScopeResolver.php#L6787
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan:
src/Analyser/NodeScopeResolver.php#L6733
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/MutatingScope.php#L4607
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/MutatingScope.php#L4480
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan:
src/Analyser/MutatingScope.php#L4480
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan:
src/Analyser/MutatingScope.php#L4155
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan:
src/Analyser/FinalizerResult.php#L51
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan:
src/Analyser/FinalizerResult.php#L43
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
Loading