1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

More logging

This commit is contained in:
Matthew Brown 2019-12-02 23:59:01 -05:00
parent 35eb0900df
commit 260b73ce78
2 changed files with 2 additions and 2 deletions

View File

@ -247,8 +247,6 @@ class BuildInfoCollector
*/ */
protected function fillGithubActions() protected function fillGithubActions()
{ {
/** @psalm-suppress ForbiddenCode */
var_dump($this->env);
if (isset($this->env['GITHUB_ACTIONS'])) { if (isset($this->env['GITHUB_ACTIONS'])) {
$this->env['CI_NAME'] = 'github-actions'; $this->env['CI_NAME'] = 'github-actions';
$this->env['CI_JOB_ID'] = $this->env['GITHUB_ACTIONS']; $this->env['CI_JOB_ID'] = $this->env['GITHUB_ACTIONS'];

View File

@ -409,6 +409,8 @@ if (isset($options['clear-global-cache'])) {
exit; exit;
} }
var_dump($_SERVER);
// disable progressbar on CI // disable progressbar on CI
if (isset($_SERVER['TRAVIS']) if (isset($_SERVER['TRAVIS'])
|| isset($_SERVER['CIRCLECI']) || isset($_SERVER['CIRCLECI'])