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:
parent
f07cdfc129
commit
bf31ffbd92
@ -185,7 +185,10 @@ final class Psalm
|
|||||||
}
|
}
|
||||||
|
|
||||||
// debug CI environment
|
// 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');
|
array_unshift($options, '--debug');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user