From f07cdfc129301ebd5f7c1d86de3aadf7e03a8a8d Mon Sep 17 00:00:00 2001 From: "Roland Franssen :)" Date: Sat, 1 Jul 2023 16:50:25 +0200 Subject: [PATCH] Update Psalm.php --- src/Psalm/Internal/Cli/Psalm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Cli/Psalm.php b/src/Psalm/Internal/Cli/Psalm.php index 5ccc4fa1cb8..ee14bec18aa 100644 --- a/src/Psalm/Internal/Cli/Psalm.php +++ b/src/Psalm/Internal/Cli/Psalm.php @@ -186,7 +186,7 @@ public static function run(array $argv): void // debug CI environment if (!in_array('--debug', $options, true) && 'true' === getenv('GITHUB_ACTIONS') && '1' === getenv('RUNNER_DEBUG')) { - array_unshift('--debug', $options); + array_unshift($options, '--debug'); } self::forwardCliCall($options, $argv);