Jonaskeutel has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/205616

Change subject: let php storm format code, no functional changes
......................................................................

let php storm format code, no functional changes

Change-Id: I8fde55add9edfb84c5faf651baa6e59dd6f3c1f6
---
M WikidataQuality.alias.php
M WikidataQuality.php
M WikidataQualityHooks.php
M composer.json
M i18n/be.json
M i18n/bn.json
M i18n/ca.json
M i18n/ce.json
M i18n/de.json
M i18n/en-gb.json
M i18n/en.json
M i18n/es.json
M i18n/fa.json
M i18n/fr.json
M i18n/he.json
M i18n/ksh.json
M i18n/ku-latn.json
M i18n/lb.json
M i18n/lt.json
M i18n/mg.json
M i18n/mk.json
M i18n/nb.json
M i18n/ne.json
M i18n/nl.json
M i18n/oc.json
M i18n/om.json
M i18n/pam.json
M i18n/pl.json
M i18n/ps.json
M i18n/pt.json
M i18n/qqq.json
M i18n/ru.json
M i18n/si.json
M i18n/sv.json
M i18n/tl.json
M i18n/tr.json
M i18n/yi.json
M i18n/zh-hans.json
M i18n/zh-hant.json
M includes/Html/HtmlTable.php
M includes/Html/HtmlTableCell.php
M includes/Html/HtmlTableHeader.php
M includes/Result/CheckResult.php
M includes/Result/ResultToViolationTranslator.php
M includes/Violations/ViolationStore.php
M specials/SpecialCheckResultPage.php
M tests/phpunit/Html/HtmlTableCellTest.php
M tests/phpunit/Html/HtmlTableHeaderTest.php
M tests/phpunit/Html/HtmlTableTest.php
M tests/phpunit/Violations/ViolationLookupTest.php
M tests/phpunit/Violations/ViolationQueryTest.php
M tests/phpunit/Violations/ViolationStoreTest.php
M tests/phpunit/Violations/ViolationTest.php
53 files changed, 1,151 insertions(+), 1,141 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikidataQuality 
refs/changes/16/205616/1

diff --git a/WikidataQuality.alias.php b/WikidataQuality.alias.php
index e446a56..9f92737 100644
--- a/WikidataQuality.alias.php
+++ b/WikidataQuality.alias.php
@@ -7,7 +7,7 @@
  */
 // @codingStandardsIgnoreFile
 
-$specialPageAliases = array();
+$specialPageAliases = array ();
 
 /** English (English) */
-$specialPageAliases['en'] = array();
\ No newline at end of file
+$specialPageAliases[ 'en' ] = array ();
\ No newline at end of file
diff --git a/WikidataQuality.php b/WikidataQuality.php
index 4c7abe8..fc302d0 100644
--- a/WikidataQuality.php
+++ b/WikidataQuality.php
@@ -1,26 +1,26 @@
 <?php
 // Alert the user that this is not a valid access point to MediaWiki if they 
try to access the special pages file directly.
 if ( !defined( 'MEDIAWIKI' ) ) {
-    echo <<<EOT
+       echo <<<EOT
        To install my extension, put the following line in LocalSettings.php:
        require_once( "\$IP/extensions/WikidataQuality/WikidataQuality.php" );
 EOT;
-    exit( 1 );
+       exit( 1 );
 }
 
 // Enable autoload
 if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
-    require_once __DIR__ . '/vendor/autoload.php';
+       require_once __DIR__ . '/vendor/autoload.php';
 }
 
 // Set credits
-$wgExtensionCredits[ 'specialpage' ][ ] = array(
-    'path' => __FILE__,
-    'name' => 'WikidataQuality',
-    'author' => 'BP2014N1',
-    'url' => 'https://www.mediawiki.org/wiki/Extension:WikidataQuality',
-    'descriptionmsg' => 'wikidataquality-desc',
-    'version' => '0.0.0'
+$wgExtensionCredits[ 'specialpage' ][ ] = array (
+       'path' => __FILE__,
+       'name' => 'WikidataQuality',
+       'author' => 'BP2014N1',
+       'url' => 'https://www.mediawiki.org/wiki/Extension:WikidataQuality',
+       'descriptionmsg' => 'wikidataquality-desc',
+       'version' => '0.0.0'
 );
 
 // Initialize localization and aliases
@@ -35,10 +35,10 @@
 $wgHooks[ 'UnitTestsList' ][ ] = 'WikidataQualityHooks::onUnitTestsList';
 
 // Define modules
-$wgResourceModules[ 'SpecialCheckResultPage' ] = array(
-    'styles' => '/modules/SpecialCheckResultPage.css',
-    'localBasePath' => __DIR__,
-    'remoteExtPath' => 'WikidataQuality'
+$wgResourceModules[ 'SpecialCheckResultPage' ] = array (
+       'styles' => '/modules/SpecialCheckResultPage.css',
+       'localBasePath' => __DIR__,
+       'remoteExtPath' => 'WikidataQuality'
 );
 
 // Define database table names
@@ -46,4 +46,4 @@
 define( 'EVALUATION_TABLE', 'wdqa_evaluation' );
 
 // Jobs
-$wgJobClasses['checkForViolations'] = 'CheckForViolationsJob';
\ No newline at end of file
+$wgJobClasses[ 'checkForViolations' ] = 'CheckForViolationsJob';
\ No newline at end of file
diff --git a/WikidataQualityHooks.php b/WikidataQualityHooks.php
index fb512f4..98ed20d 100644
--- a/WikidataQualityHooks.php
+++ b/WikidataQualityHooks.php
@@ -10,13 +10,13 @@
        public static function onCreateSchema( DatabaseUpdater $updater ) {
                $updater->addExtensionTable( VIOLATION_TABLE, __DIR__ . 
'/sql/create_wdqa_violations.sql' );
                $updater->addExtensionTable( EVALUATION_TABLE, __DIR__ . 
'/sql/create_wdqa_evaluation.sql' );
-        return true;
+               return true;
        }
 
        public static function onUnitTestsList( &$files ) {
                $files = array_merge(
                        $files,
-                       glob( __DIR__ . '/tests/phpunit/*Test.php' ));
+                       glob( __DIR__ . '/tests/phpunit/*Test.php' ) );
                return true;
        }
 }
\ No newline at end of file
diff --git a/composer.json b/composer.json
index f6f95e2..cbedc07 100644
--- a/composer.json
+++ b/composer.json
@@ -29,6 +29,7 @@
       "WikidataQuality\\Tests\\": "tests/phpunit/"
     },
     "classmap": [
-      "WikidataQualityHooks.php"    ]
+      "WikidataQualityHooks.php"
+    ]
   }
 }
\ No newline at end of file
diff --git a/i18n/be.json b/i18n/be.json
index 2979ee2..8ff5166 100644
--- a/i18n/be.json
+++ b/i18n/be.json
@@ -1,16 +1,16 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Чаховіч Уладзіслаў"
-               ]
-       },
-       "wikidataquality-specialpages-group": "Якасць Вікідадзеных",
-       "wikidataquality-value": "Значэнне",
-       "wikidataquality-status": "Статус",
-       "wikidataquality-crosscheck-result-headline": "Вынік для",
-       "wikidataquality-crosscheck-result-item-not-existent": "Элемент не 
існуе!",
-       "wikidataquality-crosscheck-result-mismatch": "Неадпаведнасць",
-       "wikidataquality-crosscheck-result-success": "Адпаведнасць",
-       "wikidataquality-crosscheck-comparative-value": "Параўнальнае значэнне",
-       "wikidataquality-crosscheck-external-source": "Вонкавая крыніца"
+  "@metadata": {
+    "authors": [
+      "Чаховіч Уладзіслаў"
+    ]
+  },
+  "wikidataquality-specialpages-group": "Якасць Вікідадзеных",
+  "wikidataquality-value": "Значэнне",
+  "wikidataquality-status": "Статус",
+  "wikidataquality-crosscheck-result-headline": "Вынік для",
+  "wikidataquality-crosscheck-result-item-not-existent": "Элемент не існуе!",
+  "wikidataquality-crosscheck-result-mismatch": "Неадпаведнасць",
+  "wikidataquality-crosscheck-result-success": "Адпаведнасць",
+  "wikidataquality-crosscheck-comparative-value": "Параўнальнае значэнне",
+  "wikidataquality-crosscheck-external-source": "Вонкавая крыніца"
 }
diff --git a/i18n/bn.json b/i18n/bn.json
index 918f9cb..8890f12 100644
--- a/i18n/bn.json
+++ b/i18n/bn.json
@@ -1,10 +1,10 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Aftabuzzaman"
-               ]
-       },
-       "specialpages-group-wikidataquality": "উইকিউপাত্ত গুণমান",
-       "wikidataquality-checkresult-result-headline": "$1-এর ফলাফল",
-       "wikidataquality-checkresult-result-table-header-status": "অবস্থা"
+  "@metadata": {
+    "authors": [
+      "Aftabuzzaman"
+    ]
+  },
+  "specialpages-group-wikidataquality": "উইকিউপাত্ত গুণমান",
+  "wikidataquality-checkresult-result-headline": "$1-এর ফলাফল",
+  "wikidataquality-checkresult-result-table-header-status": "অবস্থা"
 }
diff --git a/i18n/ca.json b/i18n/ca.json
index b5c0659..0f73861 100644
--- a/i18n/ca.json
+++ b/i18n/ca.json
@@ -1,15 +1,15 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Fitoschido"
-               ]
-       },
-       "wikidataquality-specialpages-group": "Qualitat de Wikidata",
-       "wikidataquality-value": "Valor",
-       "wikidataquality-status": "Estat",
-       "wikidataquality-crosscheck-result-item-not-existent": "L’element no 
existeix.",
-       "wikidataquality-crosscheck-result-no-wd-entity": "No s’ha pogut trobar 
l’entitat referenciada",
-       "wikidataquality-crosscheck-result-no-ext-entity": "No s’ha pogut 
trobar l’entitat externa",
-       "wikidataquality-crosscheck-comparative-value": "Valor comparatiu",
-       "wikidataquality-crosscheck-external-source": "Font externa"
+  "@metadata": {
+    "authors": [
+      "Fitoschido"
+    ]
+  },
+  "wikidataquality-specialpages-group": "Qualitat de Wikidata",
+  "wikidataquality-value": "Valor",
+  "wikidataquality-status": "Estat",
+  "wikidataquality-crosscheck-result-item-not-existent": "L’element no 
existeix.",
+  "wikidataquality-crosscheck-result-no-wd-entity": "No s’ha pogut trobar 
l’entitat referenciada",
+  "wikidataquality-crosscheck-result-no-ext-entity": "No s’ha pogut trobar 
l’entitat externa",
+  "wikidataquality-crosscheck-comparative-value": "Valor comparatiu",
+  "wikidataquality-crosscheck-external-source": "Font externa"
 }
diff --git a/i18n/ce.json b/i18n/ce.json
index f695919..3968d39 100644
--- a/i18n/ce.json
+++ b/i18n/ce.json
@@ -1,10 +1,10 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Умар"
-               ]
-       },
-       "wikidataquality-value": "МаьӀна",
-       "wikidataquality-status": "Статус",
-       "wikidataquality-crosscheck-result-success": "Матч"
+  "@metadata": {
+    "authors": [
+      "Умар"
+    ]
+  },
+  "wikidataquality-value": "МаьӀна",
+  "wikidataquality-status": "Статус",
+  "wikidataquality-crosscheck-result-success": "Матч"
 }
diff --git a/i18n/de.json b/i18n/de.json
index 4ac58bd..72906b3 100755
--- a/i18n/de.json
+++ b/i18n/de.json
@@ -1,20 +1,20 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Metalhead64",
-                       "Inkowik"
-               ]
-       },
-       "wikidataquality-desc": "Ermöglicht die Migration und Verbesserung der 
Verwendung von Beschränkungen durch das Visualisieren von 
Beschränkungsberichten und das Kreuzprüfen von Daten mit externen Datenbanken 
zur Sicherstellung der Qualität von Wikidata.",
-       "specialpages-group-wikidataquality": "Wikidata-Qualität",
-       "wikidataquality-checkresult-form-submit-label": "Überprüfen",
-       "wikidataquality-checkresult-invalid-entity-id": "Ungültige 
Objektkennung!",
-       "wikidataquality-checkresult-not-existent-entity": "Objekt ist nicht 
vorhanden!",
-       "wikidataquality-checkresult-result-headline": "Ergebnis für $1",
-       "wikidataquality-checkresult-result-table-header-status": "Status",
-       "wikidataquality-checkresult-status-compliance": "Übereinstimmung",
-       "wikidataquality-checkresult-status-violation": "Nichtübereinstimmung",
-       "wikidataquality-checkresult-status-exception": "Ausnahme",
-       "wikidataquality-checkresult-status-references-missing": "Fehlende 
Bezüge",
-       "wikidataquality-checkresult-status-todo": "Todo"
+  "@metadata": {
+    "authors": [
+      "Metalhead64",
+      "Inkowik"
+    ]
+  },
+  "wikidataquality-desc": "Ermöglicht die Migration und Verbesserung der 
Verwendung von Beschränkungen durch das Visualisieren von 
Beschränkungsberichten und das Kreuzprüfen von Daten mit externen Datenbanken 
zur Sicherstellung der Qualität von Wikidata.",
+  "specialpages-group-wikidataquality": "Wikidata-Qualität",
+  "wikidataquality-checkresult-form-submit-label": "Überprüfen",
+  "wikidataquality-checkresult-invalid-entity-id": "Ungültige Objektkennung!",
+  "wikidataquality-checkresult-not-existent-entity": "Objekt ist nicht 
vorhanden!",
+  "wikidataquality-checkresult-result-headline": "Ergebnis für $1",
+  "wikidataquality-checkresult-result-table-header-status": "Status",
+  "wikidataquality-checkresult-status-compliance": "Übereinstimmung",
+  "wikidataquality-checkresult-status-violation": "Nichtübereinstimmung",
+  "wikidataquality-checkresult-status-exception": "Ausnahme",
+  "wikidataquality-checkresult-status-references-missing": "Fehlende Bezüge",
+  "wikidataquality-checkresult-status-todo": "Todo"
 }
diff --git a/i18n/en-gb.json b/i18n/en-gb.json
index b284d1d..5853a39 100644
--- a/i18n/en-gb.json
+++ b/i18n/en-gb.json
@@ -1,12 +1,12 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Caliburn"
-               ]
-       },
-       "wikidataquality-specialpages-group": "Wikidata quality",
-       "wikidataquality-status": "Status",
-       "wikidataquality-crosscheck-result-headline": "Result for",
-       "wikidataquality-crosscheck-result-item-not-existent": "Item does not 
exist!",
-       "wikidataquality-crosscheck-result-success": "Match"
+  "@metadata": {
+    "authors": [
+      "Caliburn"
+    ]
+  },
+  "wikidataquality-specialpages-group": "Wikidata quality",
+  "wikidataquality-status": "Status",
+  "wikidataquality-crosscheck-result-headline": "Result for",
+  "wikidataquality-crosscheck-result-item-not-existent": "Item does not 
exist!",
+  "wikidataquality-crosscheck-result-success": "Match"
 }
diff --git a/i18n/en.json b/i18n/en.json
index ce92b0b..c104b27 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -2,10 +2,8 @@
   "@metadata": {
     "authors": "BP2014N1"
   },
-
   "wikidataquality-desc": "Migrate and improve the usage of constraints by 
visualizing constraint reports and cross-check data with external databases to 
ensure the quality of Wikidata",
   "specialpages-group-wikidataquality": "Wikidata Quality",
-
   "wikidataquality-checkresult-form-entityid-placeholder": "Qxx/Pxx",
   "wikidataquality-checkresult-form-submit-label": "Check",
   "wikidataquality-checkresult-invalid-entity-id": "Invalid entity ID!",
diff --git a/i18n/es.json b/i18n/es.json
index 8ca1ffa..8d7b0a4 100644
--- a/i18n/es.json
+++ b/i18n/es.json
@@ -1,19 +1,19 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Fitoschido",
-                       "Macofe"
-               ]
-       },
-       "wikidataquality-desc": "Migrar y mejorar el uso de las limitantes 
mediante la visualización de informes de condicionantes y comprobación cruzada 
de datos en bases de datos externas para garantizar la calidad de Wikidata",
-       "specialpages-group-wikidataquality": "Calidad de Wikidata",
-       "wikidataquality-checkresult-form-submit-label": "Verificar",
-       "wikidataquality-checkresult-invalid-entity-id": "Identificador de 
entidad no válido",
-       "wikidataquality-checkresult-not-existent-entity": "La entidad no 
existe.",
-       "wikidataquality-checkresult-result-headline": "Resultado de $1",
-       "wikidataquality-checkresult-result-table-header-status": "Estado",
-       "wikidataquality-checkresult-status-violation": "Violación",
-       "wikidataquality-checkresult-status-exception": "Excepción",
-       "wikidataquality-checkresult-status-references-missing": "Faltan 
referencias",
-       "wikidataquality-checkresult-status-todo": "Pendiente"
+  "@metadata": {
+    "authors": [
+      "Fitoschido",
+      "Macofe"
+    ]
+  },
+  "wikidataquality-desc": "Migrar y mejorar el uso de las limitantes mediante 
la visualización de informes de condicionantes y comprobación cruzada de datos 
en bases de datos externas para garantizar la calidad de Wikidata",
+  "specialpages-group-wikidataquality": "Calidad de Wikidata",
+  "wikidataquality-checkresult-form-submit-label": "Verificar",
+  "wikidataquality-checkresult-invalid-entity-id": "Identificador de entidad 
no válido",
+  "wikidataquality-checkresult-not-existent-entity": "La entidad no existe.",
+  "wikidataquality-checkresult-result-headline": "Resultado de $1",
+  "wikidataquality-checkresult-result-table-header-status": "Estado",
+  "wikidataquality-checkresult-status-violation": "Violación",
+  "wikidataquality-checkresult-status-exception": "Excepción",
+  "wikidataquality-checkresult-status-references-missing": "Faltan 
referencias",
+  "wikidataquality-checkresult-status-todo": "Pendiente"
 }
diff --git a/i18n/fa.json b/i18n/fa.json
index ac475f6..874ad7f 100644
--- a/i18n/fa.json
+++ b/i18n/fa.json
@@ -1,15 +1,15 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Reza1615"
-               ]
-       },
-       "wikidataquality-desc": "مهاجرت و بهبود محدودیت‌ها با گزارش محدودیت‌ها 
به صورت دیداری به کمک بررسی دو طرفه با پایگاه‌های داده بیرونی برای اطمینان 
یافتن از کیفیت ویکی‌داده",
-       "specialpages-group-wikidataquality": "کیفیت ویکی‌داده",
-       "wikidataquality-checkresult-result-table-header-status": "وضعیت",
-       "wikidataquality-constraintreport": "محدوده گزارش",
-       "wikidataquality-crosscheck": "بررسی دوطرفه با پایگاه‌های داده دیگر",
-       "wikidataquality-crosscheck-instructions": "عنوان را وارد کنید تا با 
GND به صورت دو طرفه بررسی شود.",
-       "wikidataquality-crosscheck-instructions-example": "به عنوان مثال 
Q159099 (نینا هاگن) را وارد کنید و نتیجه را ببنید.",
-       "wikidataquality-crosscheck-result-table-header-external-source": "منبع 
بیرونی"
+  "@metadata": {
+    "authors": [
+      "Reza1615"
+    ]
+  },
+  "wikidataquality-desc": "مهاجرت و بهبود محدودیت‌ها با گزارش محدودیت‌ها به 
صورت دیداری به کمک بررسی دو طرفه با پایگاه‌های داده بیرونی برای اطمینان یافتن 
از کیفیت ویکی‌داده",
+  "specialpages-group-wikidataquality": "کیفیت ویکی‌داده",
+  "wikidataquality-checkresult-result-table-header-status": "وضعیت",
+  "wikidataquality-constraintreport": "محدوده گزارش",
+  "wikidataquality-crosscheck": "بررسی دوطرفه با پایگاه‌های داده دیگر",
+  "wikidataquality-crosscheck-instructions": "عنوان را وارد کنید تا با GND به 
صورت دو طرفه بررسی شود.",
+  "wikidataquality-crosscheck-instructions-example": "به عنوان مثال Q159099 
(نینا هاگن) را وارد کنید و نتیجه را ببنید.",
+  "wikidataquality-crosscheck-result-table-header-external-source": "منبع 
بیرونی"
 }
diff --git a/i18n/fr.json b/i18n/fr.json
index 43b5a70..8eb438f 100644
--- a/i18n/fr.json
+++ b/i18n/fr.json
@@ -1,11 +1,11 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Crochet.david"
-               ]
-       },
-       "wikidataquality-externaldbs-overview-headline": "Base de données",
-       "wikidataquality-externaldbs-name": "Nom",
-       "wikidataquality-externaldbs-size": "Taille",
-       "wikidataquality-externaldbs-license": "Licence"
+  "@metadata": {
+    "authors": [
+      "Crochet.david"
+    ]
+  },
+  "wikidataquality-externaldbs-overview-headline": "Base de données",
+  "wikidataquality-externaldbs-name": "Nom",
+  "wikidataquality-externaldbs-size": "Taille",
+  "wikidataquality-externaldbs-license": "Licence"
 }
diff --git a/i18n/he.json b/i18n/he.json
index 1ea586b..0bed6ee 100644
--- a/i18n/he.json
+++ b/i18n/he.json
@@ -1,12 +1,12 @@
 {
-       "@metadata": {
-               "authors": [
-                       "LaG roiL"
-               ]
-       },
-       "wikidataquality-checkresult-form-submit-label": "בדיקה",
-       "wikidataquality-crosscheck-result-table-header-local-value": "ערך 
ויקינתונים",
-       "wikidataquality-externaldbs-name": "שם",
-       "wikidataquality-externaldbs-size": "גודל",
-       "wikidataquality-externaldbs-license": "רישיון"
+  "@metadata": {
+    "authors": [
+      "LaG roiL"
+    ]
+  },
+  "wikidataquality-checkresult-form-submit-label": "בדיקה",
+  "wikidataquality-crosscheck-result-table-header-local-value": "ערך 
ויקינתונים",
+  "wikidataquality-externaldbs-name": "שם",
+  "wikidataquality-externaldbs-size": "גודל",
+  "wikidataquality-externaldbs-license": "רישיון"
 }
diff --git a/i18n/ksh.json b/i18n/ksh.json
index 2923aa4..1463421 100644
--- a/i18n/ksh.json
+++ b/i18n/ksh.json
@@ -1,37 +1,37 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Purodha"
-               ]
-       },
-       "wikidataquality-desc": "Övvernemmp un verbäßert Beschrängkonge, zeisch 
se en Bereeschte un övverpröhv se en främbde Dahtebangke, öm Dahte em 
Wikkidahta bäßer ze maache.",
-       "specialpages-group-wikidataquality": "Qualliteit em Wikkidahta",
-       "wikidataquality-checkresult-form-submit-label": "Lohß jonn!",
-       "wikidataquality-checkresult-result-headline": "Wat för $1 eruß kohm",
-       "wikidataquality-checkresult-result-table-header-status": "Zohschtand",
-       "wikidataquality-checkresult-status-exception": "Ußnahm",
-       "wikidataquality-checkresult-status-todo": "Noch ze donn",
-       "wikidataquality-constraintreport": "Bereesch övver Beschrängkonge",
-       "wikidataquality-constraintreport-empty-result": "mer han kein 
Beschränkong för heh di  entity",
-       "wikidataquality-constraintreport-result-table-header-claim": 
"Behouptong",
-       "wikidataquality-constraintreport-result-table-header-constraint": 
"Beschränkong",
-       "wikidataquality-constraintreport-result-link-to-claim": "Jangk nod dä 
Behouptong",
-       "wikidataquality-constraintreport-result-link-to-constraint": "jangk 
noh de Beschränkong",
-       "wikidataquality-crosscheck": "Pröhve en främbde Dahtebangke",
-       "wikidataquality-crosscheck-instructions": "Jivv en Saach ehr Kännong 
en, lohß se en dä Dahtebangk \n<i lang=\"de\" xml:lang=\"de\" dir=\"ltr\" 
title=\"Gemeinsame Normdatei = Universal Authority File\">GND</i> pröhve.",
-       "wikidataquality-crosscheck-instructions-example": "Versöhg för e 
Beijschpell Q159099 (et Nina Haren) un belohr, wad erus kütt.",
-       "wikidataquality-crosscheck-result-table-header-local-value": "Der Wääd 
em Dahtewikki",
-       "wikidataquality-crosscheck-result-table-header-external-value": "Ene 
Wääd vun ußerhallef",
-       "wikidataquality-crosscheck-result-table-header-external-source": "De 
främbde Quäll",
-       "wikidataquality-externaldbs": "En Leß met Dahtebangke ußerhallef",
-       "wikidataquality-externaldbs-overview-headline": "Datebanke",
-       "wikidataquality-externaldbs-name": "Nahme",
-       "wikidataquality-externaldbs-import-date": "Et Dattom vum Empotehre",
-       "wikidataquality-externaldbs-language": "De Schprohch vun de Date",
-       "wikidataquality-externaldbs-source-urls": "De Kwälle iehr <i 
lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource 
Locators\">URLs</i>",
-       "wikidataquality-externaldbs-size": "Ömfang",
-       "wikidataquality-externaldbs-license": "Lėzänz",
-       "wikidataquality-externaldbs-no-databases": "Et sinn_er kein 
Dahtebangke ußerhallef doh, för jät jahjezepröhve.",
-       "apihelp-wdqacrosscheck-description": "En <i lang=\"en\" 
xml:lang=\"en\" dir=\"ltr\" title=\"Application Programming 
Interface\">API</i>-Moduhl för  entities en de Wikibase jähje daht vun 
ußerhallfe ze pröhve.",
-       "apihelp-wdqacrosscheck-param-claims": "Kännonge vun Behouptonge zom 
Övverpröhfe. Required unless entities are provided."
+  "@metadata": {
+    "authors": [
+      "Purodha"
+    ]
+  },
+  "wikidataquality-desc": "Övvernemmp un verbäßert Beschrängkonge, zeisch se 
en Bereeschte un övverpröhv se en främbde Dahtebangke, öm Dahte em Wikkidahta 
bäßer ze maache.",
+  "specialpages-group-wikidataquality": "Qualliteit em Wikkidahta",
+  "wikidataquality-checkresult-form-submit-label": "Lohß jonn!",
+  "wikidataquality-checkresult-result-headline": "Wat för $1 eruß kohm",
+  "wikidataquality-checkresult-result-table-header-status": "Zohschtand",
+  "wikidataquality-checkresult-status-exception": "Ußnahm",
+  "wikidataquality-checkresult-status-todo": "Noch ze donn",
+  "wikidataquality-constraintreport": "Bereesch övver Beschrängkonge",
+  "wikidataquality-constraintreport-empty-result": "mer han kein Beschränkong 
för heh di  entity",
+  "wikidataquality-constraintreport-result-table-header-claim": "Behouptong",
+  "wikidataquality-constraintreport-result-table-header-constraint": 
"Beschränkong",
+  "wikidataquality-constraintreport-result-link-to-claim": "Jangk nod dä 
Behouptong",
+  "wikidataquality-constraintreport-result-link-to-constraint": "jangk noh de 
Beschränkong",
+  "wikidataquality-crosscheck": "Pröhve en främbde Dahtebangke",
+  "wikidataquality-crosscheck-instructions": "Jivv en Saach ehr Kännong en, 
lohß se en dä Dahtebangk \n<i lang=\"de\" xml:lang=\"de\" dir=\"ltr\" 
title=\"Gemeinsame Normdatei = Universal Authority File\">GND</i> pröhve.",
+  "wikidataquality-crosscheck-instructions-example": "Versöhg för e 
Beijschpell Q159099 (et Nina Haren) un belohr, wad erus kütt.",
+  "wikidataquality-crosscheck-result-table-header-local-value": "Der Wääd em 
Dahtewikki",
+  "wikidataquality-crosscheck-result-table-header-external-value": "Ene Wääd 
vun ußerhallef",
+  "wikidataquality-crosscheck-result-table-header-external-source": "De 
främbde Quäll",
+  "wikidataquality-externaldbs": "En Leß met Dahtebangke ußerhallef",
+  "wikidataquality-externaldbs-overview-headline": "Datebanke",
+  "wikidataquality-externaldbs-name": "Nahme",
+  "wikidataquality-externaldbs-import-date": "Et Dattom vum Empotehre",
+  "wikidataquality-externaldbs-language": "De Schprohch vun de Date",
+  "wikidataquality-externaldbs-source-urls": "De Kwälle iehr <i lang=\"en\" 
xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locators\">URLs</i>",
+  "wikidataquality-externaldbs-size": "Ömfang",
+  "wikidataquality-externaldbs-license": "Lėzänz",
+  "wikidataquality-externaldbs-no-databases": "Et sinn_er kein Dahtebangke 
ußerhallef doh, för jät jahjezepröhve.",
+  "apihelp-wdqacrosscheck-description": "En <i lang=\"en\" xml:lang=\"en\" 
dir=\"ltr\" title=\"Application Programming Interface\">API</i>-Moduhl för  
entities en de Wikibase jähje daht vun ußerhallfe ze pröhve.",
+  "apihelp-wdqacrosscheck-param-claims": "Kännonge vun Behouptonge zom 
Övverpröhfe. Required unless entities are provided."
 }
diff --git a/i18n/ku-latn.json b/i18n/ku-latn.json
index 5045a3b..3765778 100644
--- a/i18n/ku-latn.json
+++ b/i18n/ku-latn.json
@@ -1,8 +1,8 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Bikarhêner"
-               ]
-       },
-       "wikidataquality-status": "Rewş"
+  "@metadata": {
+    "authors": [
+      "Bikarhêner"
+    ]
+  },
+  "wikidataquality-status": "Rewş"
 }
diff --git a/i18n/lb.json b/i18n/lb.json
index 4c724e0..64e98fb 100644
--- a/i18n/lb.json
+++ b/i18n/lb.json
@@ -1,15 +1,15 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Robby"
-               ]
-       },
-       "specialpages-group-wikidataquality": "Wikidata-Qualitéit",
-       "wikidataquality-checkresult-form-submit-label": "Kontrolléieren",
-       "wikidataquality-checkresult-not-existent-entity": "Objet gëtt et net!",
-       "wikidataquality-checkresult-result-headline": "Resultat fir $1",
-       "wikidataquality-checkresult-result-table-header-status": "Status",
-       "wikidataquality-checkresult-status-violation": "Violatioun",
-       "wikidataquality-checkresult-status-exception": "Ausnahm",
-       "wikidataquality-checkresult-status-references-missing": "Referenzen 
déi feelen"
+  "@metadata": {
+    "authors": [
+      "Robby"
+    ]
+  },
+  "specialpages-group-wikidataquality": "Wikidata-Qualitéit",
+  "wikidataquality-checkresult-form-submit-label": "Kontrolléieren",
+  "wikidataquality-checkresult-not-existent-entity": "Objet gëtt et net!",
+  "wikidataquality-checkresult-result-headline": "Resultat fir $1",
+  "wikidataquality-checkresult-result-table-header-status": "Status",
+  "wikidataquality-checkresult-status-violation": "Violatioun",
+  "wikidataquality-checkresult-status-exception": "Ausnahm",
+  "wikidataquality-checkresult-status-references-missing": "Referenzen déi 
feelen"
 }
diff --git a/i18n/lt.json b/i18n/lt.json
index 38fe4b9..0bbe9ba 100644
--- a/i18n/lt.json
+++ b/i18n/lt.json
@@ -1,13 +1,13 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Pofka"
-               ]
-       },
-       "wikidataquality-value": "Reikšmė",
-       "wikidataquality-status": "Būsena",
-       "wikidataquality-crosscheck-result-headline": "Rezultatai",
-       "wikidataquality-crosscheck-result-item-not-existent": "Elementas 
neegzistuoja!",
-       "wikidataquality-crosscheck-result-success": "Sutapimas",
-       "wikidataquality-crosscheck-external-source": "Išorinis šaltinis"
+  "@metadata": {
+    "authors": [
+      "Pofka"
+    ]
+  },
+  "wikidataquality-value": "Reikšmė",
+  "wikidataquality-status": "Būsena",
+  "wikidataquality-crosscheck-result-headline": "Rezultatai",
+  "wikidataquality-crosscheck-result-item-not-existent": "Elementas 
neegzistuoja!",
+  "wikidataquality-crosscheck-result-success": "Sutapimas",
+  "wikidataquality-crosscheck-external-source": "Išorinis šaltinis"
 }
diff --git a/i18n/mg.json b/i18n/mg.json
index 99e5ff7..149b1c6 100644
--- a/i18n/mg.json
+++ b/i18n/mg.json
@@ -1,18 +1,18 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Jagwar"
-               ]
-       },
-       "specialpages-group-wikidataquality": "Kalitao Wikidata",
-       "wikidataquality-checkresult-form-submit-label": "Marihana",
-       "wikidataquality-checkresult-invalid-entity-id": "IDn-javatra tsy 
manan-kery!",
-       "wikidataquality-checkresult-not-existent-entity": "Tsy misy ilay 
zavatra!",
-       "wikidataquality-checkresult-result-headline": "Valiny ho an'i $1",
-       "wikidataquality-checkresult-result-table-header-status": "Sata",
-       "wikidataquality-checkresult-status-compliance": "Fanajam-penitra",
-       "wikidataquality-checkresult-status-violation": "Fanolanana",
-       "wikidataquality-checkresult-status-exception": "Fiavahana",
-       "wikidataquality-checkresult-status-references-missing": "Tsiahy tsy 
ampy",
-       "wikidataquality-checkresult-status-todo": "Zava-katao"
+  "@metadata": {
+    "authors": [
+      "Jagwar"
+    ]
+  },
+  "specialpages-group-wikidataquality": "Kalitao Wikidata",
+  "wikidataquality-checkresult-form-submit-label": "Marihana",
+  "wikidataquality-checkresult-invalid-entity-id": "IDn-javatra tsy 
manan-kery!",
+  "wikidataquality-checkresult-not-existent-entity": "Tsy misy ilay zavatra!",
+  "wikidataquality-checkresult-result-headline": "Valiny ho an'i $1",
+  "wikidataquality-checkresult-result-table-header-status": "Sata",
+  "wikidataquality-checkresult-status-compliance": "Fanajam-penitra",
+  "wikidataquality-checkresult-status-violation": "Fanolanana",
+  "wikidataquality-checkresult-status-exception": "Fiavahana",
+  "wikidataquality-checkresult-status-references-missing": "Tsiahy tsy ampy",
+  "wikidataquality-checkresult-status-todo": "Zava-katao"
 }
diff --git a/i18n/mk.json b/i18n/mk.json
index 3efb7ea..25eebfb 100644
--- a/i18n/mk.json
+++ b/i18n/mk.json
@@ -1,53 +1,53 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Bjankuloski06"
-               ]
-       },
-       "wikidataquality-desc": "Селење и подобрување на употребата на услови 
преку ликовно претставување на извештаите за условите и сопоставување на 
податоците со надворешни бази за проверка на квалитетот на Википодатоците",
-       "specialpages-group-wikidataquality": "Квалитет на Википодатоците",
-       "wikidataquality-checkresult-form-submit-label": "Провери",
-       "wikidataquality-checkresult-invalid-entity-id": "Неважечка назнака за 
единица!",
-       "wikidataquality-checkresult-not-existent-entity": "Единицата не 
постои!",
-       "wikidataquality-checkresult-result-headline": "Резултат за $1",
-       "wikidataquality-checkresult-result-table-header-status": "Статус",
-       "wikidataquality-checkresult-status-compliance": "Складност",
-       "wikidataquality-checkresult-status-violation": "Нескладност",
-       "wikidataquality-checkresult-status-exception": "Исклучок",
-       "wikidataquality-checkresult-status-references-missing": "Отсутни 
наводи",
-       "wikidataquality-checkresult-status-todo": "Недовршени",
-       "wikidataquality-constraintreport": "Извештај за услови",
-       "wikidataquality-constraintreport-instructions": "Внесете назнака на 
единицата за да бидат проверени согласно условите.",
-       "wikidataquality-constraintreport-instructions-example": "Пробајте било 
која назнака, по можност на предмет, и погледајте ги резултатите.",
-       "wikidataquality-constraintreport-empty-result": "Нема зададено услови 
за единицава.",
-       "wikidataquality-constraintreport-result-table-header-claim": "Тврдење",
-       "wikidataquality-constraintreport-result-table-header-constraint": 
"Услов",
-       "wikidataquality-constraintreport-result-link-to-claim": "оди на 
тврдењето",
-       "wikidataquality-constraintreport-result-link-to-constraint": "оди на 
условот",
-       "wikidataquality-crosscheck": "Сопостави со надворешни бази",
-       "wikidataquality-crosscheck-instructions": "Внесете ја назнаката на 
единицата и накрсно проверете ја според GND.",
-       "wikidataquality-crosscheck-instructions-example": "Пробајте, на 
пример, со Q159099 (Нина Хаген) и погледајте ги резултатите.",
-       "wikidataquality-crosscheck-empty-result": "Внесената единица нема 
тврдења што може да се проверат со поддржана база.",
-       "wikidataquality-crosscheck-result-table-header-local-value": "Вредност 
на Википодатоците",
-       "wikidataquality-crosscheck-result-table-header-external-value": 
"Надворешна вредност",
-       "wikidataquality-crosscheck-result-table-header-external-source": 
"Надворешен извор",
-       "wikidataquality-externaldbs": "Список на надворешни бази",
-       "wikidataquality-externaldbs-instructions": "Подолу се наведени сите 
бази што се поддржани за проверка согласно единици на Википодатоците.",
-       "wikidataquality-externaldbs-overview-headline": "Бази",
-       "wikidataquality-externaldbs-name": "Назив",
-       "wikidataquality-externaldbs-import-date": "Увези датум",
-       "wikidataquality-externaldbs-language": "Јазик на податоците",
-       "wikidataquality-externaldbs-source-urls": "Изворна URL",
-       "wikidataquality-externaldbs-size": "Големина",
-       "wikidataquality-externaldbs-license": "Лиценца",
-       "wikidataquality-externaldbs-no-databases": "Нема надворешни бази 
расположиви за проверка.",
-       "apihelp-wdqacrosscheck-description": "Извршнички модул за проверка на 
Базата согласно надворешни податоци.",
-       "apihelp-wdqacrosscheck-param-entities": "Назнаки на предмети што треба 
да се проверат. Задолжително доколку не се укажат тврдења.",
-       "apihelp-wdqacrosscheck-param-properties": "Филтер (по желба) за 
проверка само на искази со укажано својство. Работи само ако се наведат 
единици.",
-       "apihelp-wdqacrosscheck-param-claims": "Назнаки на предмети што треба 
да се проверат. Задолжително, освен ако не се укажат единици.",
-       "apihelp-wdqacrosscheck-examples-1": "Изврши проверка на сите искази на 
предметот со назнака Q76.",
-       "apihelp-wdqacrosscheck-examples-2": "Изврши проверка на сите искази на 
предметот со назнака Q76 и предметот со назнака Q567.",
-       "apihelp-wdqacrosscheck-examples-3": "Изврши проверка на сите искази на 
предметот со назнака Q76 и предметот со назнака Q567, што користи својство со 
назнака P19.",
-       "apihelp-wdqacrosscheck-examples-4": "Изврши проверка на сите искази на 
предметот со назнака Q76 и предметот со назнака Q567, што користи својство со 
назнака P19 или P31.",
-       "apihelp-wdqacrosscheck-examples-5": "Изврши проверка на сите искази на 
тврдењето со GUID  Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F."
+  "@metadata": {
+    "authors": [
+      "Bjankuloski06"
+    ]
+  },
+  "wikidataquality-desc": "Селење и подобрување на употребата на услови преку 
ликовно претставување на извештаите за условите и сопоставување на податоците 
со надворешни бази за проверка на квалитетот на Википодатоците",
+  "specialpages-group-wikidataquality": "Квалитет на Википодатоците",
+  "wikidataquality-checkresult-form-submit-label": "Провери",
+  "wikidataquality-checkresult-invalid-entity-id": "Неважечка назнака за 
единица!",
+  "wikidataquality-checkresult-not-existent-entity": "Единицата не постои!",
+  "wikidataquality-checkresult-result-headline": "Резултат за $1",
+  "wikidataquality-checkresult-result-table-header-status": "Статус",
+  "wikidataquality-checkresult-status-compliance": "Складност",
+  "wikidataquality-checkresult-status-violation": "Нескладност",
+  "wikidataquality-checkresult-status-exception": "Исклучок",
+  "wikidataquality-checkresult-status-references-missing": "Отсутни наводи",
+  "wikidataquality-checkresult-status-todo": "Недовршени",
+  "wikidataquality-constraintreport": "Извештај за услови",
+  "wikidataquality-constraintreport-instructions": "Внесете назнака на 
единицата за да бидат проверени согласно условите.",
+  "wikidataquality-constraintreport-instructions-example": "Пробајте било која 
назнака, по можност на предмет, и погледајте ги резултатите.",
+  "wikidataquality-constraintreport-empty-result": "Нема зададено услови за 
единицава.",
+  "wikidataquality-constraintreport-result-table-header-claim": "Тврдење",
+  "wikidataquality-constraintreport-result-table-header-constraint": "Услов",
+  "wikidataquality-constraintreport-result-link-to-claim": "оди на тврдењето",
+  "wikidataquality-constraintreport-result-link-to-constraint": "оди на 
условот",
+  "wikidataquality-crosscheck": "Сопостави со надворешни бази",
+  "wikidataquality-crosscheck-instructions": "Внесете ја назнаката на 
единицата и накрсно проверете ја според GND.",
+  "wikidataquality-crosscheck-instructions-example": "Пробајте, на пример, со 
Q159099 (Нина Хаген) и погледајте ги резултатите.",
+  "wikidataquality-crosscheck-empty-result": "Внесената единица нема тврдења 
што може да се проверат со поддржана база.",
+  "wikidataquality-crosscheck-result-table-header-local-value": "Вредност на 
Википодатоците",
+  "wikidataquality-crosscheck-result-table-header-external-value": "Надворешна 
вредност",
+  "wikidataquality-crosscheck-result-table-header-external-source": 
"Надворешен извор",
+  "wikidataquality-externaldbs": "Список на надворешни бази",
+  "wikidataquality-externaldbs-instructions": "Подолу се наведени сите бази 
што се поддржани за проверка согласно единици на Википодатоците.",
+  "wikidataquality-externaldbs-overview-headline": "Бази",
+  "wikidataquality-externaldbs-name": "Назив",
+  "wikidataquality-externaldbs-import-date": "Увези датум",
+  "wikidataquality-externaldbs-language": "Јазик на податоците",
+  "wikidataquality-externaldbs-source-urls": "Изворна URL",
+  "wikidataquality-externaldbs-size": "Големина",
+  "wikidataquality-externaldbs-license": "Лиценца",
+  "wikidataquality-externaldbs-no-databases": "Нема надворешни бази 
расположиви за проверка.",
+  "apihelp-wdqacrosscheck-description": "Извршнички модул за проверка на 
Базата согласно надворешни податоци.",
+  "apihelp-wdqacrosscheck-param-entities": "Назнаки на предмети што треба да 
се проверат. Задолжително доколку не се укажат тврдења.",
+  "apihelp-wdqacrosscheck-param-properties": "Филтер (по желба) за проверка 
само на искази со укажано својство. Работи само ако се наведат единици.",
+  "apihelp-wdqacrosscheck-param-claims": "Назнаки на предмети што треба да се 
проверат. Задолжително, освен ако не се укажат единици.",
+  "apihelp-wdqacrosscheck-examples-1": "Изврши проверка на сите искази на 
предметот со назнака Q76.",
+  "apihelp-wdqacrosscheck-examples-2": "Изврши проверка на сите искази на 
предметот со назнака Q76 и предметот со назнака Q567.",
+  "apihelp-wdqacrosscheck-examples-3": "Изврши проверка на сите искази на 
предметот со назнака Q76 и предметот со назнака Q567, што користи својство со 
назнака P19.",
+  "apihelp-wdqacrosscheck-examples-4": "Изврши проверка на сите искази на 
предметот со назнака Q76 и предметот со назнака Q567, што користи својство со 
назнака P19 или P31.",
+  "apihelp-wdqacrosscheck-examples-5": "Изврши проверка на сите искази на 
тврдењето со GUID  Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F."
 }
diff --git a/i18n/nb.json b/i18n/nb.json
index 76cd542..7594b64 100644
--- a/i18n/nb.json
+++ b/i18n/nb.json
@@ -1,17 +1,17 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Kingu"
-               ]
-       },
-       "specialpages-group-wikidataquality": "Wikidata-kvalitet",
-       "wikidataquality-checkresult-result-headline": "Resultat av $1",
-       "wikidataquality-checkresult-status-violation": "Brudd",
-       "wikidataquality-checkresult-status-exception": "Unntak",
-       "wikidataquality-constraintreport-result-table-header-claim": "Krav",
-       "wikidataquality-crosscheck-result-table-header-external-value": 
"Ekstern verdi",
-       "wikidataquality-externaldbs-overview-headline": "Databaser",
-       "wikidataquality-externaldbs-size": "Størrelse",
-       "wikidataquality-externaldbs-license": "Lisens",
-       "wikidataquality-externaldbs-no-databases": "Ingen eksterne databaser 
tilgjengelig for jamførsel"
+  "@metadata": {
+    "authors": [
+      "Kingu"
+    ]
+  },
+  "specialpages-group-wikidataquality": "Wikidata-kvalitet",
+  "wikidataquality-checkresult-result-headline": "Resultat av $1",
+  "wikidataquality-checkresult-status-violation": "Brudd",
+  "wikidataquality-checkresult-status-exception": "Unntak",
+  "wikidataquality-constraintreport-result-table-header-claim": "Krav",
+  "wikidataquality-crosscheck-result-table-header-external-value": "Ekstern 
verdi",
+  "wikidataquality-externaldbs-overview-headline": "Databaser",
+  "wikidataquality-externaldbs-size": "Størrelse",
+  "wikidataquality-externaldbs-license": "Lisens",
+  "wikidataquality-externaldbs-no-databases": "Ingen eksterne databaser 
tilgjengelig for jamførsel"
 }
diff --git a/i18n/ne.json b/i18n/ne.json
index 7cdf661..3e77a1f 100644
--- a/i18n/ne.json
+++ b/i18n/ne.json
@@ -1,13 +1,13 @@
 {
-       "@metadata": {
-               "authors": [
-                       "सरोज कुमार ढकाल",
-                       "बिप्लब आनन्द"
-               ]
-       },
-       "specialpages-group-wikidataquality": "विकिडेटा गुणस्तर",
-       "wikidataquality-checkresult-result-table-header-status": "स्थिति",
-       "wikidataquality-constraintreport": "अनुमानप्रकार विवरण",
-       "wikidataquality-crosscheck": "वाह्य डेटाबेससँग तेर्सो जाँच",
-       "wikidataquality-crosscheck-result-table-header-external-source": 
"बाह्य श्रोत"
+  "@metadata": {
+    "authors": [
+      "सरोज कुमार ढकाल",
+      "बिप्लब आनन्द"
+    ]
+  },
+  "specialpages-group-wikidataquality": "विकिडेटा गुणस्तर",
+  "wikidataquality-checkresult-result-table-header-status": "स्थिति",
+  "wikidataquality-constraintreport": "अनुमानप्रकार विवरण",
+  "wikidataquality-crosscheck": "वाह्य डेटाबेससँग तेर्सो जाँच",
+  "wikidataquality-crosscheck-result-table-header-external-source": "बाह्य 
श्रोत"
 }
diff --git a/i18n/nl.json b/i18n/nl.json
index 0a05e22..8d4c94d 100644
--- a/i18n/nl.json
+++ b/i18n/nl.json
@@ -1,11 +1,11 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Sjoerddebruin"
-               ]
-       },
-       "specialpages-group-wikidataquality": "Wikidata-kwaliteit",
-       "wikidataquality-checkresult-form-submit-label": "Controleer",
-       "wikidataquality-checkresult-result-table-header-status": "Status",
-       "wikidataquality-checkresult-status-todo": "Nog te doen"
+  "@metadata": {
+    "authors": [
+      "Sjoerddebruin"
+    ]
+  },
+  "specialpages-group-wikidataquality": "Wikidata-kwaliteit",
+  "wikidataquality-checkresult-form-submit-label": "Controleer",
+  "wikidataquality-checkresult-result-table-header-status": "Status",
+  "wikidataquality-checkresult-status-todo": "Nog te doen"
 }
diff --git a/i18n/oc.json b/i18n/oc.json
index e51c55c..f3be8b4 100644
--- a/i18n/oc.json
+++ b/i18n/oc.json
@@ -1,10 +1,10 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Cedric31"
-               ]
-       },
-       "wikidataquality-specialpages-group": "Qualitat de Wikidata",
-       "wikidataquality-value": "Valor",
-       "wikidataquality-status": "Estatut"
+  "@metadata": {
+    "authors": [
+      "Cedric31"
+    ]
+  },
+  "wikidataquality-specialpages-group": "Qualitat de Wikidata",
+  "wikidataquality-value": "Valor",
+  "wikidataquality-status": "Estatut"
 }
diff --git a/i18n/om.json b/i18n/om.json
index 6231e17..046eec9 100644
--- a/i18n/om.json
+++ b/i18n/om.json
@@ -1,8 +1,8 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Tumsaa"
-               ]
-       },
-       "wikidataquality-crosscheck-external-source": "Madda alaa"
+  "@metadata": {
+    "authors": [
+      "Tumsaa"
+    ]
+  },
+  "wikidataquality-crosscheck-external-source": "Madda alaa"
 }
diff --git a/i18n/pam.json b/i18n/pam.json
index de4d03c..9e99a16 100644
--- a/i18n/pam.json
+++ b/i18n/pam.json
@@ -1,11 +1,11 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Leeheonjin"
-               ]
-       },
-       "wikidataquality-specialpages-group": "Kalidad ning Wikidata",
-       "wikidataquality-value": "Alaga",
-       "wikidataquality-status": "Estadu",
-       "wikidataquality-crosscheck-result-headline": "Ing resulta para king"
+  "@metadata": {
+    "authors": [
+      "Leeheonjin"
+    ]
+  },
+  "wikidataquality-specialpages-group": "Kalidad ning Wikidata",
+  "wikidataquality-value": "Alaga",
+  "wikidataquality-status": "Estadu",
+  "wikidataquality-crosscheck-result-headline": "Ing resulta para king"
 }
diff --git a/i18n/pl.json b/i18n/pl.json
index 1d2f49c..a7e243e 100644
--- a/i18n/pl.json
+++ b/i18n/pl.json
@@ -1,18 +1,18 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Chrumps"
-               ]
-       },
-       "specialpages-group-wikidataquality": "Jakość Wikidanych",
-       "wikidataquality-checkresult-result-table-header-status": "Status",
-       "wikidataquality-crosscheck": "Krzyżowa kontrola za pomocą zewnętrznych 
baz danych",
-       "wikidataquality-crosscheck-instructions-example": "Spróbuj na przykład 
Q159099 (Nina Hagen) i spójrz na wyniki.",
-       "wikidataquality-crosscheck-result-table-header-external-source": 
"Źródło zewnętrzne",
-       "wikidataquality-externaldbs-overview-headline": "Bazy danych",
-       "wikidataquality-externaldbs-name": "Nazwa",
-       "wikidataquality-externaldbs-import-date": "Data importu",
-       "wikidataquality-externaldbs-source-urls": "Źródłowe adresy URL",
-       "wikidataquality-externaldbs-size": "Rozmiar",
-       "wikidataquality-externaldbs-license": "Licencja"
+  "@metadata": {
+    "authors": [
+      "Chrumps"
+    ]
+  },
+  "specialpages-group-wikidataquality": "Jakość Wikidanych",
+  "wikidataquality-checkresult-result-table-header-status": "Status",
+  "wikidataquality-crosscheck": "Krzyżowa kontrola za pomocą zewnętrznych baz 
danych",
+  "wikidataquality-crosscheck-instructions-example": "Spróbuj na przykład 
Q159099 (Nina Hagen) i spójrz na wyniki.",
+  "wikidataquality-crosscheck-result-table-header-external-source": "Źródło 
zewnętrzne",
+  "wikidataquality-externaldbs-overview-headline": "Bazy danych",
+  "wikidataquality-externaldbs-name": "Nazwa",
+  "wikidataquality-externaldbs-import-date": "Data importu",
+  "wikidataquality-externaldbs-source-urls": "Źródłowe adresy URL",
+  "wikidataquality-externaldbs-size": "Rozmiar",
+  "wikidataquality-externaldbs-license": "Licencja"
 }
diff --git a/i18n/ps.json b/i18n/ps.json
index 99f003c..89799e4 100644
--- a/i18n/ps.json
+++ b/i18n/ps.json
@@ -1,18 +1,18 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Ahmed-Najib-Biabani-Ibrahimkhel"
-               ]
-       },
-       "specialpages-group-wikidataquality": "د ويکيډاټا کيفيت",
-       "wikidataquality-checkresult-result-table-header-status": "دريځ",
-       "wikidataquality-crosscheck-result-table-header-local-value": "ويکيډاټا 
ارزښت",
-       "wikidataquality-crosscheck-result-table-header-external-value": 
"باندنی ارزښت",
-       "wikidataquality-crosscheck-result-table-header-external-source": 
"باندنۍ سرچينه",
-       "wikidataquality-externaldbs-overview-headline": "توکبنسټونه",
-       "wikidataquality-externaldbs-name": "نوم",
-       "wikidataquality-externaldbs-language": "د اومتوک ژبه",
-       "wikidataquality-externaldbs-source-urls": "د URL سرچينه:",
-       "wikidataquality-externaldbs-size": "کچه",
-       "wikidataquality-externaldbs-license": "منښتليک"
+  "@metadata": {
+    "authors": [
+      "Ahmed-Najib-Biabani-Ibrahimkhel"
+    ]
+  },
+  "specialpages-group-wikidataquality": "د ويکيډاټا کيفيت",
+  "wikidataquality-checkresult-result-table-header-status": "دريځ",
+  "wikidataquality-crosscheck-result-table-header-local-value": "ويکيډاټا 
ارزښت",
+  "wikidataquality-crosscheck-result-table-header-external-value": "باندنی 
ارزښت",
+  "wikidataquality-crosscheck-result-table-header-external-source": "باندنۍ 
سرچينه",
+  "wikidataquality-externaldbs-overview-headline": "توکبنسټونه",
+  "wikidataquality-externaldbs-name": "نوم",
+  "wikidataquality-externaldbs-language": "د اومتوک ژبه",
+  "wikidataquality-externaldbs-source-urls": "د URL سرچينه:",
+  "wikidataquality-externaldbs-size": "کچه",
+  "wikidataquality-externaldbs-license": "منښتليک"
 }
diff --git a/i18n/pt.json b/i18n/pt.json
index ae3d08f..a71de28 100644
--- a/i18n/pt.json
+++ b/i18n/pt.json
@@ -1,14 +1,14 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Vitorvicentevalente"
-               ]
-       },
-       "wikidataquality-checkresult-form-submit-label": "Verificar",
-       "wikidataquality-crosscheck-result-table-header-local-value": "Valores 
do Wikidata",
-       "wikidataquality-crosscheck-result-table-header-external-value": "Valor 
externo",
-       "wikidataquality-crosscheck-result-table-header-external-source": 
"Fonte externa",
-       "wikidataquality-externaldbs-overview-headline": "Bases de dados",
-       "wikidataquality-externaldbs-size": "Tamanho",
-       "wikidataquality-externaldbs-license": "Licença"
+  "@metadata": {
+    "authors": [
+      "Vitorvicentevalente"
+    ]
+  },
+  "wikidataquality-checkresult-form-submit-label": "Verificar",
+  "wikidataquality-crosscheck-result-table-header-local-value": "Valores do 
Wikidata",
+  "wikidataquality-crosscheck-result-table-header-external-value": "Valor 
externo",
+  "wikidataquality-crosscheck-result-table-header-external-source": "Fonte 
externa",
+  "wikidataquality-externaldbs-overview-headline": "Bases de dados",
+  "wikidataquality-externaldbs-size": "Tamanho",
+  "wikidataquality-externaldbs-license": "Licença"
 }
diff --git a/i18n/qqq.json b/i18n/qqq.json
index f228162..361231d 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -1,23 +1,23 @@
 {
-       "@metadata": {
-               "authors": [
-                       "BP2014N1",
-                       "Raymond",
-                       "Liuxinyu970226",
-                       "Robby"
-               ]
-       },
-       "wikidataquality-desc": "{{desc|name=Wikidata 
Quality|url=https://www.mediawiki.org/wiki/Extension:WikidataQuality}}";,
-       "specialpages-group-wikidataquality": "{{doc-special-group|that=are 
related to the WikidataQuality extension}}",
-       "wikidataquality-checkresult-form-entityid-placeholder": "Entity id 
placeholder for the input field.",
-       "wikidataquality-checkresult-form-submit-label": "Label of the button, 
that starts the check.\n{{Identical|Check}}",
-       "wikidataquality-checkresult-invalid-entity-id": "Error message that 
appears when the entered string is not a valid entity id.",
-       "wikidataquality-checkresult-not-existent-entity": "Error message that 
appears when the entered entity does not exist.",
-       "wikidataquality-checkresult-result-headline": "Headline that appears 
above the results. Has one parameter, that is the label of the entity, that was 
checked.",
-       "wikidataquality-checkresult-result-table-header-status": "Header of 
the column that shows the result of the constraint 
check.\n{{Identical|Status}}",
-       "wikidataquality-checkresult-status-compliance": "Status for claims 
that comply with the check.",
-       "wikidataquality-checkresult-status-violation": "Status claims that are 
violated in any way.",
-       "wikidataquality-checkresult-status-exception": "Status claims that are 
violated, but marked as an exception.\n{{Identical|Exception}}",
-       "wikidataquality-checkresult-status-references-missing": "Status for 
claims for which references are missing.",
-       "wikidataquality-checkresult-status-todo": "Status for claims which 
cannot be checked yet due to a missing implementation."
+  "@metadata": {
+    "authors": [
+      "BP2014N1",
+      "Raymond",
+      "Liuxinyu970226",
+      "Robby"
+    ]
+  },
+  "wikidataquality-desc": "{{desc|name=Wikidata 
Quality|url=https://www.mediawiki.org/wiki/Extension:WikidataQuality}}";,
+  "specialpages-group-wikidataquality": "{{doc-special-group|that=are related 
to the WikidataQuality extension}}",
+  "wikidataquality-checkresult-form-entityid-placeholder": "Entity id 
placeholder for the input field.",
+  "wikidataquality-checkresult-form-submit-label": "Label of the button, that 
starts the check.\n{{Identical|Check}}",
+  "wikidataquality-checkresult-invalid-entity-id": "Error message that appears 
when the entered string is not a valid entity id.",
+  "wikidataquality-checkresult-not-existent-entity": "Error message that 
appears when the entered entity does not exist.",
+  "wikidataquality-checkresult-result-headline": "Headline that appears above 
the results. Has one parameter, that is the label of the entity, that was 
checked.",
+  "wikidataquality-checkresult-result-table-header-status": "Header of the 
column that shows the result of the constraint check.\n{{Identical|Status}}",
+  "wikidataquality-checkresult-status-compliance": "Status for claims that 
comply with the check.",
+  "wikidataquality-checkresult-status-violation": "Status claims that are 
violated in any way.",
+  "wikidataquality-checkresult-status-exception": "Status claims that are 
violated, but marked as an exception.\n{{Identical|Exception}}",
+  "wikidataquality-checkresult-status-references-missing": "Status for claims 
for which references are missing.",
+  "wikidataquality-checkresult-status-todo": "Status for claims which cannot 
be checked yet due to a missing implementation."
 }
diff --git a/i18n/ru.json b/i18n/ru.json
index 6e0b396..e3f7e46 100644
--- a/i18n/ru.json
+++ b/i18n/ru.json
@@ -1,18 +1,18 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Okras",
-                       "Александр Сигачёв",
-                       "Mariya"
-               ]
-       },
-       "specialpages-group-wikidataquality": "Качество Викиданных",
-       "wikidataquality-checkresult-form-submit-label": "Проверить",
-       "wikidataquality-checkresult-not-existent-entity": "Объект не 
существует!",
-       "wikidataquality-checkresult-result-headline": "Результат для",
-       "wikidataquality-checkresult-result-table-header-status": "Состояние",
-       "wikidataquality-checkresult-status-compliance": "Соответствие",
-       "wikidataquality-checkresult-status-violation": "Нарушение",
-       "wikidataquality-checkresult-status-exception": "Исключение",
-       "wikidataquality-checkresult-status-references-missing": "Не хватает 
ссылок"
+  "@metadata": {
+    "authors": [
+      "Okras",
+      "Александр Сигачёв",
+      "Mariya"
+    ]
+  },
+  "specialpages-group-wikidataquality": "Качество Викиданных",
+  "wikidataquality-checkresult-form-submit-label": "Проверить",
+  "wikidataquality-checkresult-not-existent-entity": "Объект не существует!",
+  "wikidataquality-checkresult-result-headline": "Результат для",
+  "wikidataquality-checkresult-result-table-header-status": "Состояние",
+  "wikidataquality-checkresult-status-compliance": "Соответствие",
+  "wikidataquality-checkresult-status-violation": "Нарушение",
+  "wikidataquality-checkresult-status-exception": "Исключение",
+  "wikidataquality-checkresult-status-references-missing": "Не хватает ссылок"
 }
diff --git a/i18n/si.json b/i18n/si.json
index 225b0a1..24371a0 100644
--- a/i18n/si.json
+++ b/i18n/si.json
@@ -1,9 +1,9 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Roonyh"
-               ]
-       },
-       "wikidataquality-externaldbs-overview-headline": "දත්ත ගබඩාවන්",
-       "wikidataquality-externaldbs-size": "විශාලත්වය"
+  "@metadata": {
+    "authors": [
+      "Roonyh"
+    ]
+  },
+  "wikidataquality-externaldbs-overview-headline": "දත්ත ගබඩාවන්",
+  "wikidataquality-externaldbs-size": "විශාලත්වය"
 }
diff --git a/i18n/sv.json b/i18n/sv.json
index d025d84..dbeb634 100644
--- a/i18n/sv.json
+++ b/i18n/sv.json
@@ -1,13 +1,13 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Jenniesarina",
-                       "Jopparn"
-               ]
-       },
-       "specialpages-group-wikidataquality": "Wikidata-kvalitet",
-       "wikidataquality-checkresult-result-table-header-status": "Status",
-       "wikidataquality-crosscheck": "Dubbelkontrollera med externa databaser",
-       "wikidataquality-crosscheck-instructions-example": "Prova till exempel 
Q159099 (Nina Hagen) och titta på resultaten.",
-       "wikidataquality-crosscheck-result-table-header-external-source": 
"Extern källa"
+  "@metadata": {
+    "authors": [
+      "Jenniesarina",
+      "Jopparn"
+    ]
+  },
+  "specialpages-group-wikidataquality": "Wikidata-kvalitet",
+  "wikidataquality-checkresult-result-table-header-status": "Status",
+  "wikidataquality-crosscheck": "Dubbelkontrollera med externa databaser",
+  "wikidataquality-crosscheck-instructions-example": "Prova till exempel 
Q159099 (Nina Hagen) och titta på resultaten.",
+  "wikidataquality-crosscheck-result-table-header-external-source": "Extern 
källa"
 }
diff --git a/i18n/tl.json b/i18n/tl.json
index ff5009d..dccf7d0 100644
--- a/i18n/tl.json
+++ b/i18n/tl.json
@@ -1,15 +1,15 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Leeheonjin"
-               ]
-       },
-       "wikidataquality-specialpages-group": "Kalidad ng Wikidata",
-       "wikidataquality-value": "Halaga",
-       "wikidataquality-status": "Katayuan/Kalagayan",
-       "wikidataquality-crosscheck-result-headline": "Resulta para sa",
-       "wikidataquality-crosscheck-result-item-not-existent": "Hindi umiiral 
ang naturang item!",
-       "wikidataquality-crosscheck-result-mismatch": "Namaling tugma",
-       "wikidataquality-crosscheck-result-success": "Tugma",
-       "wikidataquality-crosscheck-external-source": "Panlabas na pinagkuhanan"
+  "@metadata": {
+    "authors": [
+      "Leeheonjin"
+    ]
+  },
+  "wikidataquality-specialpages-group": "Kalidad ng Wikidata",
+  "wikidataquality-value": "Halaga",
+  "wikidataquality-status": "Katayuan/Kalagayan",
+  "wikidataquality-crosscheck-result-headline": "Resulta para sa",
+  "wikidataquality-crosscheck-result-item-not-existent": "Hindi umiiral ang 
naturang item!",
+  "wikidataquality-crosscheck-result-mismatch": "Namaling tugma",
+  "wikidataquality-crosscheck-result-success": "Tugma",
+  "wikidataquality-crosscheck-external-source": "Panlabas na pinagkuhanan"
 }
diff --git a/i18n/tr.json b/i18n/tr.json
index db00877..96c832e 100644
--- a/i18n/tr.json
+++ b/i18n/tr.json
@@ -1,12 +1,12 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Hayri özkurt",
-                       "Sayginer"
-               ]
-       },
-       "wikidataquality-desc": "Ve kısıtlama raporlar olduğunu hayal ederek 
kısıtlamaları kullanımı geçirme geliştirmek ve çapraz kontrol Vikiveri 
kalitesini sağlamak için dış veritabanı ile veri",
-       "wikidataquality-crosscheck-result-table-header-local-value": "Vikiveri 
Değeri",
-       "wikidataquality-crosscheck-result-table-header-external-source": "Dış 
Kaynak",
-       "wikidataquality-externaldbs-language": "Veri dili"
+  "@metadata": {
+    "authors": [
+      "Hayri özkurt",
+      "Sayginer"
+    ]
+  },
+  "wikidataquality-desc": "Ve kısıtlama raporlar olduğunu hayal ederek 
kısıtlamaları kullanımı geçirme geliştirmek ve çapraz kontrol Vikiveri 
kalitesini sağlamak için dış veritabanı ile veri",
+  "wikidataquality-crosscheck-result-table-header-local-value": "Vikiveri 
Değeri",
+  "wikidataquality-crosscheck-result-table-header-external-source": "Dış 
Kaynak",
+  "wikidataquality-externaldbs-language": "Veri dili"
 }
diff --git a/i18n/yi.json b/i18n/yi.json
index 909bed7..6ac4e0b 100644
--- a/i18n/yi.json
+++ b/i18n/yi.json
@@ -1,8 +1,8 @@
 {
-       "@metadata": {
-               "authors": [
-                       "פוילישער"
-               ]
-       },
-       "wikidataquality-status": "סטאַטוס"
+  "@metadata": {
+    "authors": [
+      "פוילישער"
+    ]
+  },
+  "wikidataquality-status": "סטאַטוס"
 }
diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json
index 5844a85..2ee5749 100644
--- a/i18n/zh-hans.json
+++ b/i18n/zh-hans.json
@@ -1,19 +1,19 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Liuxinyu970226"
-               ]
-       },
-       "wikidataquality-desc": "通过可视化约束报告与再确认外部数据库数据,迁移并导入使用限制以确保维基数据质量。",
-       "specialpages-group-wikidataquality": "维基数据质量",
-       "wikidataquality-checkresult-form-submit-label": "检查",
-       "wikidataquality-checkresult-invalid-entity-id": "无效的实体ID!",
-       "wikidataquality-checkresult-not-existent-entity": "实体不存在!",
-       "wikidataquality-checkresult-result-headline": "来自$1的结果",
-       "wikidataquality-checkresult-result-table-header-status": "状态",
-       "wikidataquality-checkresult-status-compliance": "服从",
-       "wikidataquality-checkresult-status-violation": "侵权",
-       "wikidataquality-checkresult-status-exception": "例外",
-       "wikidataquality-checkresult-status-references-missing": "缺少参考",
-       "wikidataquality-checkresult-status-todo": "待办事项"
+  "@metadata": {
+    "authors": [
+      "Liuxinyu970226"
+    ]
+  },
+  "wikidataquality-desc": "通过可视化约束报告与再确认外部数据库数据,迁移并导入使用限制以确保维基数据质量。",
+  "specialpages-group-wikidataquality": "维基数据质量",
+  "wikidataquality-checkresult-form-submit-label": "检查",
+  "wikidataquality-checkresult-invalid-entity-id": "无效的实体ID!",
+  "wikidataquality-checkresult-not-existent-entity": "实体不存在!",
+  "wikidataquality-checkresult-result-headline": "来自$1的结果",
+  "wikidataquality-checkresult-result-table-header-status": "状态",
+  "wikidataquality-checkresult-status-compliance": "服从",
+  "wikidataquality-checkresult-status-violation": "侵权",
+  "wikidataquality-checkresult-status-exception": "例外",
+  "wikidataquality-checkresult-status-references-missing": "缺少参考",
+  "wikidataquality-checkresult-status-todo": "待办事项"
 }
diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json
index 838f16a..060c1c7 100644
--- a/i18n/zh-hant.json
+++ b/i18n/zh-hant.json
@@ -1,9 +1,9 @@
 {
-       "@metadata": {
-               "authors": [
-                       "Liuxinyu970226"
-               ]
-       },
-       "wikidataquality-checkresult-form-submit-label": "選擇",
-       "wikidataquality-checkresult-result-table-header-status": "狀態"
+  "@metadata": {
+    "authors": [
+      "Liuxinyu970226"
+    ]
+  },
+  "wikidataquality-checkresult-form-submit-label": "選擇",
+  "wikidataquality-checkresult-result-table-header-status": "狀態"
 }
diff --git a/includes/Html/HtmlTable.php b/includes/Html/HtmlTable.php
index 6e71bcb..4a127a0 100644
--- a/includes/Html/HtmlTable.php
+++ b/includes/Html/HtmlTable.php
@@ -2,151 +2,155 @@
 
 namespace WikidataQuality\Html;
 
-
 use Doctrine\Instantiator\Exception\InvalidArgumentException;
 use Html;
 
 
 /**
  * Class HtmlTable
+ *
  * @package WikidataQuality\Html
  * @author BP2014N1
  * @license GNU GPL v2+
  */
 class HtmlTable {
-    /**
-     * Headers of the table.
-     * @var HtmlTableHeader
-     */
-    private $headers = array();
 
-    /**
-     * Rows of the table.
-     * @var array
-     */
-    private $rows = array();
+       /**
+        * Headers of the table.
+        *
+        * @var HtmlTableHeader
+        */
+       private $headers = array ();
 
-    /**
-     * Determines, whether the table is sortable.
-     * @var bool
-     */
-    private $isSortable = false;
+       /**
+        * Rows of the table.
+        *
+        * @var array
+        */
+       private $rows = array ();
 
+       /**
+        * Determines, whether the table is sortable.
+        *
+        * @var bool
+        */
+       private $isSortable = false;
 
-    /**
-     * @param array $headers
-     */
-    public function __construct( $headers ) {
-        if ( is_array( $headers ) ) {
-            foreach ( $headers as $header ) {
-                if ( is_string( $header ) ) {
-                    $this->headers[ ] = new HtmlTableHeader( $header );
-                } else if ( $header instanceof HtmlTableHeader ) {
-                    $this->headers[ ] = $header;
+       /**
+        * @param array $headers
+        */
+       public function __construct( $headers ) {
+               if ( is_array( $headers ) ) {
+                       foreach ( $headers as $header ) {
+                               if ( is_string( $header ) ) {
+                                       $this->headers[ ] = new 
HtmlTableHeader( $header );
+                               } else if ( $header instanceof HtmlTableHeader 
) {
+                                       $this->headers[ ] = $header;
 
-                    if ( $header->getIsSortable() ) {
-                        $this->isSortable = true;
-                    }
-                } else {
-                    throw new InvalidArgumentException( '$headers must be an 
array of strings or HtmlTableHeader elements.' );
-                }
-            }
-        } else {
-            throw new InvalidArgumentException( '$headers must be an array of 
strings or HtmlTableHeader elements.' );
-        }
-    }
+                                       if ( $header->getIsSortable() ) {
+                                               $this->isSortable = true;
+                                       }
+                               } else {
+                                       throw new InvalidArgumentException( 
'$headers must be an array of strings or HtmlTableHeader elements.' );
+                               }
+                       }
+               } else {
+                       throw new InvalidArgumentException( '$headers must be 
an array of strings or HtmlTableHeader elements.' );
+               }
+       }
 
+       /**
+        * @return HtmlTableHeader
+        */
+       public function getHeaders() {
+               return $this->headers;
+       }
 
-    /**
-     * @return HtmlTableHeader
-     */
-    public function getHeaders() {
-        return $this->headers;
-    }
+       /**
+        * @return array
+        */
+       public function getRows() {
+               return $this->rows;
+       }
 
-    /**
-     * @return array
-     */
-    public function getRows() {
-        return $this->rows;
-    }
+       /**
+        * @return bool
+        */
+       public function getIsSortable() {
+               return $this->isSortable;
+       }
 
-    /**
-     * @return bool
-     */
-    public function getIsSortable() {
-        return $this->isSortable;
-    }
+       /**
+        * Adds row with specified cells to table.
+        *
+        * @param $cells
+        */
+       public function appendRow( array $cells ) {
+               // Add cells into new row
+               $this->appendRows( array ( $cells ) );
+       }
 
+       /**
+        * Adds rows with specified cells to table.
+        *
+        * @param array $rows
+        */
+       public function appendRows( array $rows ) {
+               // Check rows
+               foreach ( $rows as $rowKey => $cells ) {
+                       if ( !is_array( $cells ) ) {
+                               throw new InvalidArgumentException( '$rows must 
be array of arrays of HtmlTableCell objects.' );
+                       }
 
-    /**
-     * Adds row with specified cells to table.
-     * @param $cells
-     */
-    public function appendRow( array $cells ) {
-        // Add cells into new row
-        $this->appendRows( array( $cells ) );
-    }
+                       foreach ( $cells as $cellKey => $cell ) {
+                               if ( is_string( $cell ) ) {
+                                       $rows[ $rowKey ][ $cellKey ] = new 
HtmlTableCell( $cell );
+                               } else if ( !$cell instanceof HtmlTableCell ) {
+                                       throw new InvalidArgumentException( 
'$rows must be array of arrays of HtmlTableCell objects.' );
+                               }
+                       }
+               }
 
-    /**
-     * Adds rows with specified cells to table.
-     * @param array $rows
-     */
-    public function appendRows( array $rows ) {
-        // Check rows
-        foreach ( $rows as $rowKey => $cells ) {
-            if ( !is_array( $cells ) ) {
-                throw new InvalidArgumentException( '$rows must be array of 
arrays of HtmlTableCell objects.' );
-            }
+               $this->rows = array_merge( $this->rows, $rows );
+       }
 
-            foreach ( $cells as $cellKey => $cell ) {
-                if ( is_string( $cell ) ) {
-                    $rows[ $rowKey ][ $cellKey ] = new HtmlTableCell( $cell );
-                } else if ( !$cell instanceof HtmlTableCell ) {
-                    throw new InvalidArgumentException( '$rows must be array 
of arrays of HtmlTableCell objects.' );
-                }
-            }
-        }
+       /**
+        * Returns table as html.
+        *
+        * @return string
+        */
+       public function toHtml() {
+               // Open table
+               $tableClasses = 'wikitable';
+               if ( $this->isSortable ) {
+                       $tableClasses .= ' sortable jquery-tablesort';
+               }
+               $html = Html::openElement(
+                       'table',
+                       array (
+                               'class' => $tableClasses
+                       )
+               );
 
-        $this->rows = array_merge( $this->rows, $rows );
-    }
+               // Write headers
+               $html .= Html::openElement( 'tr' );
+               foreach ( $this->headers as $header ) {
+                       $html .= $header->toHtml();
+               }
+               $html .= Html::closeElement( 'tr' );
 
-    /**
-     * Returns table as html.
-     * @return string
-     */
-    public function toHtml() {
-        // Open table
-        $tableClasses = 'wikitable';
-        if ( $this->isSortable ) {
-            $tableClasses .= ' sortable jquery-tablesort';
-        }
-        $html = Html::openElement(
-            'table',
-            array(
-                'class' => $tableClasses
-            )
-        );
+               // Write rows
+               foreach ( $this->rows as $row ) {
+                       $html .= Html::openElement( 'tr' );
+                       foreach ( $row as $cell ) {
+                               $html .= $cell->toHtml();
+                       }
+                       $html .= Html::closeElement( 'tr' );
+               }
 
-        // Write headers
-        $html .= Html::openElement( 'tr' );
-        foreach ( $this->headers as $header ) {
-            $html .= $header->toHtml();
-        }
-        $html .= Html::closeElement( 'tr' );
+               // Close table
+               $html .= Html::closeElement( 'table' );
 
-        // Write rows
-        foreach ( $this->rows as $row ) {
-            $html .= Html::openElement( 'tr' );
-            foreach ( $row as $cell ) {
-                $html .= $cell->toHtml();
-            }
-            $html .= Html::closeElement( 'tr' );
-        }
-
-        // Close table
-        $html .= Html::closeElement( 'table' );
-
-        return $html;
-    }
+               return $html;
+       }
 }
\ No newline at end of file
diff --git a/includes/Html/HtmlTableCell.php b/includes/Html/HtmlTableCell.php
index bcaa2b4..78ca845 100644
--- a/includes/Html/HtmlTableCell.php
+++ b/includes/Html/HtmlTableCell.php
@@ -2,96 +2,98 @@
 
 namespace WikidataQuality\Html;
 
-
 use Doctrine\Instantiator\Exception\InvalidArgumentException;
 use Html;
 
 
 /**
  * Class HtmlTableCell
+ *
  * @package WikidataQuality\Html
  * @author BP2014N1
  * @license GNU GPL v2+
  */
 class HtmlTableCell {
 
-    /**
-     * Html content of the cell.
-     * @var string
-     */
-    private $content;
+       /**
+        * Html content of the cell.
+        *
+        * @var string
+        */
+       private $content;
 
-    /**
-     * Value for html rowspan attribute.
-     * @var int
-     */
-    private $rowSpan;
+       /**
+        * Value for html rowspan attribute.
+        *
+        * @var int
+        */
+       private $rowSpan;
 
-    /**
-     * Value for html colspan attribute.
-     * @var int
-     */
-    private $colSpan;
+       /**
+        * Value for html colspan attribute.
+        *
+        * @var int
+        */
+       private $colSpan;
 
+       /**
+        * @param $content
+        * @param int $rowSpan
+        * @param int $colSpan
+        */
+       public function __construct( $content, $rowSpan = 1, $colSpan = 1 ) {
+               // Check parameters
+               if ( !is_string( $content ) ) {
+                       throw new InvalidArgumentException( '$content must be 
string.' );
+               }
+               if ( !is_int( $rowSpan ) ) {
+                       throw new InvalidArgumentException( '$rowSpan must be 
integer.' );
+               }
+               if ( !is_int( $colSpan ) ) {
+                       throw new InvalidArgumentException( '$colSpan must be 
integer.' );
+               }
 
-    /**
-     * @param $content
-     * @param int $rowSpan
-     * @param int $colSpan
-     */
-    public function __construct( $content, $rowSpan = 1, $colSpan = 1 ) {
-        // Check parameters
-        if ( !is_string( $content ) ) {
-            throw new InvalidArgumentException( '$content must be string.' );
-        }
-        if ( !is_int( $rowSpan ) ) {
-            throw new InvalidArgumentException( '$rowSpan must be integer.' );
-        }
-        if ( !is_int( $colSpan ) ) {
-            throw new InvalidArgumentException( '$colSpan must be integer.' );
-        }
+               $this->content = $content;
+               $this->rowSpan = $rowSpan;
+               $this->colSpan = $colSpan;
+       }
 
-        $this->content = $content;
-        $this->rowSpan = $rowSpan;
-        $this->colSpan = $colSpan;
-    }
+       /**
+        * @return string
+        */
+       public function getContent() {
+               return $this->content;
+       }
 
+       /**
+        * @return int
+        */
+       public function getRowSpan() {
+               return $this->rowSpan;
+       }
 
-    /**
-     * @return string
-     */
-    public function getContent() {
-        return $this->content;
-    }
+       /**
+        * @return int
+        */
+       public function getColSpan() {
+               return $this->colSpan;
+       }
 
-    /**
-     * @return int
-     */
-    public function getRowSpan() {
-        return $this->rowSpan;
-    }
-
-    /**
-     * @return int
-     */
-    public function getColSpan() {
-        return $this->colSpan;
-    }
-
-    /**
-     * Returns cell as html.
-     * @return string
-     */
-    public function toHtml() {
-        return
-            Html::openElement(
-                'td',
-                array(
-                    'rowspan' => $this->rowSpan,
-                    'colspan' => $this->colSpan
-                )
-            )
-            . $this->content
-            . Html::closeElement( 'td' );
-    }
+       /**
+        * Returns cell as html.
+        *
+        * @return string
+        */
+       public function toHtml() {
+               return
+                       Html::openElement(
+                               'td',
+                               array (
+                                       'rowspan' => $this->rowSpan,
+                                       'colspan' => $this->colSpan
+                               )
+                       )
+                       . $this->content
+                       . Html::closeElement( 'td' );
+       }
 }
\ No newline at end of file
diff --git a/includes/Html/HtmlTableHeader.php 
b/includes/Html/HtmlTableHeader.php
index 25cb5f8..831a2b3 100644
--- a/includes/Html/HtmlTableHeader.php
+++ b/includes/Html/HtmlTableHeader.php
@@ -2,82 +2,83 @@
 
 namespace WikidataQuality\Html;
 
-
 use Doctrine\Instantiator\Exception\InvalidArgumentException;
 use Html;
 
 
 /**
  * Class HtmlTableHeader
+ *
  * @package WikidataQuality\Html
  * @author BP2014N1
  * @license GNU GPL v2+
  */
 class HtmlTableHeader {
 
-    /**
-     * Html content of the header
-     * @var string
-     */
-    private $content;
+       /**
+        * Html content of the header
+        *
+        * @var string
+        */
+       private $content;
 
-    /**
-     * Determines, whether the column should be sortable or not.
-     * @var bool
-     */
-    private $isSortable;
+       /**
+        * Determines, whether the column should be sortable or not.
+        *
+        * @var bool
+        */
+       private $isSortable;
 
+       /**
+        * @param string $content
+        * @param bool $isSortable
+        */
+       public function __construct( $content, $isSortable = false ) {
+               // Check parameters
+               if ( !is_string( $content ) ) {
+                       throw new InvalidArgumentException( '$content must be 
string.' );
+               }
+               if ( !is_bool( $isSortable ) ) {
+                       throw new InvalidArgumentException( '$isSortable must 
be boolean.' );
+               }
 
-    /**
-     * @param string $content
-     * @param bool $isSortable
-     */
-    public function __construct( $content, $isSortable = false ) {
-        // Check parameters
-        if ( !is_string( $content ) ) {
-            throw new InvalidArgumentException( '$content must be string.' );
-        }
-        if ( !is_bool( $isSortable ) ) {
-            throw new InvalidArgumentException( '$isSortable must be boolean.' 
);
-        }
+               $this->content = $content;
+               $this->isSortable = $isSortable;
+       }
 
-        $this->content = $content;
-        $this->isSortable = $isSortable;
-    }
+       /**
+        * @return string
+        */
+       public function getContent() {
+               return $this->content;
+       }
 
+       /**
+        * @return bool
+        */
+       public function getIsSortable() {
+               return $this->isSortable;
+       }
 
-    /**
-     * @return string
-     */
-    public function getContent() {
-        return $this->content;
-    }
+       /**
+        * Returns header as html.
+        *
+        * @return string
+        */
+       public function toHtml() {
+               $attributes = array (
+                       'role' => 'columnheader button'
+               );
+               if ( !$this->isSortable ) {
+                       $attributes[ 'class' ] = 'unsortable';
+               }
 
-    /**
-     * @return bool
-     */
-    public function getIsSortable() {
-        return $this->isSortable;
-    }
-
-    /**
-     * Returns header as html.
-     * @return string
-     */
-    public function toHtml() {
-        $attributes = array(
-            'role' => 'columnheader button'
-        );
-        if ( !$this->isSortable ) {
-            $attributes[ 'class' ] = 'unsortable';
-        }
-
-        return
-            Html::openElement(
-                'th',
-                $attributes
-            )
-            . $this->content
-            . Html::closeElement( 'th' );
-    }
+               return
+                       Html::openElement(
+                               'th',
+                               $attributes
+                       )
+                       . $this->content
+                       . Html::closeElement( 'th' );
+       }
 }
\ No newline at end of file
diff --git a/includes/Result/CheckResult.php b/includes/Result/CheckResult.php
index 38caf63..4e39226 100644
--- a/includes/Result/CheckResult.php
+++ b/includes/Result/CheckResult.php
@@ -6,11 +6,12 @@
 
 namespace WikidataQuality\Result;
 
-
 interface CheckResult {
-    /**
-     * Returns status of the result.
-     * @return string
-     */
-    public function getStatus();
+
+       /**
+        * Returns status of the result.
+        *
+        * @return string
+        */
+       public function getStatus();
 }
\ No newline at end of file
diff --git a/includes/Result/ResultToViolationTranslator.php 
b/includes/Result/ResultToViolationTranslator.php
index ee4d46d..0307aa3 100644
--- a/includes/Result/ResultToViolationTranslator.php
+++ b/includes/Result/ResultToViolationTranslator.php
@@ -2,12 +2,12 @@
 
 namespace WikidataQuality\Result;
 
-
 use Wikibase\DataModel\Entity\EntityId;
 use Wikibase\Repo\WikibaseRepo;
 
 
 class ResultToViolationTranslator {
+
        private $revisionLookup;
 
        public function __construct() {
diff --git a/includes/Violations/ViolationStore.php 
b/includes/Violations/ViolationStore.php
index a60653e..a84d6c9 100644
--- a/includes/Violations/ViolationStore.php
+++ b/includes/Violations/ViolationStore.php
@@ -26,7 +26,7 @@
         */
        public function insertViolations( $violations ) {
                if ( $violations instanceof Violation ) {
-                       $violations = array( $violations );
+                       $violations = array ( $violations );
                }
                if ( !is_array( $violations ) ) {
                        throw new InvalidArgumentException( '$violationa must 
be instance of WikidataQuality\Violations\Violation or an array of those.' );
@@ -46,7 +46,8 @@
                                'pid' => 
$violation->getPropertyId()->getSerialization(),
                                'claim_guid' => $violation->getClaimGuid(),
                                'constraint_id' => 
$violation->getConstraintClaimGuid(),
-                               'constraint_type_entity_id' => 
$violation->getConstraintTypeEntityId(),//TODO: use this line: 
->getSerialization(),
+                               'constraint_type_entity_id' => 
$violation->getConstraintTypeEntityId(),
+                               //TODO: use this line: ->getSerialization(),
                                'additional_info' => 
$violation->getAdditionalInfo(),
                                'updated_at' => $updatedAt,
                                'revision_id' => $violation->getRevisionId(),
diff --git a/specials/SpecialCheckResultPage.php 
b/specials/SpecialCheckResultPage.php
index a76c965..4a1c026 100644
--- a/specials/SpecialCheckResultPage.php
+++ b/specials/SpecialCheckResultPage.php
@@ -99,7 +99,7 @@
                        return;
                }
 
-               if (!is_string( $subPage )) {
+               if ( !is_string( $subPage ) ) {
                        throw new InvalidArgumentException( '$subPage must be 
string.' );
                }
 
@@ -186,7 +186,7 @@
         * @return string
         */
        protected function buildNotice( $message, $error = false ) {
-               if( !is_string( $message ) ) {
+               if ( !is_string( $message ) ) {
                        throw new InvalidArgumentException( '$message must be 
string.' );
                }
                if ( !is_bool( $error ) ) {
@@ -270,7 +270,7 @@
         * @return string
         */
        protected function buildTooltipElement( $content, $tooltipContent ) {
-               if (!is_string( $content ) ) {
+               if ( !is_string( $content ) ) {
                        throw new InvalidArgumentException( '$content has to be 
string.' );
                }
                if ( $tooltipContent && ( !is_string( $tooltipContent ) ) ) {
@@ -307,7 +307,7 @@
         * @return string
         */
        protected function formatStatus( $status ) {
-               if (!is_string( $status )) {
+               if ( !is_string( $status ) ) {
                        throw new InvalidArgumentException( '$status has to be 
string.' );
                }
 
@@ -350,7 +350,7 @@
 
                $formattedDataValues = array ();
                foreach ( $dataValues as $dataValue ) {
-                       if ( !($dataValue instanceof DataValue) ) {
+                       if ( !( $dataValue instanceof DataValue ) ) {
                                throw new InvalidArgumentException( 
'$dataValues has to be instance of DataValue or an array of DataValues.' );
                        }
                        if ( $dataValue instanceof EntityIdValue ) {
diff --git a/tests/phpunit/Html/HtmlTableCellTest.php 
b/tests/phpunit/Html/HtmlTableCellTest.php
index 8d09700..c34b08a 100644
--- a/tests/phpunit/Html/HtmlTableCellTest.php
+++ b/tests/phpunit/Html/HtmlTableCellTest.php
@@ -3,8 +3,8 @@
 
 namespace WikidataQuality\ExternalValidation\Tests\Html;
 
-
 use WikidataQuality\Html\HtmlTableCell;
+
 
 /**
  * @covers WikidataQuality\Html\HtmlTableCell
@@ -14,91 +14,92 @@
  */
 class HtmlTableCellTest extends \MediaWikiTestCase {
 
-    /**
-     * @dataProvider constructDataProvider
-     */
-    public function testConstruct( $content, $rowSpan, $colSpan, 
$expectedException = null ) {
-        $this->setExpectedException( $expectedException );
-        $cell = new HtmlTableCell( $content, $rowSpan, $colSpan );
+       /**
+        * @dataProvider constructDataProvider
+        */
+       public function testConstruct( $content, $rowSpan, $colSpan, 
$expectedException = null ) {
+               $this->setExpectedException( $expectedException );
+               $cell = new HtmlTableCell( $content, $rowSpan, $colSpan );
 
-        $this->assertEquals( $content, $cell->getContent() );
-        $this->assertEquals( $rowSpan, $cell->getRowSpan() );
-        $this->assertEquals( $colSpan, $cell->getColSpan() );
-    }
+               $this->assertEquals( $content, $cell->getContent() );
+               $this->assertEquals( $rowSpan, $cell->getRowSpan() );
+               $this->assertEquals( $colSpan, $cell->getColSpan() );
+       }
 
-    /**
-     * Test cases for testConstruct
-     * @return array
-     */
-    public function constructDataProvider() {
-        return array(
-            array(
-                'foobar',
-                42,
-                42
-            ),
-            array(
-                42,
-                42,
-                42,
-                'InvalidArgumentException'
-            ),
-            array(
-                'foobar',
-                '42',
-                42,
-                'InvalidArgumentException'
-            ),
-            array(
-                'foobar',
-                42,
-                '42',
-                'InvalidArgumentException'
-            )
-        );
-    }
+       /**
+        * Test cases for testConstruct
+        *
+        * @return array
+        */
+       public function constructDataProvider() {
+               return array (
+                       array (
+                               'foobar',
+                               42,
+                               42
+                       ),
+                       array (
+                               42,
+                               42,
+                               42,
+                               'InvalidArgumentException'
+                       ),
+                       array (
+                               'foobar',
+                               '42',
+                               42,
+                               'InvalidArgumentException'
+                       ),
+                       array (
+                               'foobar',
+                               42,
+                               '42',
+                               'InvalidArgumentException'
+                       )
+               );
+       }
 
+       /**
+        * @dataProvider toHtmlDataProvider
+        */
+       public function testToHtml( $content, $rowSpan, $colSpan, $expectedHtml 
) {
+               $cell = new HtmlTableCell( $content, $rowSpan, $colSpan );
+               $actualHtml = $cell->toHtml();
 
-    /**
-     * @dataProvider toHtmlDataProvider
-     */
-    public function testToHtml( $content, $rowSpan, $colSpan, $expectedHtml ) {
-        $cell = new HtmlTableCell( $content, $rowSpan, $colSpan );
-        $actualHtml = $cell->toHtml();
+               $this->assertEquals( $expectedHtml, $actualHtml );
+       }
 
-        $this->assertEquals( $expectedHtml, $actualHtml );
-    }
-
-    /**
-     * Test cases for testToHtml
-     * @return array
-     */
-    public function toHtmlDataProvider() {
-        return array(
-            array(
-                'foobar',
-                0,
-                0,
-                '<td rowspan="0" colspan="0">foobar</td>'
-            ),
-            array(
-                'foobar',
-                1,
-                0,
-                '<td rowspan="1" colspan="0">foobar</td>'
-            ),
-            array(
-                'foobar',
-                0,
-                1,
-                '<td rowspan="0" colspan="1">foobar</td>'
-            ),
-            array(
-                'foobar',
-                1,
-                1,
-                '<td rowspan="1" colspan="1">foobar</td>'
-            )
-        );
-    }
+       /**
+        * Test cases for testToHtml
+        *
+        * @return array
+        */
+       public function toHtmlDataProvider() {
+               return array (
+                       array (
+                               'foobar',
+                               0,
+                               0,
+                               '<td rowspan="0" colspan="0">foobar</td>'
+                       ),
+                       array (
+                               'foobar',
+                               1,
+                               0,
+                               '<td rowspan="1" colspan="0">foobar</td>'
+                       ),
+                       array (
+                               'foobar',
+                               0,
+                               1,
+                               '<td rowspan="0" colspan="1">foobar</td>'
+                       ),
+                       array (
+                               'foobar',
+                               1,
+                               1,
+                               '<td rowspan="1" colspan="1">foobar</td>'
+                       )
+               );
+       }
 }
diff --git a/tests/phpunit/Html/HtmlTableHeaderTest.php 
b/tests/phpunit/Html/HtmlTableHeaderTest.php
index 3364768..cd883ea 100644
--- a/tests/phpunit/Html/HtmlTableHeaderTest.php
+++ b/tests/phpunit/Html/HtmlTableHeaderTest.php
@@ -14,68 +14,68 @@
  */
 class HtmlTableHeaderTest extends \MediaWikiTestCase {
 
-    /**
-     * @dataProvider constructDataProvider
-     */
-    public function testConstruct( $content, $isSortable, $expectedException = 
null ) {
-        $this->setExpectedException( $expectedException );
-        $header = new HtmlTableHeader( $content, $isSortable );
+       /**
+        * @dataProvider constructDataProvider
+        */
+       public function testConstruct( $content, $isSortable, 
$expectedException = null ) {
+               $this->setExpectedException( $expectedException );
+               $header = new HtmlTableHeader( $content, $isSortable );
 
-        $this->assertEquals( $content, $header->getContent() );
-        $this->assertEquals( $isSortable, $header->getIsSortable() );
-    }
+               $this->assertEquals( $content, $header->getContent() );
+               $this->assertEquals( $isSortable, $header->getIsSortable() );
+       }
 
-    /**
-     * Test cases for testConstruct
-     * @return array
-     */
-    public function constructDataProvider() {
-        return array(
-            array(
-                'foobar',
-                true
-            ),
-            array(
-                42,
-                true,
-                'InvalidArgumentException'
-            ),
-            array(
-                'fooar',
-                42,
-                'InvalidArgumentException'
-            )
-        );
-    }
+       /**
+        * Test cases for testConstruct
+        *
+        * @return array
+        */
+       public function constructDataProvider() {
+               return array (
+                       array (
+                               'foobar',
+                               true
+                       ),
+                       array (
+                               42,
+                               true,
+                               'InvalidArgumentException'
+                       ),
+                       array (
+                               'fooar',
+                               42,
+                               'InvalidArgumentException'
+                       )
+               );
+       }
 
+       /**
+        * @dataProvider toHtmlDataProvider
+        */
+       public function testToHtml( $content, $isSortable, $expectedHtml ) {
+               $header = new HtmlTableHeader( $content, $isSortable );
+               $actualHtml = $header->toHtml();
 
-    /**
-     * @dataProvider toHtmlDataProvider
-     */
-    public function testToHtml( $content, $isSortable, $expectedHtml ) {
-        $header = new HtmlTableHeader( $content, $isSortable );
-        $actualHtml = $header->toHtml();
+               $this->assertEquals( $expectedHtml, $actualHtml );
+       }
 
-        $this->assertEquals( $expectedHtml, $actualHtml );
-    }
-
-
-    /**
-     * Test cases for testToHtml
-     * @return array
-     */
-    public function toHtmlDataProvider() {
-        return array(
-            array(
-                'foobar',
-                true,
-                '<th role="columnheader button">foobar</th>'
-            ),
-            array(
-                'foobar',
-                false,
-                '<th role="columnheader button" class="unsortable">foobar</th>'
-            )
-        );
-    }
+       /**
+        * Test cases for testToHtml
+        *
+        * @return array
+        */
+       public function toHtmlDataProvider() {
+               return array (
+                       array (
+                               'foobar',
+                               true,
+                               '<th role="columnheader button">foobar</th>'
+                       ),
+                       array (
+                               'foobar',
+                               false,
+                               '<th role="columnheader button" 
class="unsortable">foobar</th>'
+                       )
+               );
+       }
 }
diff --git a/tests/phpunit/Html/HtmlTableTest.php 
b/tests/phpunit/Html/HtmlTableTest.php
index 133af5f..8da9910 100644
--- a/tests/phpunit/Html/HtmlTableTest.php
+++ b/tests/phpunit/Html/HtmlTableTest.php
@@ -2,7 +2,6 @@
 
 namespace WikidataQuality\ExternalValidation\Tests\Html;
 
-
 use WikidataQuality\Html\HtmlTable;
 use WikidataQuality\Html\HtmlTableCell;
 use WikidataQuality\Html\HtmlTableHeader;
@@ -18,256 +17,258 @@
  * @license GNU GPL v2+
  */
 class HtmlTableTest extends \MediaWikiTestCase {
-    /**
-     * @dataProvider constructDataProvider
-     */
-    public function testConstruct( $headers, $expectedHeaders, 
$expectedIsSortable, $expectedException ) {
-        $this->setExpectedException( $expectedException );
-        $htmlTable = new HtmlTable( $headers );
 
-        $this->assertArrayEquals( $expectedHeaders, $htmlTable->getHeaders() );
-        $this->assertEquals( $expectedIsSortable, $htmlTable->getIsSortable() 
);
-    }
+       /**
+        * @dataProvider constructDataProvider
+        */
+       public function testConstruct( $headers, $expectedHeaders, 
$expectedIsSortable, $expectedException ) {
+               $this->setExpectedException( $expectedException );
+               $htmlTable = new HtmlTable( $headers );
 
-    /**
-     * @return array
-     */
-    public function constructDataProvider() {
-        return array(
-            array(
-                array(
-                    'foo',
-                    'bar'
-                ),
-                array(
-                    new HtmlTableHeader( 'foo' ),
-                    new HtmlTableHeader( 'bar' )
-                ),
-                false,
-                null
-            ),
-            array(
-                array(
-                    new HtmlTableHeader( 'foo', true ),
-                    'bar'
-                ),
-                array(
-                    new HtmlTableHeader( 'foo', true ),
-                    new HtmlTableHeader( 'bar' )
-                ),
-                true,
-                null
-            ),
-            array(
-                array(
-                    new HtmlTableHeader( 'foo', true ),
-                    new HtmlTableHeader( 'bar' )
-                ),
-                array(
-                    new HtmlTableHeader( 'foo', true ),
-                    new HtmlTableHeader( 'bar' )
-                ),
-                true,
-                null
-            ),
-            array(
-                array( 42 ),
-                null,
-                false,
-                'InvalidArgumentException'
-            ),
-            array(
-                'foobar',
-                null,
-                false,
-                'InvalidArgumentException'
-            )
-        );
-    }
+               $this->assertArrayEquals( $expectedHeaders, 
$htmlTable->getHeaders() );
+               $this->assertEquals( $expectedIsSortable, 
$htmlTable->getIsSortable() );
+       }
 
+       /**
+        * @return array
+        */
+       public function constructDataProvider() {
+               return array (
+                       array (
+                               array (
+                                       'foo',
+                                       'bar'
+                               ),
+                               array (
+                                       new HtmlTableHeader( 'foo' ),
+                                       new HtmlTableHeader( 'bar' )
+                               ),
+                               false,
+                               null
+                       ),
+                       array (
+                               array (
+                                       new HtmlTableHeader( 'foo', true ),
+                                       'bar'
+                               ),
+                               array (
+                                       new HtmlTableHeader( 'foo', true ),
+                                       new HtmlTableHeader( 'bar' )
+                               ),
+                               true,
+                               null
+                       ),
+                       array (
+                               array (
+                                       new HtmlTableHeader( 'foo', true ),
+                                       new HtmlTableHeader( 'bar' )
+                               ),
+                               array (
+                                       new HtmlTableHeader( 'foo', true ),
+                                       new HtmlTableHeader( 'bar' )
+                               ),
+                               true,
+                               null
+                       ),
+                       array (
+                               array ( 42 ),
+                               null,
+                               false,
+                               'InvalidArgumentException'
+                       ),
+                       array (
+                               'foobar',
+                               null,
+                               false,
+                               'InvalidArgumentException'
+                       )
+               );
+       }
 
-    public function testAppendRow() {
-        $htmlTable = new HtmlTable(
-            array(
-                'fu',
-                'bar'
-            )
-        );
-        $htmlTable->appendRow(
-            array(
-                'foo',
-                'bar'
-            )
-        );
+       public function testAppendRow() {
+               $htmlTable = new HtmlTable(
+                       array (
+                               'fu',
+                               'bar'
+                       )
+               );
+               $htmlTable->appendRow(
+                       array (
+                               'foo',
+                               'bar'
+                       )
+               );
 
-        $this->assertArrayEquals(
-            array(
-                array(
-                    new HtmlTableCell( 'foo' ),
-                    new HtmlTableCell( 'bar' )
-                )
-            ),
-            $htmlTable->getRows()
-        );
-    }
+               $this->assertArrayEquals(
+                       array (
+                               array (
+                                       new HtmlTableCell( 'foo' ),
+                                       new HtmlTableCell( 'bar' )
+                               )
+                       ),
+                       $htmlTable->getRows()
+               );
+       }
 
+       /**
+        * @dataProvider appendRowsDataProvider
+        */
+       public function testAppendRows( $rows, $expectedRows, 
$expectedException = null ) {
+               if ( $expectedException ) {
+                       $this->setExpectedException( $expectedException );
+               }
 
-    /**
-     * @dataProvider appendRowsDataProvider
-     */
-    public function testAppendRows( $rows, $expectedRows, $expectedException = 
null ) {
-        if ( $expectedException ) {
-            $this->setExpectedException( $expectedException );
-        }
+               $htmlTable = new HtmlTable(
+                       array (
+                               'fu',
+                               'bar'
+                       )
+               );
+               $htmlTable->appendRows( $rows );
 
-        $htmlTable = new HtmlTable(
-            array(
-                'fu',
-                'bar'
-            )
-        );
-        $htmlTable->appendRows( $rows );
+               $this->assertArrayEquals( $expectedRows, $htmlTable->getRows() 
);
+       }
 
-        $this->assertArrayEquals( $expectedRows, $htmlTable->getRows() );
-    }
+       /**
+        * Test cases for testAppendRows
+        *
+        * @return array
+        */
+       public function appendRowsDataProvider() {
+               return array (
+                       array (
+                               array (
+                                       array (
+                                               'foo',
+                                               'bar'
+                                       )
+                               ),
+                               array (
+                                       array (
+                                               new HtmlTableCell( 'foo' ),
+                                               new HtmlTableCell( 'bar' )
+                                       )
+                               )
+                       ),
+                       array (
+                               array (
+                                       array (
+                                               new HtmlTableCell( 'foo' ),
+                                               'bar'
+                                       )
+                               ),
+                               array (
+                                       array (
+                                               new HtmlTableCell( 'foo' ),
+                                               new HtmlTableCell( 'bar' )
+                                       )
+                               )
+                       ),
+                       array (
+                               array (
+                                       array (
+                                               'foo',
+                                               42
+                                       )
+                               ),
+                               null,
+                               'InvalidArgumentException'
+                       ),
+                       array (
+                               array (
+                                       42
+                               ),
+                               null,
+                               'InvalidArgumentException'
+                       )
+               );
+       }
 
-    /**
-     * Test cases for testAppendRows
-     * @return array
-     */
-    public function appendRowsDataProvider() {
-        return array(
-            array(
-                array(
-                    array(
-                        'foo',
-                        'bar'
-                    )
-                ),
-                array(
-                    array(
-                        new HtmlTableCell( 'foo' ),
-                        new HtmlTableCell( 'bar' )
-                    )
-                )
-            ),
-            array(
-                array(
-                    array(
-                        new HtmlTableCell( 'foo' ),
-                        'bar'
-                    )
-                ),
-                array(
-                    array(
-                        new HtmlTableCell( 'foo' ),
-                        new HtmlTableCell( 'bar' )
-                    )
-                )
-            ),
-            array(
-                array(
-                    array(
-                        'foo',
-                        42
-                    )
-                ),
-                null,
-                'InvalidArgumentException'
-            ),
-            array(
-                array(
-                    42
-                ),
-                null,
-                'InvalidArgumentException'
-            )
-        );
-    }
+       /**
+        * @dataProvider toHtmlDataProvider
+        */
+       public function testToHtml( $headers, $rows, $expectedHtml ) {
+               //Create table
+               $htmlTable = new HtmlTable( $headers );
+               $htmlTable->appendRows( $rows );
 
+               // Run assertions
+               $actualHtml = $htmlTable->toHtml();
+               $this->assertEquals( $expectedHtml, $actualHtml );
+       }
 
-    /**
-     * @dataProvider toHtmlDataProvider
-     */
-    public function testToHtml( $headers, $rows, $expectedHtml ) {
-        //Create table
-        $htmlTable = new HtmlTable( $headers );
-        $htmlTable->appendRows( $rows );
+       /**
+        * @return array
+        */
+       public function toHtmlDataProvider() {
+               return array (
+                       array (
+                               array (
+                                       $this->getHtmlTableHeaderMock( 'fu' ),
+                                       $this->getHtmlTableHeaderMock( 'bar' )
+                               ),
+                               array (
+                                       array (
+                                               $this->getHtmlTableCellMock( 
'fucked up' ),
+                                               $this->getHtmlTableCellMock( 
'beyond all recognition' )
+                                       )
+                               ),
+                               '<table 
class="wikitable"><tr><th>fu</th><th>bar</th></tr><tr><td>fucked 
up</td><td>beyond all recognition</td></tr></table>'
+                       ),
+                       array (
+                               array (
+                                       $this->getHtmlTableHeaderMock( 'fu' ),
+                                       $this->getHtmlTableHeaderMock( 'bar', 
true )
+                               ),
+                               array (
+                                       array (
+                                               $this->getHtmlTableCellMock( 
'fucked up' ),
+                                               $this->getHtmlTableCellMock( 
'beyond all recognition' )
+                                       )
+                               ),
+                               '<table class="wikitable sortable 
jquery-tablesort"><tr><th>fu</th><th>bar</th></tr><tr><td>fucked 
up</td><td>beyond all recognition</td></tr></table>'
+                       )
+               );
+       }
 
-        // Run assertions
-        $actualHtml = $htmlTable->toHtml();
-        $this->assertEquals( $expectedHtml, $actualHtml );
-    }
+       /**
+        * Creates HtmlHeaderCell mock, which returns only the content when 
calling HtmlHeaderCell::toHtml()
+        *
+        * @param string $content
+        *
+        * @return \PHPUnit_Framework_MockObject_MockObject
+        */
+       private function getHtmlTableHeaderMock( $content, $isSortable = false 
) {
+               $cellMock = $this
+                       ->getMockBuilder( 
'WikidataQuality\Html\HtmlTableHeader' )
+                       ->setConstructorArgs( array ( $content, $isSortable ) )
+                       ->setMethods( array ( 'toHtml' ) )
+                       ->getMock();
+               $cellMock
+                       ->expects( $this->any() )
+                       ->method( 'toHtml' )
+                       ->willReturn( "<th>$content</th>" );
 
-    /**
-     * @return array
-     */
-    public function toHtmlDataProvider() {
-        return array(
-            array(
-                array(
-                    $this->getHtmlTableHeaderMock( 'fu' ),
-                    $this->getHtmlTableHeaderMock( 'bar' )
-                ),
-                array(
-                    array(
-                        $this->getHtmlTableCellMock( 'fucked up' ),
-                        $this->getHtmlTableCellMock( 'beyond all recognition' )
-                    )
-                ),
-                '<table 
class="wikitable"><tr><th>fu</th><th>bar</th></tr><tr><td>fucked 
up</td><td>beyond all recognition</td></tr></table>'
-            ),
-            array(
-                array(
-                    $this->getHtmlTableHeaderMock( 'fu' ),
-                    $this->getHtmlTableHeaderMock( 'bar', true )
-                ),
-                array(
-                    array(
-                        $this->getHtmlTableCellMock( 'fucked up' ),
-                        $this->getHtmlTableCellMock( 'beyond all recognition' )
-                    )
-                ),
-                '<table class="wikitable sortable 
jquery-tablesort"><tr><th>fu</th><th>bar</th></tr><tr><td>fucked 
up</td><td>beyond all recognition</td></tr></table>'
-            )
-        );
-    }
+               return $cellMock;
+       }
 
+       /**
+        * Creates HtmlTableCell mock, which returns only the content when 
calling HtmlTableCell::toHtml()
+        *
+        * @param string $content
+        *
+        * @return \PHPUnit_Framework_MockObject_MockObject
+        */
+       private function getHtmlTableCellMock( $content ) {
+               $cellMock = $this
+                       ->getMockBuilder( 'WikidataQuality\Html\HtmlTableCell' )
+                       ->setConstructorArgs( array ( $content ) )
+                       ->getMock();
+               $cellMock
+                       ->expects( $this->any() )
+                       ->method( 'toHtml' )
+                       ->willReturn( "<td>$content</td>" );
 
-    /**
-     * Creates HtmlHeaderCell mock, which returns only the content when 
calling HtmlHeaderCell::toHtml()
-     * @param string $content
-     * @return \PHPUnit_Framework_MockObject_MockObject
-     */
-    private function getHtmlTableHeaderMock( $content, $isSortable = false ) {
-        $cellMock = $this
-            ->getMockBuilder( 'WikidataQuality\Html\HtmlTableHeader' )
-            ->setConstructorArgs( array( $content, $isSortable ) )
-            ->setMethods( array( 'toHtml' ) )
-            ->getMock();
-        $cellMock
-            ->expects( $this->any() )
-            ->method( 'toHtml' )
-            ->willReturn( "<th>$content</th>" );
-
-        return $cellMock;
-    }
-
-    /**
-     * Creates HtmlTableCell mock, which returns only the content when calling 
HtmlTableCell::toHtml()
-     * @param string $content
-     * @return \PHPUnit_Framework_MockObject_MockObject
-     */
-    private function getHtmlTableCellMock( $content ) {
-        $cellMock = $this
-            ->getMockBuilder( 'WikidataQuality\Html\HtmlTableCell' )
-            ->setConstructorArgs( array( $content ) )
-            ->getMock();
-        $cellMock
-            ->expects( $this->any() )
-            ->method( 'toHtml' )
-            ->willReturn( "<td>$content</td>" );
-
-        return $cellMock;
-    }
+               return $cellMock;
+       }
 }
diff --git a/tests/phpunit/Violations/ViolationLookupTest.php 
b/tests/phpunit/Violations/ViolationLookupTest.php
index 27497a1..8ac41da 100644
--- a/tests/phpunit/Violations/ViolationLookupTest.php
+++ b/tests/phpunit/Violations/ViolationLookupTest.php
@@ -20,7 +20,7 @@
  */
 class ViolationLookupTest extends \MediaWikiTestCase {
 
-       public function testGetOne( ) {
+       public function testGetOne() {
                $violationLookup = new ViolationLookup();
                $violationQuery = new ViolationQuery();
 
diff --git a/tests/phpunit/Violations/ViolationQueryTest.php 
b/tests/phpunit/Violations/ViolationQueryTest.php
index aa889e2..5e067cc 100644
--- a/tests/phpunit/Violations/ViolationQueryTest.php
+++ b/tests/phpunit/Violations/ViolationQueryTest.php
@@ -72,31 +72,31 @@
                $count = count( $queryCondition->toArray() );
 
                $queryCondition->unsetEntityId();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test EntityIdUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test EntityIdUnsetter" );
 
                $queryCondition->unsetPropertyId();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test PropertyIdUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test PropertyIdUnsetter" );
 
                $queryCondition->unsetClaimGuid();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test ClaimGuidUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test ClaimGuidUnsetter" );
 
                $queryCondition->unsetConstraintClaimGuid();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test ConstraintClaimGuidUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test ConstraintClaimGuidUnsetter" );
 
                $queryCondition->unsetConstraintTypeEntityId();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test ConstraintTypeEntityIdUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test ConstraintTypeEntityIdUnsetter" );
 
                $queryCondition->unsetAdditionalInfo();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test AdditionalInfoUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test AdditionalInfoUnsetter" );
 
                $queryCondition->unsetUpdatedAt();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test UpdatedAtUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test UpdatedAtUnsetter" );
 
                $queryCondition->unsetRevisionId();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test RevisionIdUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test RevisionIdUnsetter" );
 
                $queryCondition->unsetStatus();
-               $this->assertEquals( --$count, count( 
$queryCondition->toArray()), "Test StatusUnsetter" );
+               $this->assertEquals( --$count, count( 
$queryCondition->toArray() ), "Test StatusUnsetter" );
 
                $this->assertEquals( 0, $count );
        }
diff --git a/tests/phpunit/Violations/ViolationStoreTest.php 
b/tests/phpunit/Violations/ViolationStoreTest.php
index a549789..8a5185c 100644
--- a/tests/phpunit/Violations/ViolationStoreTest.php
+++ b/tests/phpunit/Violations/ViolationStoreTest.php
@@ -15,7 +15,7 @@
 /**
  * @covers WikidataQuality\Violations\ViolationStore
  *
- * @uses WikidataQuality\Violations\Violation
+ * @uses   WikidataQuality\Violations\Violation
  *
  * @group database
  * @group medium
@@ -89,7 +89,7 @@
 
                $violationStore->insertViolations( $violation );
 
-               $updated = $this->db->selectRow( VIOLATION_TABLE, array( 
'status', 'updated_at' ), array (
+               $updated = $this->db->selectRow( VIOLATION_TABLE, array ( 
'status', 'updated_at' ), array (
                        'claim_guid="P13$1-2-3-4"',
                        'constraint_id="P666$1-2-3-4"'
                ) );
diff --git a/tests/phpunit/Violations/ViolationTest.php 
b/tests/phpunit/Violations/ViolationTest.php
index 6f644e6..5660d9a 100644
--- a/tests/phpunit/Violations/ViolationTest.php
+++ b/tests/phpunit/Violations/ViolationTest.php
@@ -127,7 +127,7 @@
                        ),
                        array (
                                $entityId,
-                               array( 'pid' => '1234', 'claimGuid' => '1234' ),
+                               array ( 'pid' => '1234', 'claimGuid' => '1234' 
),
                                $constraintClaimGuid,
                                $constraintTypeEntityId,
                                $revisionId,
@@ -137,7 +137,7 @@
                        ),
                        array (
                                $entityId,
-                               array( 'pid' => new PropertyId( 'P1234' ), 
'claimGuid' => 1234 ),
+                               array ( 'pid' => new PropertyId( 'P1234' ), 
'claimGuid' => 1234 ),
                                $constraintClaimGuid,
                                $constraintTypeEntityId,
                                $revisionId,

-- 
To view, visit https://gerrit.wikimedia.org/r/205616
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8fde55add9edfb84c5faf651baa6e59dd6f3c1f6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataQuality
Gerrit-Branch: master
Gerrit-Owner: Jonaskeutel <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to