Adding support for commenting on Github diffs.

This commit is contained in:
Dan Cryer 2015-02-20 13:37:36 +00:00
commit dd58dd682f
13 changed files with 333 additions and 5 deletions

View file

@ -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);
}
}