Fix missing detection of dead code in closures #21943
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#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan:
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan:
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan:
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan:
src/Analyser/MutatingScope.php#L4172
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