This commit is contained in:
Stephen Ball 2016-02-15 09:56:52 +00:00
commit 5156d077b6
4 changed files with 26 additions and 20 deletions

View file

@ -47,7 +47,7 @@ class ConvertErrors extends AbstractMigration
$this->processPhpCpdMeta($meta);
break;
case 'technicaldebt-data':
case 'technical_debt-data':
$this->processTechnicalDebtMeta($meta);
break;
}

View file

@ -0,0 +1,6 @@
<?php
class FixTechnicalDebtData extends ConvertErrors
{
// Doesn't actually need to do anything, just run convert errors again
}

View file

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

36
composer.lock generated
View file

@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "f6333ad0763856ed7556296617a7c190",
"content-hash": "6ad9542b5f5959b67d94baf77e2fc45a",
"hash": "de65276e03e231d7072c744a3c63662e",
"content-hash": "1d9f6f487e6d906bbed73e2667c276d6",
"packages": [
{
"name": "block8/b8framework",
@ -213,16 +213,16 @@
},
{
"name": "guzzlehttp/promises",
"version": "1.0.2",
"version": "1.0.3",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "97fe7210def29451ec74923b27e552238defd75a"
"reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/97fe7210def29451ec74923b27e552238defd75a",
"reference": "97fe7210def29451ec74923b27e552238defd75a",
"url": "https://api.github.com/repos/guzzle/promises/zipball/b1e1c0d55f8083c71eda2c28c12a228d708294ea",
"reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea",
"shasum": ""
},
"require": {
@ -260,7 +260,7 @@
"keywords": [
"promise"
],
"time": "2015-08-15 19:37:21"
"time": "2015-10-15 22:28:00"
},
{
"name": "guzzlehttp/psr7",
@ -1340,16 +1340,16 @@
},
{
"name": "pdepend/pdepend",
"version": "2.2.1",
"version": "2.2.2",
"source": {
"type": "git",
"url": "https://github.com/pdepend/pdepend.git",
"reference": "a77b6bede0afdd232155eb6f1de0b2826bcf2803"
"reference": "d3ae0d084d526cdc6c3f1b858fb7148de77b41c5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pdepend/pdepend/zipball/a77b6bede0afdd232155eb6f1de0b2826bcf2803",
"reference": "a77b6bede0afdd232155eb6f1de0b2826bcf2803",
"url": "https://api.github.com/repos/pdepend/pdepend/zipball/d3ae0d084d526cdc6c3f1b858fb7148de77b41c5",
"reference": "d3ae0d084d526cdc6c3f1b858fb7148de77b41c5",
"shasum": ""
},
"require": {
@ -1359,7 +1359,7 @@
"symfony/filesystem": "^2.3.0"
},
"require-dev": {
"phpunit/phpunit": "^4.0.0",
"phpunit/phpunit": "^4.0.0,<4.8",
"squizlabs/php_codesniffer": "^2.0.0"
},
"bin": [
@ -1376,7 +1376,7 @@
"BSD-3-Clause"
],
"description": "Official version of pdepend to be handled with Composer",
"time": "2015-09-24 14:17:05"
"time": "2015-10-16 08:49:58"
},
{
"name": "phpdocumentor/reflection-docblock",
@ -1847,16 +1847,16 @@
},
{
"name": "phpunit/phpunit",
"version": "4.8.13",
"version": "4.8.14",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "be067d6105286b74272facefc2697038f8807b77"
"reference": "b4900675926860bef091644849305399b986efa2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/be067d6105286b74272facefc2697038f8807b77",
"reference": "be067d6105286b74272facefc2697038f8807b77",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b4900675926860bef091644849305399b986efa2",
"reference": "b4900675926860bef091644849305399b986efa2",
"shasum": ""
},
"require": {
@ -1915,7 +1915,7 @@
"testing",
"xunit"
],
"time": "2015-10-14 13:49:40"
"time": "2015-10-17 15:03:30"
},
{
"name": "phpunit/phpunit-mock-objects",