From e3f37089f4407a12e9f62721615837e43a5bdab9 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Sun, 31 Mar 2019 20:16:39 -0400 Subject: [PATCH] Add environment variables list to failing shepherd call --- src/Psalm/Plugin/Shepherd.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Psalm/Plugin/Shepherd.php b/src/Psalm/Plugin/Shepherd.php index cf88c6993..091adde14 100644 --- a/src/Psalm/Plugin/Shepherd.php +++ b/src/Psalm/Plugin/Shepherd.php @@ -175,11 +175,14 @@ class Shepherd implements \Psalm\Plugin\Hook\AfterAnalysisInterface echo 'application verification failure'; break; } + + echo PHP_EOL; } else { echo var_export(curl_getinfo($ch), true) . PHP_EOL; } } else { echo $return . PHP_EOL; + echo 'Called with environment variables:' . implode(', ', array_keys($_SERVER)) . PHP_EOL; } }