Skip to content

Commit

Permalink
Always check unused methods and properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-worman committed Dec 22, 2022
1 parent c75f06e commit db1167f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Psalm/Internal/Codebase/ClassLikes.php
Expand Up @@ -860,10 +860,9 @@ public function consolidateAnalyzedData(Methods $methods, ?Progress $progress, b
),
$classlike_storage->suppressed_issues,
);
} else {
$this->checkMethodReferences($classlike_storage, $methods);
$this->checkPropertyReferences($classlike_storage);
}
$this->checkMethodReferences($classlike_storage, $methods);
$this->checkPropertyReferences($classlike_storage);
}

$this->findPossibleMethodParamTypes($classlike_storage);
Expand Down

0 comments on commit db1167f

Please sign in to comment.