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:
parent
6fa3d3df51
commit
946a46a761
@ -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{
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user