WIP: Remove the IfElseAnalyzer and treat elseif as an else/if #12024
Annotations
10 errors
PossiblyUnusedProperty:
src/Psalm/Codebase.php#L207
src/Psalm/Codebase.php:207:18: PossiblyUnusedProperty: Cannot find any references to property Psalm\Codebase::$class_constants_to_rename (see https://psalm.dev/149)
|
PossiblyUnusedProperty:
src/Psalm/Config.php#L454
src/Psalm/Config.php:454:17: PossiblyUnusedProperty: Cannot find explicit references to property Psalm\Config::$threads (but did find some potential references) (see https://psalm.dev/149)
|
PossiblyUnusedMethod:
src/Psalm/Config.php#L1922
src/Psalm/Config.php:1922:21: PossiblyUnusedMethod: Cannot find any calls to method Psalm\Config::getReportingLevelForArgument (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Psalm/Internal/Analyzer/CanAlias.php#L108
src/Psalm/Internal/Analyzer/CanAlias.php:108:21: PossiblyUnusedMethod: Cannot find any calls to method Psalm\Internal\Analyzer\NamespaceAnalyzer::visitGroupUse (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Psalm/Internal/Analyzer/CanAlias.php#L108
src/Psalm/Internal/Analyzer/CanAlias.php:108:21: PossiblyUnusedMethod: Cannot find any calls to method Psalm\Internal\Analyzer\FileAnalyzer::visitGroupUse (see https://psalm.dev/087)
|
MixedInferredReturnType:
src/Psalm/Internal/Analyzer/CommentAnalyzer.php#L271
src/Psalm/Internal/Analyzer/CommentAnalyzer.php:271:16: MixedInferredReturnType: Could not verify return type 'non-empty-list<string>' for Psalm\Internal\Analyzer\CommentAnalyzer::splitDocLine (see https://psalm.dev/047)
|
UnusedVariable:
src/Psalm/Internal/Analyzer/CommentAnalyzer.php#L280
src/Psalm/Internal/Analyzer/CommentAnalyzer.php:280:9: UnusedVariable: $expects_callable_return is never referenced or the value is not used (see https://psalm.dev/077)
|
UnusedVariable:
src/Psalm/Internal/Analyzer/CommentAnalyzer.php#L325
src/Psalm/Internal/Analyzer/CommentAnalyzer.php:325:17: UnusedVariable: $expects_callable_return is never referenced or the value is not used (see https://psalm.dev/077)
|
UnusedVariable:
src/Psalm/Internal/Analyzer/CommentAnalyzer.php#L410
src/Psalm/Internal/Analyzer/CommentAnalyzer.php:410:13: UnusedVariable: $expects_callable_return is never referenced or the value is not used (see https://psalm.dev/077)
|
UnusedProperty:
src/Psalm/Internal/Analyzer/FileAnalyzer.php#L74
src/Psalm/Internal/Analyzer/FileAnalyzer.php:74:19: UnusedProperty: Cannot find any references to private property Psalm\Internal\Analyzer\FileAnalyzer::$namespace_aliased_classes (see https://psalm.dev/150)
|