Passed
Push — 2.1 ( 6fb90b...9f0439 )
by Greg
07:50
created
resources/lang/en-US/messages.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return array (
3
+return array(
4 4
   '%H:%i:%s' => '%g:%i:%s %a',
5 5
   '%j %F %Y' => '%F %j, %Y',
6 6
   'Asunción, Paraguay' => 'Asuncion, Paraguay',
Please login to merge, or discard this patch.
app/Factories/TimestampFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function make(int $timestamp, ?UserInterface $user = null): TimestampInterface
47 47
     {
48
-        $user     ??= Auth::user();
48
+        $user ??= Auth::user();
49 49
         $timezone = $user->getPreference(UserInterface::PREF_TIME_ZONE, Site::getPreference('TIMEZONE'));
50 50
         $locale   = I18N::locale()->code();
51 51
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function fromString(?string $string, string $format = 'Y-m-d H:i:s', ?UserInterface $user = null): TimestampInterface
63 63
     {
64
-        $string    ??= date($format);
64
+        $string ??= date($format);
65 65
         $timestamp = date_create_from_format($format, $string);
66 66
 
67 67
         if ($timestamp === false) {
Please login to merge, or discard this patch.
app/Statistics/Repository/MediaRepository.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
             ->where('m_file', '=', $this->tree->id())
251 251
             ->groupBy('source_media_type')
252 252
             ->pluck(new Expression('COUNT(*) AS total'), 'source_media_type')
253
-            ->map(static fn (string $n): int => (int) $n)
253
+            ->map(static fn (string $n) : int => (int) $n)
254 254
             ->all();
255 255
 
256 256
         return (new ChartMedia($this->color_service))
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
@@ -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.