lib/Github/Api/Repository/Protection.php
public function showStatusChecks($username, $repository, $branch)
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/branches/'.rawurlencode($branch).'/protection/required_status_checks');
    }
public function showStatusChecks($username, $repository, $branch)
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/branches/'.rawurlencode($branch).'/protection/required_status_checks');
    }
public function showStatusChecks ( $ username , $ repository , $ branch ) { return $ this -> get ( '/repos/' . rawurlencode ( $ username ) . '/' . rawurlencode ( $ repository ) . '/branches/' . rawurlencode ( $ branch ) . '/protection/required_status_checks' ) ; }
Get required status checks of protected branch.

@link https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch

@param string $username   The user who owns the repository
@param string $repository The name of the repo
@param string $branch     The name of the branch

@return array The required status checks information
Get required status checks of protected branch .