Fix missing detection of dead code in closures #21942
static-analysis.yml
on: pull_request
Generate baseline
1m 36s
Generate PHP baseline
1m 46s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
96 errors
PHPStan with result cache (8.3):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.3):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan with result cache (8.3):
src/Analyser/NodeScopeResolver.php#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan with result cache (8.3):
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.3):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.3):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan with result cache (8.3):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan with result cache (8.3):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan with result cache (8.3):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan with result cache (8.3):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
PHPStan with result cache (8.4):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.4):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan with result cache (8.4):
src/Analyser/NodeScopeResolver.php#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan with result cache (8.4):
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.4):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.4):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan with result cache (8.4):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan with result cache (8.4):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan with result cache (8.4):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan with result cache (8.4):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
Generate baseline
Process completed with exit code 1.
|
PHPStan (8.4, ubuntu-latest):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan (8.4, ubuntu-latest):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
PHPStan (8.3, ubuntu-latest):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan (8.3, ubuntu-latest):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
PHPStan (8.2, ubuntu-latest):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan (8.2, ubuntu-latest):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
PHPStan with result cache (8.2):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.2):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan with result cache (8.2):
src/Analyser/NodeScopeResolver.php#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan with result cache (8.2):
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.2):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan with result cache (8.2):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan with result cache (8.2):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan with result cache (8.2):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan with result cache (8.2):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan with result cache (8.2):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
PHPStan (8.1, ubuntu-latest):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6759
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6705
Unreachable statement - code above always terminates.
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan (8.1, ubuntu-latest):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
PHPStan (8.0, ubuntu-latest):
src/Command/FixerWorkerCommand.php#L211
Unreachable statement - code above always terminates.
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/SpecifiedTypes.php#L110
Unused PHPStan\Analyser\SpecifiedTypes::getNewConditionalExpressionHolders
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6833
Strict comparison using === between null and null will always evaluate to true.
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/NodeScopeResolver.php#L6779
Unreachable statement - code above always terminates.
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/MutatingScope.php#L4624
Unreachable statement - code above always terminates.
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Unused PHPStan\Analyser\MutatingScope::setExpressionCertainty
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/MutatingScope.php#L4497
Method PHPStan\Analyser\MutatingScope::setExpressionCertainty() is unused.
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/MutatingScope.php#L4172
Unused PHPStan\Analyser\MutatingScope::unsetExpression
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/FinalizerResult.php#L44
Unused PHPStan\Analyser\FinalizerResult::getLocallyIgnoredCollectorErrors
|
PHPStan (8.0, ubuntu-latest):
src/Analyser/FinalizerResult.php#L36
Unused PHPStan\Analyser\FinalizerResult::getCollectorErrors
|
PHPStan (7.4, windows-latest)
The operation was canceled.
|
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-closures exists
|
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
|
PHPStan (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for sa-closures exists
|
PHPStan (8.4, windows-latest)
The operation was canceled.
|
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for sa-closures exists
|
PHPStan (8.2, windows-latest)
The operation was canceled.
|
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for sa-closures exists
|
PHPStan (8.3, windows-latest)
The operation was canceled.
|
PHPStan (8.1, windows-latest)
The operation was canceled.
|
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for sa-closures exists
|
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for sa-closures exists
|
Static Analysis
Canceling since a higher priority waiting request for sa-closures exists
|
PHPStan (8.0, windows-latest)
The operation was canceled.
|
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for sa-closures exists
|