Passed
Pull Request — master (#1859)
by
unknown
06:03
created
www/includes/easyparliament/templates/html/homepage/devolved-list.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-$nav_items =  [
2
+$nav_items = [
3 3
     ['hansard', 'alldebatesfront', 'mps', 'peers', 'interests_home', 'wranswmsfront', 'divisions_recent_commons', 'divisions_recent_lords'],
4
-    ['sp_home', 'sp_home', 'spdebatesfront', 'msps',  'spwransfront', 'divisions_recent_sp'],
4
+    ['sp_home', 'sp_home', 'spdebatesfront', 'msps', 'spwransfront', 'divisions_recent_sp'],
5 5
     ['wales_home', 'wales_home', 'wales_debates', 'mss', 'welshlanguage', 'divisions_recent_wales'],
6 6
     ['ni_home', 'ni_home', 'nioverview', 'mlas'],
7 7
 ];
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/interests/highlighted_2024.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
                                     <th>MP's comment</th>
54 54
                                 </tr>
55 55
                     <?php foreach ($register->persons as $person) { ?>
56
-                        <?php foreach($person->categories as $category) { ?>
56
+                        <?php foreach ($person->categories as $category) { ?>
57 57
                             <?php if ($category->category_id != $category_id) { ?>
58 58
                                 <?php continue; ?>
59 59
                             <?php }; ?>
Please login to merge, or discard this patch.
classes/Renderer/Header.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
         if ($nextprev) {
171 171
             // Four different kinds of back/forth links we might build.
172
-            $links =  ["first", "prev", "up", "next", "last"];
172
+            $links = ["first", "prev", "up", "next", "last"];
173 173
 
174 174
             foreach ($links as $type) {
175 175
                 if ($link = $this->generate_next_prev_link($nextprev, $type)) {
@@ -307,9 +307,9 @@  discard block
 block discarded – undo
307 307
         // Page names mapping to those in metadata.php.
308 308
         // Links in the top menu, and the sublinks we see if
309 309
         // we're within that section.
310
-        $nav_items =  [
310
+        $nav_items = [
311 311
             ['home'],
312
-            ['hansard', 'mps', 'peers', 'alldebatesfront', 'interests_home', 'wranswmsfront', 'pbc_front', 'divisions_recent_commons', 'divisions_recent_lords',  'calendar_summary'],
312
+            ['hansard', 'mps', 'peers', 'alldebatesfront', 'interests_home', 'wranswmsfront', 'pbc_front', 'divisions_recent_commons', 'divisions_recent_lords', 'calendar_summary'],
313 313
             ['sp_home', 'spoverview', 'msps', 'spdebatesfront', 'divisions_recent_sp'], #'spwransfront'
314 314
             ['ni_home', 'nioverview', 'mlas'],
315 315
             ['wales_home', 'seneddoverview', 'mss', 'wales_debates', 'divisions_recent_wales'],
Please login to merge, or discard this patch.