From 40cc17c2e6652f0fe7297a215aac0a60d09a6a67 Mon Sep 17 00:00:00 2001 From: Stephen Ball Date: Thu, 15 Oct 2015 23:51:05 +0100 Subject: [PATCH] Fixes the technical debt migration --- PHPCI/Migrations/20151015124825_convert_errors.php | 2 +- PHPCI/Store/BuildMetaStore.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PHPCI/Migrations/20151015124825_convert_errors.php b/PHPCI/Migrations/20151015124825_convert_errors.php index 3622bf14..69303da0 100644 --- a/PHPCI/Migrations/20151015124825_convert_errors.php +++ b/PHPCI/Migrations/20151015124825_convert_errors.php @@ -47,7 +47,7 @@ class ConvertErrors extends AbstractMigration $this->processPhpCpdMeta($meta); break; - case 'technicaldebt-data': + case 'technical_debt-data': $this->processTechnicalDebtMeta($meta); break; } diff --git a/PHPCI/Store/BuildMetaStore.php b/PHPCI/Store/BuildMetaStore.php index f932bc11..aade45b1 100644 --- a/PHPCI/Store/BuildMetaStore.php +++ b/PHPCI/Store/BuildMetaStore.php @@ -28,7 +28,7 @@ class BuildMetaStore extends BuildMetaStoreBase public function getErrorsForUpgrade($limit) { $query = 'SELECT * FROM build_meta - WHERE meta_key IN (\'phpmd-data\', \'phpcs-data\', \'phpdoccheck-data\') + WHERE meta_key IN (\'phpmd-data\', \'phpcs-data\', \'phpdoccheck-data\', \'technical_debt-data\') ORDER BY id ASC LIMIT :limit'; $stmt = Database::getConnection('read')->prepare($query);