Passed
Push — dependabot/npm_and_yarn/scss-t... ( 60cc5d...84306d )
by
unknown
44:47 queued 26:09
created
src/Repository/UserRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * This file contains only the UserRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
Please login to merge, or discard this patch.
src/Repository/EditSummaryRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * This file contains only the EditSummaryRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
Please login to merge, or discard this patch.
src/Repository/PagesRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * This file contains only the PagesRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
Please login to merge, or discard this patch.
src/Repository/SimpleEditCounterRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * This file contains only the SimpleEditCounterRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         $revDateConditions = $this->getDateConditions($start, $end, false, "$ipcTable.", 'ipc_rev_timestamp');
123 123
         [$startHex, $endHex] = IPUtils::parseRange($user->getUsername());
124 124
 
125
-        $revNamespaceJoinSql = 'all' === $namespace ? '' : "JOIN $revTable ON rev_id = ipc_rev_id " .
125
+        $revNamespaceJoinSql = 'all' === $namespace ? '' : "JOIN $revTable ON rev_id = ipc_rev_id ".
126 126
             "JOIN $pageTable ON rev_page = page_id";
127 127
         $revNamespaceWhereSql = 'all' === $namespace ? '' : "AND page_namespace = $namespace";
128 128
 
Please login to merge, or discard this patch.
src/Repository/CategoryEditsRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * This file contains only the CategoryEditsRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
Please login to merge, or discard this patch.
src/Repository/AdminScoreRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * This file contains only the AdminScoreRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
Please login to merge, or discard this patch.
src/Repository/UserRightsRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * This file contains only the UserRightsRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             return $this->cache->getItem($cacheKey)->get();
118 118
         }
119 119
 
120
-        $rightsPaths = array_map(function ($right) {
120
+        $rightsPaths = array_map(function($right) {
121 121
             return "Group-$right-member";
122 122
         }, $this->getRawRightsNames($project));
123 123
 
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
                 FROM $revisionTable
261 261
                 WHERE rev_actor = :actorId
262 262
                 AND rev_timestamp >= $offset
263
-                LIMIT 1 OFFSET ".($edits - 1);
263
+                LIMIT 1 OFFSET ".($edits-1);
264 264
 
265 265
         $ret = $this->executeProjectsQuery($project, $sql, [
266 266
             'actorId' => $user->getActorId($project),
Please login to merge, or discard this patch.
src/Repository/AdminStatsRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * This file contains only the AdminStatsRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
Please login to merge, or discard this patch.
src/Repository/AutoEditsRepository.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * This file contains only the AutoEditsRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace App\Repository;
9 9
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
         if ('all' !== $namespace) {
56 56
             // Limit by namespace.
57
-            return array_filter($this->aeTools, function (array $tool) use ($namespace) {
57
+            return array_filter($this->aeTools, function(array $tool) use ($namespace) {
58 58
                 return empty($tool['namespaces']) ||
59 59
                     in_array((int)$namespace, $tool['namespaces']) ||
60 60
                     (
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             $tagJoin = "LEFT OUTER JOIN $tagTable ON ct_rev_id = rev_id";
151 151
             $condTools[] = "ct_tag_id IN ($tagIds)";
152 152
         }
153
-        $condTool = 'AND (' . implode(' OR ', $condTools) . ')';
153
+        $condTool = 'AND ('.implode(' OR ', $condTools).')';
154 154
 
155 155
         $sql = "SELECT COUNT(DISTINCT(rev_id))
156 156
                 FROM $revisionTable
@@ -395,8 +395,8 @@  discard block
 block discarded – undo
395 395
         }
396 396
 
397 397
         // Sort the array by count
398
-        uasort($results, function ($a, $b) {
399
-            return $b['count'] - $a['count'];
398
+        uasort($results, function($a, $b) {
399
+            return $b['count']-$a['count'];
400 400
         });
401 401
 
402 402
         // Cache and return.
@@ -587,7 +587,7 @@  discard block
 block discarded – undo
587 587
             if (isset($values['tags'])) {
588 588
                 $tags = array_merge(
589 589
                     $tags,
590
-                    array_map(function ($tag) use ($conn) {
590
+                    array_map(function($tag) use ($conn) {
591 591
                         return $conn->quote($tag, PDO::PARAM_STR);
592 592
                     }, $values['tags'])
593 593
                 );
@@ -623,7 +623,7 @@  discard block
 block discarded – undo
623 623
 
624 624
         if ($tagExcludes && 1 === count($tagIds)) {
625 625
             // Get tag IDs, filtering out those for which no ID exists (meaning there is no local tag for that tool).
626
-            $excludesList = implode(',', array_filter(array_map(function ($tagName) use ($project) {
626
+            $excludesList = implode(',', array_filter(array_map(function($tagName) use ($project) {
627 627
                 return $this->getTags($project)[$tagName] ?? null;
628 628
             }, $tagExcludes)));
629 629
 
Please login to merge, or discard this patch.