Skip to content

Commit

Permalink
Turn on unused code detection with --issues=all
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed May 31, 2019
1 parent 6f5da23 commit 24a484c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psalter.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function (string $line) : bool {


foreach ($keyed_issues as $issue_name => $_) { foreach ($keyed_issues as $issue_name => $_) {
// MissingParamType requires the scanning of all files to inform possible params // 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; $find_unused_code = true;
} }
} }
Expand Down

0 comments on commit 24a484c

Please sign in to comment.