Lines Matching refs:data
132 $data = $this->makeGitHubRequest($endpoint, [], 'GET', []);
155 $results = array_merge($results, $data);
171 * @param array $data
179 protected function makeGitHubRequest($endpoint, $data, $method, $headers = []) argument
194 return $this->makeHTTPRequest($this->dokuHTTPClient, $url, $requestHeaders, $data, $method);
260 $data = $this->makeGitHubRequest("/repos/$project/hooks/$hookid", [], 'DELETE');
267 $data = $e->getMessage();
271 return ['data' => $data, 'status' => $status];
283 $data = [
290 $data = $this->makeGitHubRequest("/repos/$project/hooks", $data, 'POST');
292 $id = $data['id'];
297 $data = $e->getMessage();
301 return ['data' => $data, 'status' => $status];
306 $data = json_decode($webhookBody, true);
307 if (!$this->isSignatureValid($webhookBody, $data['repository']['full_name'])) {
348 $data = json_decode($webhookBody, true);
355 if (!$this->saveIssue($data)) {
366 * @param array $data
373 protected function saveIssue($data) argument
378 $data['repository']['full_name'],
379 $data['issue']['number'],
384 $this->setIssueData($issue, $data['issue']);