lib/Github/Api/PullRequest.php
public function status($username, $repository, $id)
    {
        $link = $this->show($username, $repository, $id)['_links']['statuses']['href'];

        return $this->get($link);
    }
public function status($username, $repository, $id)
    {
        $link = $this->show($username, $repository, $id)['_links']['statuses']['href'];

        return $this->get($link);
    }
public function status ( $ username , $ repository , $ id ) { $ link = $ this -> show ( $ username , $ repository , $ id ) [ '_links' ] [ 'statuses' ] [ 'href' ] ; return $ this -> get ( $ link ) ; }
All statuses which are the statuses of its head branch.

@see http://developer.github.com/v3/pulls/

@param string $username   the username
@param string $repository the repository
@param int    $id         the ID of the pull request for which statuses are retrieved

@return array array of statuses for the project
All statuses which are the statuses of its head branch .