From f667dee4f5617f249fa61707713f02c931ecaf45 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Tue, 3 Dec 2019 00:06:00 -0500 Subject: [PATCH] More logging --- src/Psalm/Internal/ExecutionEnvironment/BuildInfoCollector.php | 2 ++ src/psalm.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Psalm/Internal/ExecutionEnvironment/BuildInfoCollector.php b/src/Psalm/Internal/ExecutionEnvironment/BuildInfoCollector.php index 41dbe74ba..977155bab 100644 --- a/src/Psalm/Internal/ExecutionEnvironment/BuildInfoCollector.php +++ b/src/Psalm/Internal/ExecutionEnvironment/BuildInfoCollector.php @@ -269,6 +269,8 @@ class BuildInfoCollector /** @var array */ $event_data = \json_decode($event_json, true); + var_dump($head_data); + if (isset($event_data['head_commit'])) { /** * @var array{ diff --git a/src/psalm.php b/src/psalm.php index 69fe50069..74ce7bd01 100644 --- a/src/psalm.php +++ b/src/psalm.php @@ -409,8 +409,6 @@ if (isset($options['clear-global-cache'])) { exit; } -var_dump($_SERVER); - // disable progressbar on CI if (isset($_SERVER['TRAVIS']) || isset($_SERVER['CIRCLECI'])