Skip to content
Permalink
Browse files

Turn on unused code detection with --issues=all

  • Loading branch information...
muglug committed May 31, 2019
1 parent 6f5da23 commit 24a484c9dcfffcba65f1be96e30d34de69640126
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/psalter.php
@@ -370,7 +370,7 @@ function (string $line) : bool {
foreach ($keyed_issues as $issue_name => $_) {
// MissingParamType requires the scanning of all files to inform possible params
if (strpos($issue_name, 'Unused') !== false || $issue_name === 'MissingParamType') {
if (strpos($issue_name, 'Unused') !== false || $issue_name === 'MissingParamType' || $issue_name === 'all') {
$find_unused_code = true;
}
}

0 comments on commit 24a484c

Please sign in to comment.
You can’t perform that action at this time.