Passed
Push — master ( 4fa4a5...063107 )
by Greg
07:55
created
app/Module/AncestorsChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 {
46 46
     use ModuleChartTrait;
47 47
 
48
-    protected const ROUTE_URL  = '/tree/{tree}/ancestors-{style}-{generations}/{xref}';
48
+    protected const ROUTE_URL = '/tree/{tree}/ancestors-{style}-{generations}/{xref}';
49 49
 
50 50
     // Chart styles
51 51
     public const CHART_STYLE_TREE        = 'tree';
Please login to merge, or discard this patch.
app/Module/LifespansChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 {
47 47
     use ModuleChartTrait;
48 48
 
49
-    protected const ROUTE_URL  = '/tree/{tree}/lifespans';
49
+    protected const ROUTE_URL = '/tree/{tree}/lifespans';
50 50
 
51 51
     // Defaults
52 52
     protected const DEFAULT_PARAMETERS = [];
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/LocationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,8 +294,8 @@
 block discarded – undo
294 294
             if ($parent_id === 0) {
295 295
                 // We're at the global level so create a minimal
296 296
                 // place for the page title and breadcrumbs
297
-                $title         =  I18N::translate('World');
298
-                $hierarchy     =  [];
297
+                $title         = I18N::translate('World');
298
+                $hierarchy     = [];
299 299
             } else {
300 300
                 $hierarchy = $this->getHierarchy($parent_id);
301 301
                 $tmp       = new Location($hierarchy[0]->fqpn);
Please login to merge, or discard this patch.
app/Http/Middleware/HandleExceptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             if (error_get_last() !== null && error_get_last()['type'] & E_ERROR) {
83 83
                 // If PHP does not display the error, then we must display it.
84 84
                 if (ini_get('display_errors') !== '1') {
85
-                    echo error_get_last()['message'], '<br><br>', error_get_last()['file'] , ': ', error_get_last()['line'];
85
+                    echo error_get_last()['message'], '<br><br>', error_get_last()['file'], ': ', error_get_last()['line'];
86 86
                 }
87 87
                 // Not our fault?
88 88
                 if (strpos(error_get_last()['file'], '/modules_v4/') !== false) {
Please login to merge, or discard this patch.
app/Functions/FunctionsPrint.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
                     if ($note->canShow()) {
137 137
                         $noterec = $note->gedcom();
138 138
                         $nt      = preg_match("/0 @$nmatch[1]@ NOTE (.*)/", $noterec, $n1match);
139
-                        $data    .= self::printNoteRecord($tree, $nt > 0 ? $n1match[1] : '', 1, $noterec);
139
+                        $data .= self::printNoteRecord($tree, $nt > 0 ? $n1match[1] : '', 1, $noterec);
140 140
                     }
141 141
                 } else {
142 142
                     $data = '<div class="fact_NOTE"><span class="label">' . I18N::translate('Note') . '</span>: <span class="field error">' . $nmatch[1] . '</span></div>';
@@ -335,20 +335,20 @@  discard block
 block discarded – undo
335 335
                 if (preg_match_all('/\n3 (?:_HEB|ROMN) (.+)/', $placerec, $matches)) {
336 336
                     foreach ($matches[1] as $match) {
337 337
                         $wt_place = new Place($match, $tree);
338
-                        $html     .= ' - ' . $wt_place->fullName();
338
+                        $html .= ' - ' . $wt_place->fullName();
339 339
                     }
340 340
                 }
341 341
                 $map_lati = '';
342 342
                 $cts      = preg_match('/\d LATI (.*)/', $placerec, $match);
343 343
                 if ($cts > 0) {
344 344
                     $map_lati = $match[1];
345
-                    $html     .= '<br><span class="label">' . I18N::translate('Latitude') . ': </span>' . $map_lati;
345
+                    $html .= '<br><span class="label">' . I18N::translate('Latitude') . ': </span>' . $map_lati;
346 346
                 }
347 347
                 $map_long = '';
348 348
                 $cts      = preg_match('/\d LONG (.*)/', $placerec, $match);
349 349
                 if ($cts > 0) {
350 350
                     $map_long = $match[1];
351
-                    $html     .= ' <span class="label">' . I18N::translate('Longitude') . ': </span>' . $map_long;
351
+                    $html .= ' <span class="label">' . I18N::translate('Longitude') . ': </span>' . $map_long;
352 352
                 }
353 353
                 if ($map_lati && $map_long) {
354 354
                     $map_lati = trim(strtr($map_lati, 'NSEW,�', ' - -. ')); // S5,6789 ==> -5.6789
Please login to merge, or discard this patch.