lib/GitHub/Receiver/Issues.php
public function listRepositoryIssues(string $milestone = '*', string $state = AbstractApi::STATE_OPEN,
                                         string $assignee = '*', string $creator = '', string $mentioned = '',
                                         string $labels = '', string $sort = AbstractApi::SORT_CREATED,
                                         string $direction = AbstractApi::DIRECTION_DESC,
                                         string $since = '1970-01-01'): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/issues?:args', $this->getOwner(),
            $this->getRepo(), http_build_query([
                'milestone' => $milestone,
                'state'     => $state,
                'assignee'  => $assignee,
                'creator'   => $creator,
                'mentioned' => $mentioned,
                'labels'    => $labels,
                'sort'      => $sort,
                'direction' => $direction,
                'since'     => (new DateTime($since))->format(DateTime::ATOM)
            ])));
    }
public function listRepositoryIssues(string $milestone = '*', string $state = AbstractApi::STATE_OPEN,
                                         string $assignee = '*', string $creator = '', string $mentioned = '',
                                         string $labels = '', string $sort = AbstractApi::SORT_CREATED,
                                         string $direction = AbstractApi::DIRECTION_DESC,
                                         string $since = '1970-01-01'): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/issues?:args', $this->getOwner(),
            $this->getRepo(), http_build_query([
                'milestone' => $milestone,
                'state'     => $state,
                'assignee'  => $assignee,
                'creator'   => $creator,
                'mentioned' => $mentioned,
                'labels'    => $labels,
                'sort'      => $sort,
                'direction' => $direction,
                'since'     => (new DateTime($since))->format(DateTime::ATOM)
            ])));
    }
public function listRepositoryIssues ( string $ milestone = '*' , string $ state = AbstractApi :: STATE_OPEN , string $ assignee = '*' , string $ creator = '' , string $ mentioned = '' , string $ labels = '' , string $ sort = AbstractApi :: SORT_CREATED , string $ direction = AbstractApi :: DIRECTION_DESC , string $ since = '1970-01-01' ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/repos/:owner/:repo/issues?:args' , $ this -> getOwner ( ) , $ this -> getRepo ( ) , http_build_query ( [ 'milestone' => $ milestone , 'state' => $ state , 'assignee' => $ assignee , 'creator' => $ creator , 'mentioned' => $ mentioned , 'labels' => $ labels , 'sort' => $ sort , 'direction' => $ direction , 'since' => ( new DateTime ( $ since ) ) -> format ( DateTime :: ATOM ) ] ) ) ) ; }
List issues for a repository

@link https://developer.github.com/v3/issues/#list-issues-for-a-repository

@param string $milestone
@param string $state
@param string $assignee
@param string $creator
@param string $mentioned
@param string $labels
@param string $sort
@param string $direction
@param string $since

@return array
List issues for a repository