Passed
Push — analysis-q56j02 ( 706287 )
by Greg
12:36 queued 04:27
created
app/Http/Controllers/ListController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
                     <li class="wt-initials-list-item">
216 216
                         <?php if ($count > 0): ?>
217 217
                             <a href="<?= e(route($route, ['alpha' => $letter, 'ged' => $tree->getName()])) ?>" class="wt-initial<?= $letter === $alpha ? ' active' : ''?> '" title="<?= I18N::number($count) ?>"><?= $this->surnameInitial((string) $letter) ?></a>
218
-                        <?php else: ?>
218
+                        <?php else : ?>
219 219
                             <span class="wt-initial text-muted"><?= $this->surnameInitial((string) $letter) ?></span>
220 220
 
221 221
                         <?php endif ?>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,8 @@  discard block
 block discarded – undo
215 215
                     <li class="wt-initials-list-item">
216 216
                         <?php if ($count > 0): ?>
217 217
                             <a href="<?= e(route($route, ['alpha' => $letter, 'ged' => $tree->getName()])) ?>" class="wt-initial<?= $letter === $alpha ? ' active' : ''?> '" title="<?= I18N::number($count) ?>"><?= $this->surnameInitial((string) $letter) ?></a>
218
-                        <?php else: ?>
218
+                        <?php else {
219
+    : ?>
219 220
                             <span class="wt-initial text-muted"><?= $this->surnameInitial((string) $letter) ?></span>
220 221
 
221 222
                         <?php endif ?>
@@ -269,6 +270,7 @@  discard block
 block discarded – undo
269 270
 
270 271
             if ($show === 'indi' || $show === 'surn') {
271 272
                 $surns = $this->surnames($tree, $surname, $alpha, $show_marnm === 'yes', $families);
273
+}
272 274
                 if ($show === 'surn') {
273 275
                     // Show the surname list
274 276
                     switch ($tree->getPreference('SURNAME_LIST_STYLE')) {
Please login to merge, or discard this patch.
app/Http/Controllers/AdminTreesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -414,7 +414,7 @@
 block discarded – undo
414 414
         ];
415 415
 
416 416
         $access_level = $access_levels[$privatize_export];
417
-        $encoding     =  $convert ? 'ANSI' : 'UTF-8';
417
+        $encoding     = $convert ? 'ANSI' : 'UTF-8';
418 418
 
419 419
         // What to call the downloaded file
420 420
         $download_filename = $tree->getName();
Please login to merge, or discard this patch.