Passed
Push — analysis-8mbOPb ( e92f84 )
by Greg
11:52 queued 04:02
created
app/Source.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 {
29 29
     public const RECORD_TYPE = 'SOUR';
30 30
 
31
-    protected const ROUTE_NAME  = 'source';
31
+    protected const ROUTE_NAME = 'source';
32 32
 
33 33
     /**
34 34
      * A closure which will create a record from a database row.
Please login to merge, or discard this patch.
app/Http/Controllers/PendingChangesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     {
95 95
         $url       = $request->get('url', '');
96 96
         $xref      = $request->get('xref', '');
97
-        $change_id = (int)$request->get('change_id');
97
+        $change_id = (int) $request->get('change_id');
98 98
 
99 99
         $changes = DB::table('change')
100 100
             ->where('gedcom_id', '=', $tree->id())
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     {
192 192
         $url       = $request->get('url', '');
193 193
         $xref      = $request->get('xref', '');
194
-        $change_id = (int)$request->get('change_id');
194
+        $change_id = (int) $request->get('change_id');
195 195
 
196 196
         // Reject a change, and subsequent changes to the same record
197 197
         DB::table('change')
Please login to merge, or discard this patch.
app/Http/Controllers/ListController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
                     'ged'      => $tree->name(),
150 150
                     'show_all' => 'yes',
151 151
                 ];
152
-                $show    = $request->get('show', 'surn');
152
+                $show = $request->get('show', 'surn');
153 153
             }
154 154
         } elseif ($surname) {
155 155
             $alpha    = $this->localization_service->initialLetter($surname); // so we can highlight the initial letter
Please login to merge, or discard this patch.
app/Http/Controllers/AdminMediaController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
         $length = (int) $request->get('length');
123 123
 
124 124
         // Files within this folder
125
-        $media_folder  = $request->get('media_folder', '');
125
+        $media_folder = $request->get('media_folder', '');
126 126
 
127 127
         // subfolders within $media_path
128 128
         $subfolders = $request->get('subfolders'); // include|exclude
Please login to merge, or discard this patch.
app/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      */
82 82
     public static function userFromTree(Tree $tree): User
83 83
     {
84
-        return  new static(0, '', $tree->title(),$tree->getPreference('WEBTREES_EMAIL'));
84
+        return  new static(0, '', $tree->title(), $tree->getPreference('WEBTREES_EMAIL'));
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.
app/GedcomRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -478,7 +478,7 @@
 block discarded – undo
478 478
             return true;
479 479
         }
480 480
 
481
-        $cache_key =  'canShow' . $this->xref . ':' . $this->tree->id() . ':' . $access_level;
481
+        $cache_key = 'canShow' . $this->xref . ':' . $this->tree->id() . ':' . $access_level;
482 482
 
483 483
         return app('cache.array')->rememberForever($cache_key, function () use ($access_level) {
484 484
             return $this->canShowRecord($access_level);
Please login to merge, or discard this patch.
app/Module/PedigreeMapModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
                     'provider' => 'openstreetmap',
292 292
                     'style'    => 'mapnik',
293 293
                 ];
294
-                self::$map_providers  = [
294
+                self::$map_providers = [
295 295
                     'openstreetmap' => [
296 296
                         'name'   => 'OpenStreetMap',
297 297
                         'styles' => ['mapnik' => 'Mapnik'],
Please login to merge, or discard this patch.
app/Http/Controllers/HomePageController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -657,7 +657,7 @@
 block discarded – undo
657 657
     private function filterActiveBlocks(Collection $blocks, Collection $active_blocks): Collection
658 658
     {
659 659
         return $blocks->map(function (string $block_name) use ($active_blocks): ?ModuleBlockInterface {
660
-            return $active_blocks->filter(function (ModuleInterface $block) use ($block_name): bool {
660
+            return $active_blocks->filter(function (ModuleInterface $block) use ($block_name) : bool {
661 661
                 return $block->name() === $block_name;
662 662
             })->first();
663 663
         })
Please login to merge, or discard this patch.
app/Module/PedigreeChartModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
             $html = sprintf('<div id="childarrow"><a href="#" class="menuselect %s"></a><div id="childbox-pedigree">', $this->arrows->menu);
417 417
 
418 418
             foreach ($families as $family) {
419
-                $html   .= '<span class="name1">' . I18N::translate('Family') . '</span>';
419
+                $html .= '<span class="name1">' . I18N::translate('Family') . '</span>';
420 420
                 $spouse = $family->getSpouse($root);
421 421
                 if ($spouse) {
422 422
                     $html .= '<a class="name1" href="' . e($this->chartUrl($spouse, ['generations' => $generations, 'orientation' => $orientation])) . '">' . $spouse->getFullName() . '</a>';
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
         $html = '';
463 463
         if ($chart_has_ancestors) {
464 464
             if ($this->nodes[$index]['indi'] && $this->nodes[$index]['indi']->getChildFamilies()) {
465
-                $html         .= '<div class="ancestorarrow">';
465
+                $html .= '<div class="ancestorarrow">';
466 466
                 $rootParentId = 1;
467 467
                 if ($index > (int) ($this->treesize / 2) + (int) ($this->treesize / 4)) {
468 468
                     $rootParentId++;
Please login to merge, or discard this patch.