Skip to content

Commit

Permalink
Merge pull request #9235 from kkmuffme/find-unused-code-config-should…
Browse files Browse the repository at this point in the history
…-not-overwrite-cli
  • Loading branch information
weirdan committed Feb 7, 2023
2 parents 2b7ba42 + 9346b7f commit 93bc564
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Psalm/Internal/Cli/Psalm.php
Expand Up @@ -1087,9 +1087,7 @@ private static function shouldFindUnusedCode(array $options, Config $config)
} else {
$find_unused_code = 'auto';
}
}

if ($config->find_unused_code) {
} elseif ($config->find_unused_code) {
$find_unused_code = 'auto';
}

Expand Down

0 comments on commit 93bc564

Please sign in to comment.