1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Update Psalm.php

This commit is contained in:
Roland Franssen :) 2023-07-01 16:56:33 +02:00 committed by GitHub
parent f07cdfc129
commit bf31ffbd92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');
}