PHP Class Gush\Tests\Fixtures\Adapter\TestAdapter

Inheritance: extends Gush\Adapter\BaseAdapter, implements Gush\Adapter\IssueTracker
Show file Open project: gushphp/gush

Public Methods

Method Description
__construct ( $name )
authenticate ( )
closeIssue ( $id )
closePullRequest ( $id )
createComment ( $id, $message )
createFork ( $org )
createRelease ( $name, array $parameters = [] )
createReleaseAssets ( $id, $name, $contentType, $content )
getAdapterName ( )
getComments ( $id )
getIssue ( $id )
getIssueUrl ( $id )
getIssues ( array $parameters = [], $limit = 30 )
getLabels ( ) : mixed
getMilestones ( array $parameters = [] )
getPullRequest ( $id )
getPullRequestCommits ( $id )
getPullRequestStates ( )
getPullRequestUrl ( $id )
getPullRequests ( $state = null, $limit = 30 )
getReleaseAssets ( $id )
getReleases ( ) : mixed
getRepositoryInfo ( $org, $repository )
isAuthenticated ( )
mergePullRequest ( $id, $message )
openIssue ( $subject, $body, array $options = [] )
openPullRequest ( $base, $head, $subject, $body, array $parameters = [] )
removeRelease ( $id )
supportsRepository ( $remoteUrl )
switchPullRequestBase ( $prNumber, $newBase, $newHead, $forceNewPr = false )
updateIssue ( $id, array $parameters )
updatePullRequest ( $id, array $parameters )

Method Details

__construct() public method

public __construct ( $name )

authenticate() public method

public authenticate ( )

closeIssue() public method

public closeIssue ( $id )

closePullRequest() public method

public closePullRequest ( $id )

createComment() public method

public createComment ( $id, $message )

createFork() public method

public createFork ( $org )

createRelease() public method

public createRelease ( $name, array $parameters = [] )
$parameters array

createReleaseAssets() public method

public createReleaseAssets ( $id, $name, $contentType, $content )

getAdapterName() public method

public getAdapterName ( )

getComments() public method

public getComments ( $id )

getIssue() public method

public getIssue ( $id )

getIssueUrl() public method

public getIssueUrl ( $id )

getIssues() public method

public getIssues ( array $parameters = [], $limit = 30 )
$parameters array

getLabels() public method

public getLabels ( ) : mixed
return mixed

getMilestones() public method

public getMilestones ( array $parameters = [] )
$parameters array

getPullRequest() public method

public getPullRequest ( $id )

getPullRequestCommits() public method

public getPullRequestCommits ( $id )

getPullRequestStates() public method

getPullRequestUrl() public method

public getPullRequestUrl ( $id )

getPullRequests() public method

public getPullRequests ( $state = null, $limit = 30 )

getReleaseAssets() public method

public getReleaseAssets ( $id )

getReleases() public method

public getReleases ( ) : mixed
return mixed

getRepositoryInfo() public method

public getRepositoryInfo ( $org, $repository )

isAuthenticated() public method

public isAuthenticated ( )

mergePullRequest() public method

public mergePullRequest ( $id, $message )

openIssue() public method

public openIssue ( $subject, $body, array $options = [] )
$options array

openPullRequest() public method

public openPullRequest ( $base, $head, $subject, $body, array $parameters = [] )
$parameters array

removeRelease() public method

public removeRelease ( $id )

supportsRepository() public method

public supportsRepository ( $remoteUrl )

switchPullRequestBase() public method

public switchPullRequestBase ( $prNumber, $newBase, $newHead, $forceNewPr = false )

updateIssue() public method

public updateIssue ( $id, array $parameters )
$parameters array

updatePullRequest() public method

public updatePullRequest ( $id, array $parameters )
$parameters array