Skip to content

Commit

Permalink
Update Psalm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL authored Jul 1, 2023
1 parent f07cdfc commit bf31ffb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Psalm/Internal/Cli/Psalm.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ public static function run(array $argv): void
}

// debug CI environment
if (!in_array('--debug', $options, true) && 'true' === getenv('GITHUB_ACTIONS') && '1' === getenv('RUNNER_DEBUG')) {
if (!in_array('--debug', $options, true)
&& 'true' === getenv('GITHUB_ACTIONS')
&& '1' === getenv('RUNNER_DEBUG')
) {
array_unshift($options, '--debug');
}

Expand Down

0 comments on commit bf31ffb

Please sign in to comment.