Adding support for commenting on Github diffs.
This commit is contained in:
parent
071e36a4e9
commit
dd58dd682f
13 changed files with 333 additions and 5 deletions
|
|
@ -204,4 +204,17 @@ class Build extends BuildBase
|
|||
|
||||
return $rtn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows specific build types (e.g. Github) to report violations back to their respective services.
|
||||
* @param Builder $builder
|
||||
* @param $file
|
||||
* @param $line
|
||||
* @param $message
|
||||
* @return mixed
|
||||
*/
|
||||
public function reportError(Builder $builder, $file, $line, $message)
|
||||
{
|
||||
return array($builder, $file, $line, $message);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue