mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Add more verbose output
This commit is contained in:
parent
bd48ba858e
commit
517415029a
@ -69,8 +69,13 @@ class Shepherd implements \Psalm\Plugin\Hook\AfterAnalysisInterface
|
||||
|
||||
if ($return !== '') {
|
||||
echo 'Error with Psalm Shepherd:' . PHP_EOL;
|
||||
|
||||
if ($return === false) {
|
||||
echo var_export(curl_getinfo($ch), true) . PHP_EOL;
|
||||
} else {
|
||||
echo $return . PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
// Close cURL session handle
|
||||
curl_close($ch);
|
||||
|
Loading…
Reference in New Issue
Block a user