1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

find_unused_code CLI arg should not be overwritten by config file

This commit is contained in:
kkmuffme 2023-02-07 11:31:46 +01:00
parent 2b7ba42520
commit 9346b7f74b

View File

@ -1087,9 +1087,7 @@ final class Psalm
} else {
$find_unused_code = 'auto';
}
}
if ($config->find_unused_code) {
} elseif ($config->find_unused_code) {
$find_unused_code = 'auto';
}