JGithubStatuses::create
Method to create a status.
Signature
public function create(string
$user,
[string
$repo = null,
[string
$sha = null,
[string
$state = null,
[string
$targetUrl = null,
[string
$description = null]]]]] )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$sha
- The SHA1 value for which to set the status.
-
$state
- The state (pending, success, error or failure).
-
$targetUrl
- Optional target URL.
-
$description
- Optional description for the status.
Returns