@link https://developer.github.com/v3/pulls/review_requests/#delete-a-review-request

@param string $username
@param string $repository
@param int    $pullRequest
@param array  $reviewers

@return string
486654
public function remove($username, $repository, $pullRequest, array $reviewers)
    {
        return $this->delete('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/pulls/'.$pullRequest.'/requested_reviewers', ['reviewers' => $reviewers]);
    }
920815
private function removeReviewsAndExtractSubject(ReviewInterface $review, array $reviewSubjectsToRecalculate): array
    {
        $reviewSubject = $review->getReviewSubject();

        if (!in_array($reviewSubject, $reviewSubjectsToRecalculate)) {
            $reviewSubjectsToRecalculate[] = $reviewSubject;
        }

        $this->reviewManager->remove($review);

        return $reviewSubjectsToRecalculate;
    }
1084399
public function lock($username, $repository, $id)
    {
        return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($id).'/lock');
    }
1360462
function removeUser($username)
    {
        $query = sprintf("DELETE FROM %s WHERE %s = '%s'",
                         $this->options['table'],
                         $this->options['usernamecol'],
                         $username
                         );

        $res = $this->query($query);

        if (DB::isError($res)) {
           return PEAR::raiseError($res->getMessage(), $res->getCode());
        } else {
          return true;
        }
    }
687955
public function add($username, $repository, $collaborator, array $params = [])
    {
        return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/collaborators/'.rawurlencode($collaborator), $params);
    }
986615
public function filterItemsForReview($items, $customerId, $order)
    {
        foreach ($items as $key => $item) {
            $productId = $item->getProduct()->getId();

            $collection = $this->reviewFactory->create()->getCollection()
                ->addCustomerFilter($customerId)
                ->addStoreFilter($order->getStoreId())
                ->addFieldToFilter('main_table.entity_pk_value', $productId);

            //remove item if customer has already placed review on this item
            if ($collection->getSize()) {
                unset($items[$key]);
            }
        }

        return $items;
    }
1343552
public function combined($username, $repository, $sha)
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/commits/'.rawurlencode($sha).'/status');
    }
406875
public function actionRemove()
    {
        $username = $this->prompt('Username:', ['required' => true]);
        $user = $this->findModel($username);
        $this->log($this->repository->remove($user));
    }
297386
public function remove($username, $repository, $collaborator)
    {
        return $this->delete('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/collaborators/'.rawurlencode($collaborator));
    }
541656
public function remove(string $reviewer, array $params = [])
    {
        $path = $this->buildDefaultReviewersPath($reviewer);

        return $this->delete($path, $params);
    }
1294420
public function deleteFavourite(User $user, ResourceNode $resourceNode)
    {
        $favourite = $this->repo->findOneBy(['user' => $user, 'resourceNode' => $resourceNode]);

        if (!empty($favourite)) {
            $this->om->remove($favourite);
            $this->om->flush();
        }
    }
856190
public function replaceTopics($username, $repository, array $topics)
    {
        //This api is in preview mode, so set the correct accept-header
        $this->acceptHeaderValue = 'application/vnd.github.mercy-preview+json';

        return $this->put('/repos/'.rawurldecode($username).'/'.rawurldecode($repository).'/topics', ['names' => $topics]);
    }
571680
public function pullRequests(string $user, string $repo, array $filter = []): array
    {
        $default = [];
        $api = $this->client->api('pull_request');
        $params = [$user, $repo, $filter];

        $refs = $this->callGitHub([$api, 'all'], $params, $default);

        usort($refs, $this->prSorter($user));

        return $refs;
    }
709466
public function removeMention($username)
    {
        if (
            $mentioned = $this->getService('repos:people.person')->find(array('username' => $username))
        ) {
            $this->mentions->extract($mentioned);

            if ($this->_mixer->isSubscribable() && $this->_mixer->subscribed($mentioned)) {
                $this->_mixer->removeSubscriber($mentioned);
            }

            return $this;
        } else {
            $this->invalidateUsername($username);

            return;
        }
    }
1101464
public function delete($review_id)
    {
        $result = null;
        $this->hook->attach('review.delete.before', $review_id, $result, $this);

        if (isset($result)) {
            return (bool) $result;
        }

        settype($review_id, 'array');

        $placeholders = rtrim(str_repeat('?,', count($review_id)), ',');
        $sql = "DELETE FROM review WHERE review_id IN($placeholders)";

        $result = (bool) $this->db->run($sql, $review_id)->rowCount();
        $this->hook->attach('review.delete.after', $review_id, $result, $this);
        return (bool) $result;
    }
678698
public function all($username, $repository, $issue)
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($issue).'/timeline');
    }
441608
public function update($username, $repository, $reference, array $params)
    {
        if (!isset($params['sha'])) {
            throw new MissingArgumentException('sha');
        }

        $reference = $this->encodeReference($reference);

        return $this->patch('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/git/refs/'.$reference, $params);
    }