mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Update PsalmRunnerTrait.php
This commit is contained in:
parent
7cf87b28dc
commit
f0e2856963
@ -23,7 +23,9 @@ trait PsalmRunnerTrait
|
||||
bool $relyOnConfigDir = true
|
||||
): array {
|
||||
// Ensure CI agnostic output
|
||||
array_unshift($args, '--output-format=console');
|
||||
if (!in_array('--init', $args, true)) {
|
||||
array_unshift($args, '--output-format=console');
|
||||
}
|
||||
|
||||
// As config files all contain `resolveFromConfigFile="true"` Psalm
|
||||
// shouldn't need to be run from the same directory that the code being
|
||||
|
Loading…
Reference in New Issue
Block a user