1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-18 19:42:21 +01:00

Add environment variables list to failing shepherd call

This commit is contained in:
Matthew Brown 2019-03-31 20:16:39 -04:00
parent fea61d9897
commit e3f37089f4

View File

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