Test Failed
Push — ip-ranges ( af8775 )
by MusikAnimal
07:44
created
src/AppBundle/Repository/ProjectRepository.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -330,9 +330,9 @@
 block discarded – undo
330 330
     {
331 331
         $pageTable = $this->getTableName($project->getDatabaseName(), 'page');
332 332
         $query = "SELECT page_id "
333
-             . " FROM $pageTable "
334
-             . " WHERE page_namespace = :ns AND page_title = :title AND page_len > 0 "
335
-             . " LIMIT 1";
333
+                . " FROM $pageTable "
334
+                . " WHERE page_namespace = :ns AND page_title = :title AND page_len > 0 "
335
+                . " LIMIT 1";
336 336
         $params = [
337 337
             'ns' => $namespaceId,
338 338
             'title' => str_replace(' ', '_', $pageTitle),
Please login to merge, or discard this patch.
src/AppBundle/Model/ArticleInfo.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1319,10 +1319,10 @@
 block discarded – undo
1319 1319
         // Slice to the top 10.
1320 1320
         $topTenEditorsByAdded = array_keys(array_slice($topTenEditorsByAdded, 0, 10, true));
1321 1321
 
1322
-         // Get the sum of added text so that we can add in percentages.
1323
-         $topTenTotalAdded = array_sum(array_map(function ($editor) {
1324
-             return $this->editors[$editor]['added'];
1325
-         }, $topTenEditorsByAdded));
1322
+            // Get the sum of added text so that we can add in percentages.
1323
+            $topTenTotalAdded = array_sum(array_map(function ($editor) {
1324
+                return $this->editors[$editor]['added'];
1325
+            }, $topTenEditorsByAdded));
1326 1326
 
1327 1327
         // Then build a new array of top 10 editors by added text in the data structure needed for the chart.
1328 1328
         return array_map(function ($editor) use ($topTenTotalAdded) {
Please login to merge, or discard this patch.
src/AppBundle/Controller/XtoolsController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -434,8 +434,9 @@
 block discarded – undo
434 434
         // Allow querying for any IP, currently with no edit count limitation...
435 435
         // Once T188677 is resolved IPs will be affected by the EXPLAIN results.
436 436
         if ($user->isAnon()) {
437
-            if ($user->isIpRange() && )
438
-            return $user;
437
+            if ($user->isIpRange() && ) {
438
+                        return $user;
439
+            }
439 440
         }
440 441
 
441 442
         $originalParams = $this->params;
Please login to merge, or discard this patch.