Passed
Push — master ( 6d513d...f4b518 )
by Matthew
04:47
created
www/includes/easyparliament/templates/html/search/results.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@  discard block
 block discarded – undo
9 9
         <div class="search-page__section search-page__section--results">
10 10
             <div class="search-page__section__primary">
11 11
               <?php
12
-              # XXX Hack
13
-              if (preg_match('#winter\s+f[eu]el#i', $searchstring)) { ?>
12
+                # XXX Hack
13
+                if (preg_match('#winter\s+f[eu]el#i', $searchstring)) { ?>
14 14
                 <h3 style="margin-bottom: 1em;" class="search-result__title"><a href="https://www.theyworkforyou.com/debates/?id=2024-09-10a.712.0">⭐️ Read the debate on the winter fuel regulations</a></h3>
15 15
               <?php
16
-              }
17
-              if (preg_match('#budget#i', $searchstring)) { ?>
16
+                }
17
+                if (preg_match('#budget#i', $searchstring)) { ?>
18 18
                 <h3 class="search-result__title"><a href="https://www.theyworkforyou.com/debates/?id=2024-10-30a.811.0#g811.2">Read the Budget speech</a></h3>
19 19
               <?php } ?>
20 20
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                 <h2>
66 66
                   <?php
67 67
                             $term = sprintf('<em class="current-search-term">%s</em>', _htmlentities($searchdescription));
68
-                  if ($pagination_links) { ?>
68
+                    if ($pagination_links) { ?>
69 69
                     <?= sprintf(gettext('Results %s–%s of %s for %s'), $pagination_links['first_result'], $pagination_links['last_result'], $info['total_results'], $term) ?>
70 70
                   <?php } elseif ($info['total_results'] == 1) { ?>
71 71
                     <?= sprintf(gettext('The only result for %s'), $term) ?>
Please login to merge, or discard this patch.