Skip to content

Commit

Permalink
Update PsalmRunnerTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL authored Jul 1, 2023
1 parent 8ed4f94 commit 7cf87b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/EndToEnd/PsalmRunnerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ private function runPsalm(
bool $shouldFail = false,
bool $relyOnConfigDir = true
): array {
// Ensure CI agnostic output
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
// analysed exists in.
Expand Down

0 comments on commit 7cf87b2

Please sign in to comment.