Setting allowed_warnings and allowed_errors to 0 by default, -1 in zero config mode. Fixes #377

This commit is contained in:
Dan Cryer 2014-04-30 14:18:58 +01:00
commit 8cff78cee4
3 changed files with 15 additions and 4 deletions

View file

@ -150,7 +150,9 @@ class Build extends BuildBase
foreach (array('setup', 'test', 'complete', 'success', 'failure') as $stage) {
if ($className::canExecute($stage, $builder, $this)) {
$config[$stage][$className] = array();
$config[$stage][$className] = array(
'zero_config' => true
);
}
}
}