1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Log when data is sent successfully

This commit is contained in:
Matthew Brown 2019-12-03 00:13:46 -05:00
parent 6fa3d3df51
commit 946a46a761
2 changed files with 2 additions and 3 deletions

View File

@ -269,9 +269,6 @@ class BuildInfoCollector
/** @var array */ /** @var array */
$event_data = \json_decode($event_json, true); $event_data = \json_decode($event_json, true);
/** @psalm-suppress ForbiddenCode */
var_dump($event_data);
if (isset($event_data['head_commit'])) { if (isset($event_data['head_commit'])) {
/** /**
* @var array{ * @var array{

View File

@ -112,6 +112,8 @@ class Shepherd implements \Psalm\Plugin\Hook\AfterAnalysisInterface
. var_export($build_info, true) . var_export($build_info, true)
. PHP_EOL; . PHP_EOL;
} }
} else {
echo "Shepherd: Sent CI metadata to $base_address" . PHP_EOL;
} }
// Close cURL session handle // Close cURL session handle