Completed
Push — develop ( ffba26...2f8620 )
by Greg
15:14 queued 04:08
created
app/Module/BatchUpdateModule.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,8 @@  discard block
 block discarded – undo
235 235
 					<?php // Reset - otherwise we might "undo all changes", which refreshes the ?>
236 236
 					<?php // page, which makes them all again!  ?>
237 237
 					<script>reset_reload();</script>
238
-			<?php else: ?>
238
+			<?php else {
239
+	: ?>
239 240
 					<hr>
240 241
 					<div id="batch_update2" class="col-sm-12">
241 242
 						<?php if ($this->curr_xref): ?>
@@ -273,6 +274,7 @@  discard block
 block discarded – undo
273 274
 		foreach (array_keys($this->all_xrefs) as $key) {
274 275
 			if ($key > $xref) {
275 276
 				$record = self::getLatestRecord($key, $this->all_xrefs[$key]);
277
+}
276 278
 				if ($this->PLUGIN->doesRecordNeedUpdate($key, $record)) {
277 279
 					return $key;
278 280
 				}
Please login to merge, or discard this patch.
placelist.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,8 @@  discard block
 block discarded – undo
200 200
 			<div class="tab-pane fade show active" role="tabpanel" id="individuals">
201 201
 				<?php if (empty($myindilist)): ?>
202 202
 						<p><?= I18N::translate('No results found.') ?></p>
203
-				<?php else: ?>
203
+				<?php else {
204
+	: ?>
204 205
 						<?= FunctionsPrintLists::individualTable($myindilist) ?>
205 206
 					<?php endif ?>
206 207
 			</div>
@@ -216,6 +217,7 @@  discard block
 block discarded – undo
216 217
 		<?php
217 218
 		}
218 219
 		echo '<h4><a href="placelist.php?display=list">', I18N::translate('Show all places in a list'), '</a></h4>';
220
+}
219 221
 
220 222
 		if ($gm_module && $gm_module->getPreference('GM_PLACE_HIERARCHY')) {
221 223
 			$gm_module->mapScripts($numfound, $level, $parent, $linklevels, $place_names);
Please login to merge, or discard this patch.
resources/views/blocks/changes-list.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,12 @@
 block discarded – undo
3 3
 
4 4
 <?php if ($summary !== ''): ?>
5 5
 	<span class="details_label"><?= $summary ?></span>
6
-<?php else: ?>
6
+<?php else {
7
+	: ?>
7 8
 	<?php foreach ($facts as $fact): ?>
8
-		<?php $record = $fact->getParent(); ?>
9
+		<?php $record = $fact->getParent();
10
+}
11
+?>
9 12
 		<a href="<?= e($record->url()) ?>" class="list_item name2">
10 13
 			<?= $record->getFullName() ?>
11 14
 		</a>
Please login to merge, or discard this patch.
resources/views/tables/surnames.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@  discard block
 block discarded – undo
12 12
 			<th>
13 13
 				<?php if ($route == 'family-list'):?>
14 14
 					<?= I18N::translate('Spouses') ?>
15
-				<?php else: ?>
15
+				<?php else {
16
+	: ?>
16 17
 					<?= I18N::translate('Individuals') ?>
17 18
 				<?php endif ?>
18 19
 			</th>
@@ -43,7 +44,9 @@  discard block
 block discarded – undo
43 44
 					<?php endforeach ?>
44 45
 				</td>
45 46
 
46
-				<td class="text-center" data-sort="<?= array_sum(array_map(function(array $x) { return count($x); }, $surns)) ?>">
47
+				<td class="text-center" data-sort="<?= array_sum(array_map(function(array $x) { return count($x);
48
+}
49
+}, $surns)) ?>">
47 50
 					<?php foreach ($surns as $indis): ?>
48 51
 						<?= I18N::number(count($indis)) ?>
49 52
 						<br>
Please login to merge, or discard this patch.
app/Module/SiteMapModule.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 	public function getFileAction(Request $request): Response {
166 166
 		$file = $request->get('file', '');
167 167
 
168
-		if (!preg_match('/^(\d+)-([imnrs])-(\d+)$/', $file, $match))		 {
168
+		if (!preg_match('/^(\d+)-([imnrs])-(\d+)$/', $file, $match)) {
169 169
 			throw new NotFoundHttpException('Bad sitemap file');
170 170
 		}
171 171
 
Please login to merge, or discard this patch.