Fixing PHPCI errors

This commit is contained in:
Dan Cryer 2015-10-15 10:17:22 +01:00
commit 38b024833f
5 changed files with 25 additions and 0 deletions

View file

@ -16,6 +16,12 @@ use PHPCI\Store\Base\BuildErrorStoreBase;
*/
class BuildErrorStore extends BuildErrorStoreBase
{
/**
* Get a list of errors for a given build, since a given time.
* @param $buildId
* @param string $since date string
* @return array
*/
public function getErrorsForBuild($buildId, $since = null)
{
$query = 'SELECT * FROM build_error