Restores PHPCS to quality trend chart
This commit is contained in:
parent
8c755f23b5
commit
684e463938
|
@ -181,6 +181,8 @@ PHPCI',
|
||||||
'phpcs_errors' => 'PHPCS Errors',
|
'phpcs_errors' => 'PHPCS Errors',
|
||||||
'phplint_errors' => 'Lint Errors',
|
'phplint_errors' => 'Lint Errors',
|
||||||
'phpunit_errors' => 'PHPUnit Errors',
|
'phpunit_errors' => 'PHPUnit Errors',
|
||||||
|
'phptal_errors' => 'PHPTAL Errors',
|
||||||
|
'phptal_warnings' => 'PHPTAL Warnings',
|
||||||
'phpdoccheck_warnings' => 'Missing Docblocks',
|
'phpdoccheck_warnings' => 'Missing Docblocks',
|
||||||
'issues' => 'Issues',
|
'issues' => 'Issues',
|
||||||
|
|
||||||
|
|
|
@ -171,11 +171,13 @@ PHPCI',
|
||||||
'build_log' => 'Log',
|
'build_log' => 'Log',
|
||||||
'quality_trend' => 'Tendencia de calidad',
|
'quality_trend' => 'Tendencia de calidad',
|
||||||
'codeception_errors' => 'Errores de Codeception',
|
'codeception_errors' => 'Errores de Codeception',
|
||||||
'phpmd_warnings' => 'PHPMD Warnings',
|
'phpmd_warnings' => 'Alertas de PHPMD',
|
||||||
'phpcs_warnings' => 'PHPCS Warnings',
|
'phpcs_warnings' => 'Alertas de PHPCS',
|
||||||
'phpcs_errors' => 'PHPCS Errors',
|
'phpcs_errors' => 'Errores de PHPCS',
|
||||||
'phplint_errors' => 'Lint Errors',
|
'phplint_errors' => 'Errores de Lint',
|
||||||
'phpunit_errors' => 'PHPUnit Errors',
|
'phpunit_errors' => 'Errores de PHPUnit',
|
||||||
|
'phptal_errors' => 'Errores de PHPTAL',
|
||||||
|
'phptal_warnings' => 'Alertas de PHPTAL',
|
||||||
'phpdoccheck_warnings' => 'Docblocks faltantes',
|
'phpdoccheck_warnings' => 'Docblocks faltantes',
|
||||||
'issues' => 'Incidencias',
|
'issues' => 'Incidencias',
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,8 @@ var warningsPlugin = ActiveBuild.UiPlugin.extend({
|
||||||
'phplint-errors': Lang.get('phplint_errors'),
|
'phplint-errors': Lang.get('phplint_errors'),
|
||||||
'phpunit-errors': Lang.get('phpunit_errors'),
|
'phpunit-errors': Lang.get('phpunit_errors'),
|
||||||
'phptallint-errors': Lang.get('phptal_errors'),
|
'phptallint-errors': Lang.get('phptal_errors'),
|
||||||
'phptallint-warnings': Lang.get('phptal_warnings')
|
'phptallint-warnings': Lang.get('phptal_warnings'),
|
||||||
|
'phpcs-errors': Lang.get('phpcs_errors'),
|
||||||
},
|
},
|
||||||
data: {},
|
data: {},
|
||||||
displayOnUpdate: false,
|
displayOnUpdate: false,
|
||||||
|
@ -22,7 +23,7 @@ var warningsPlugin = ActiveBuild.UiPlugin.extend({
|
||||||
queries.push(ActiveBuild.registerQuery(key, -1, {num_builds: 10, key: key}));
|
queries.push(ActiveBuild.registerQuery(key, -1, {num_builds: 10, key: key}));
|
||||||
}
|
}
|
||||||
|
|
||||||
$(window).on('codeception-errors phptallint-warnings phptallint-errors phplint-errors phpunit-errors', function(data) {
|
$(window).on('codeception-errors phptallint-warnings phptallint-errors phplint-errors phpunit-errors phpcs-errors', function(data) {
|
||||||
self.onUpdate(data);
|
self.onUpdate(data);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue