Passed
Push — 2.1 ( 17ffa4...135b85 )
by Greg
09:13
created
app/SessionDatabaseHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
             // Only update session once a minute to reduce contention on the session table.
92 92
             if (date('Y-m-d H:i:s', time() - 60) > $this->row->session_time) {
93
-                $updates['session_time'] =  date('Y-m-d H:i:s');
93
+                $updates['session_time'] = date('Y-m-d H:i:s');
94 94
             }
95 95
 
96 96
             if ($updates !== []) {
Please login to merge, or discard this patch.
app/Statistics.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1245,7 +1245,7 @@  discard block
 block discarded – undo
1245 1245
 
1246 1246
     public function latestUserRegDate(?string $format = null): string
1247 1247
     {
1248
-        $format    ??= I18N::dateFormat();
1248
+        $format ??= I18N::dateFormat();
1249 1249
         $user      = $this->user_service->find($this->data->latestUserId()) ?? Auth::user();
1250 1250
         $timestamp = (int) $user->getPreference(UserInterface::PREF_TIMESTAMP_REGISTERED);
1251 1251
 
@@ -1258,7 +1258,7 @@  discard block
 block discarded – undo
1258 1258
 
1259 1259
     public function latestUserRegTime(?string $format = null): string
1260 1260
     {
1261
-        $format    ??= I18N::timeFormat();
1261
+        $format ??= I18N::timeFormat();
1262 1262
         $user      = $this->user_service->find($this->data->latestUserId()) ?? Auth::user();
1263 1263
         $timestamp = (int) $user->getPreference(UserInterface::PREF_TIMESTAMP_REGISTERED);
1264 1264
 
Please login to merge, or discard this patch.
app/Services/SearchService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
                     ->where('wife_name.n_type', '<>', '_MARNM');
127 127
             });
128 128
 
129
-        $field  = new Expression('COALESCE(' . DB::prefix('husb_name') . ".n_full, '') || COALESCE(" . DB::prefix('wife_name') . ".n_full, '')");
129
+        $field = new Expression('COALESCE(' . DB::prefix('husb_name') . ".n_full, '') || COALESCE(" . DB::prefix('wife_name') . ".n_full, '')");
130 130
 
131 131
         $this->whereTrees($query, 'f_file', $trees);
132 132
         $this->whereSearch($query, $field, $search);
Please login to merge, or discard this patch.
app/Services/MapDataService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
                 'child_count' => (int) $row->child_count,
251 251
                 'no_coord'    => (int) $row->no_coord,
252 252
             ])
253
-            ->sort(static fn (object $x, object $y): int => I18N::comparator()($x->place, $y->place));
253
+            ->sort(static fn (object $x, object $y) : int => I18N::comparator()($x->place, $y->place));
254 254
     }
255 255
 
256 256
     public function writeLatitude(float $latitude): string
Please login to merge, or discard this patch.
app/StatisticsData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -807,7 +807,7 @@  discard block
 block discarded – undo
807 807
             ->orderBy('d_julianday1', $ascending ? 'ASC' : 'DESC')
808 808
             ->limit(1)
809 809
             ->get()
810
-            ->map(static fn (object $row): object => (object) [
810
+            ->map(static fn (object $row) : object => (object) [
811 811
                 'id'   => $row->id,
812 812
                 'year' => (int) $row->year,
813 813
                 'fact' => $row->fact,
@@ -1146,7 +1146,7 @@  discard block
 block discarded – undo
1146 1146
             ->select(['individuals.*', new Expression(DB::prefix('death.d_julianday2') . ' - ' . DB::prefix('birth.d_julianday1') . ' AS days')])
1147 1147
             ->take(1)
1148 1148
             ->get()
1149
-            ->map(fn (object $row): object => (object) [
1149
+            ->map(fn (object $row) : object => (object) [
1150 1150
                 'individual' => Registry::individualFactory()->mapper($this->tree)($row),
1151 1151
                 'days'       => (int) $row->days
1152 1152
             ])
Please login to merge, or discard this patch.
app/Module/IndividualFactsTabModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
             ->flatten();
116 116
 
117 117
         // Don't show family meta-data tags
118
-        $exclude_facts  = new Collection(['FAM:CHAN', 'FAM:_UID', 'FAM:UID', 'FAM:SUBM']);
118
+        $exclude_facts = new Collection(['FAM:CHAN', 'FAM:_UID', 'FAM:UID', 'FAM:SUBM']);
119 119
         // Don't show tags that are shown in tabs or sidebars
120 120
         $exclude_facts = $exclude_facts->merge($sidebar_facts)->merge($tab_facts);
121 121
 
Please login to merge, or discard this patch.