Passed
Pull Request — master (#1859)
by
unknown
46:36 queued 09:44
created
www/includes/easyparliament/templates/html/misc/_register_field.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,12 +13,15 @@
 block discarded – undo
13 13
             <?php $detail = $upper_detail; ?>
14 14
         </ul>
15 15
         </li>
16
-    <?php else : ?>
16
+    <?php else {
17
+    : ?>
17 18
         <?php if ($detail->has_value()): ?>
18 19
         <li class="interest-detail">
19 20
             <span class="interest-detail-name"><?= $detail->display_as ?>: </span>
20 21
             <span class="interest-detail-value"><?= htmlspecialchars($detail->value) ?></span>
21 22
         </li>
22
-        <?php endif; ?>
23
+        <?php endif;
24
+}
25
+?>
23 26
 
24 27
     <?php endif; ?>
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/misc/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.
www/includes/easyparliament/templates/html/misc/_register_entry.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,14 +22,17 @@
 block discarded – undo
22 22
             <?php endif; ?>
23 23
         </ul>
24 24
 
25
-    <?php else: ?>
25
+    <?php else {
26
+    : ?>
26 27
     <?php if ($entry->content): ?>
27 28
         <?php // This is a more mininal style of entry, don't use the header structure, just print the xml content?>
28 29
         <?php if ($entry->content_format == "xml") : ?>
29 30
             <?= $entry->content ?>
30 31
         <?php else: ?>
31 32
             <p class="interest-content"><?= htmlspecialchars($entry->content) ?></p>
32
-        <?php endif; ?>
33
+        <?php endif;
34
+}
35
+?>
33 36
     <?php endif; ?>
34 37
 <?php endif; ?>
35 38
 
Please login to merge, or discard this patch.