From bf31ffbd92b830753ea6c2c92357c9654d6e1ea3 Mon Sep 17 00:00:00 2001 From: "Roland Franssen :)" Date: Sat, 1 Jul 2023 16:56:33 +0200 Subject: [PATCH] Update Psalm.php --- src/Psalm/Internal/Cli/Psalm.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Cli/Psalm.php b/src/Psalm/Internal/Cli/Psalm.php index ee14bec18..84436e450 100644 --- a/src/Psalm/Internal/Cli/Psalm.php +++ b/src/Psalm/Internal/Cli/Psalm.php @@ -185,7 +185,10 @@ final class Psalm } // 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'); }