Method | Description | |
---|---|---|
export ( array $options ) : string | Exports a coverage to a string. | |
write ( array $options ) : boolean | Writes a coverage to an ouput file. |
Method | Description | |
---|---|---|
_sourceFiles ( object $collector ) : array | Exports source file coverage |
protected static _sourceFiles ( object $collector ) : array | ||
$collector | object | The collector instance. |
return | array |
public static export ( array $options ) : string | ||
$options | array | The option array where the possible values are: -`'collector'` _object_ : The collector instance. -`'repo_token'` _string_ : The Coveralls repo token. -`'head'` _string_ : The HEAD hash. -`'branch'` _string_ : The branch name. -`'committed_at'` _integer_: The committed timestamp. -`'environment'` _array_ : The Environment. Possible values are: -`'pwd'` _string_ : The repo absolute path. -`'ci_service'` _string_ : The CI service name - `'name` _string_ : CI service name - `'build_identifier` _string_ : build identifier - `'build_url` _string_ : build url - `'branch` _string_ : branch name - `'commit_sha` _string_ : commit SHA - `'pull_request` _string_ : pull request id -`'run_at'` _integer_: The runned timestamp. |
return | string |