Documentation

Git extends Coveralls
in package

Data represents "git" of Coveralls API.

"git": { "head": { "id": "b31f08d07ae564b08237e5a336e478b24ccc4a65", "author_name": "Nick Merwin", "author_email": "...", "committer_name": "Nick Merwin", "committer_email": "...", "message": "version bump" }, "branch": "master", "remotes": [ { "name": "origin", "url": "git@github.com:lemurheavy/coveralls-ruby.git" } ] }

Tags
author

Kitamura Satoshi with.no.parachute@gmail.com

Table of Contents

Properties

$branch  : string
Branch name.
$head  : Commit
Head.
$remotes  : array<string|int, Remote>
Remote.

Methods

__construct()  : mixed
Constructor.
__toString()  : string
String expression (convert to json).
getBranch()  : string
Return branch name.
getHead()  : Commit
Return HEAD commit.
getRemotes()  : array<string|int, Remote>
Return remote repositories.
toArray()  : array<string|int, mixed>
Convert to an array.
onJsonError()  : mixed

Properties

$branch

Branch name.

protected string $branch

$remotes

Remote.

protected array<string|int, Remote> $remotes

Methods

__construct()

Constructor.

public __construct(string $branch, Commit $head, array<string|int, mixed> $remotes) : mixed
Parameters
$branch : string

branch name

$head : Commit

hEAD commit

$remotes : array<string|int, mixed>

remote repositories

__toString()

String expression (convert to json).

public __toString() : string
Return values
string

getBranch()

Return branch name.

public getBranch() : string
Return values
string

getRemotes()

Return remote repositories.

public getRemotes() : array<string|int, Remote>
Return values
array<string|int, Remote>

onJsonError()

protected onJsonError() : mixed

        
On this page

Search results