Passed
Push — 2.1 ( f8fb51...0098cf )
by Greg
15:36 queued 08:02
created
app/GedcomRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
         }
322 322
 
323 323
         // Remove links to missing and private records
324
-        $pattern =  '/\n(\d) ' . Gedcom::REGEX_TAG . ' @(' . Gedcom::REGEX_XREF . ')@/';
324
+        $pattern = '/\n(\d) ' . Gedcom::REGEX_TAG . ' @(' . Gedcom::REGEX_XREF . ')@/';
325 325
         preg_match_all($pattern, $gedcom, $matches, PREG_SET_ORDER);
326 326
 
327 327
         foreach ($matches as $match) {
Please login to merge, or discard this patch.
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/StatisticsData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -810,7 +810,7 @@
 block discarded – undo
810 810
             ->orderBy('d_julianday1', $ascending ? 'ASC' : 'DESC')
811 811
             ->limit(1)
812 812
             ->get()
813
-            ->map(static fn (object $row): object => (object) [
813
+            ->map(static fn (object $row) : object => (object) [
814 814
                 'id'   => $row->id,
815 815
                 'year' => (int) $row->year,
816 816
                 'fact' => $row->fact,
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.