Passed
Pull Request — master (#1859)
by
unknown
09:35 queued 04:32
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
@@ -28,9 +28,12 @@
 block discarded – undo
28 28
     <?php // This is a more mininal style of entry, don't use the header structure, just print the xml content?>
29 29
     <?php if ($entry->content_format == "xml") : ?>
30 30
         <?= $entry->content ?>
31
-    <?php else: ?>
31
+    <?php else {
32
+    : ?>
32 33
         <p class="interest-content"><?= htmlspecialchars($entry->content) ?></p>
33
-    <?php endif; ?>
34
+    <?php endif;
35
+}
36
+?>
34 37
 <?php endif; ?>
35 38
 
36 39
     </ul>
Please login to merge, or discard this patch.