Fix missing detection of dead code in closures #22151
Annotations
10 errors
PHPStan:
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan:
src/Analyser/NodeScopeResolver.php#L6765
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan:
src/Analyser/NodeScopeResolver.php#L6711
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/MutatingScope.php#L4626
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/MutatingScope.php#L4499
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan:
src/Analyser/MutatingScope.php#L4499
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan:
src/Analyser/MutatingScope.php#L4174
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan:
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan:
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
Loading