Passed
Push — main ( bc6d9c...b423e9 )
by Greg
16:07 queued 08:14
created
app/Webtrees.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
     /**
241 241
      * Run the application.
242 242
      */
243
-    public function run(string $php_sapi): int|ResponseInterface
243
+    public function run(string $php_sapi): int | ResponseInterface
244 244
     {
245 245
         if ($php_sapi === 'cli') {
246 246
             return $this->bootstrap()->cliRequest();
Please login to merge, or discard this patch.
app/Cli/Commands/UserList.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -72,11 +72,11 @@
 block discarded – undo
72 72
                 $user->realName(),
73 73
                 $user->email(),
74 74
                 Auth::isAdmin(user: $user) ? 'Yes' : 'No',
75
-                $user->getPreference(setting_name: UserInterface::PREF_IS_ACCOUNT_APPROVED) ? 'Yes' : 'No',
76
-                $user->getPreference(setting_name: UserInterface::PREF_IS_EMAIL_VERIFIED) ? 'Yes' : 'No',
77
-                $user->getPreference(setting_name: UserInterface::PREF_LANGUAGE),
78
-                $user->getPreference(setting_name: UserInterface::PREF_TIME_ZONE),
79
-                $user->getPreference(setting_name: UserInterface::PREF_CONTACT_METHOD),
75
+                $user->getPreference(setting_name : UserInterface::PREF_IS_ACCOUNT_APPROVED) ? 'Yes' : 'No',
76
+                $user->getPreference(setting_name : UserInterface::PREF_IS_EMAIL_VERIFIED) ? 'Yes' : 'No',
77
+                $user->getPreference(setting_name : UserInterface::PREF_LANGUAGE),
78
+                $user->getPreference(setting_name : UserInterface::PREF_TIME_ZONE),
79
+                $user->getPreference(setting_name : UserInterface::PREF_CONTACT_METHOD),
80 80
                 $registered,
81 81
                 $last_login,
82 82
             ]);
Please login to merge, or discard this patch.
app/Factories/ImageFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 $mime_type = Mime::DEFAULT_TYPE;
89 89
             }
90 90
 
91
-            $filename = $download ? addcslashes(string: basename(path: $path), characters: '"') : '';
91
+            $filename = $download ? addcslashes(string : basename(path : $path), characters : '"') : '';
92 92
 
93 93
             return $this->imageResponse(data: $filesystem->read(location: $path), mime_type: $mime_type, filename: $filename);
94 94
         } catch (UnableToReadFile | FilesystemException $ex) {
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             $image     = $this->imageManager()->read(input: $filesystem->readStream($path));
148 148
             $watermark = $this->createWatermark(width: $image->width(), height: $image->height(), media_file: $media_file);
149 149
             $image     = $this->addWatermark(image: $image, watermark: $watermark);
150
-            $filename  = $download ? basename(path: $path) : '';
150
+            $filename  = $download ? basename(path : $path) : '';
151 151
             $quality   = $this->extractImageQuality(image: $image, default: static::GD_DEFAULT_IMAGE_QUALITY);
152 152
             $data      = $image->encodeByMediaType(type: $mime_type, quality:  $quality)->toString();
153 153
 
Please login to merge, or discard this patch.
resources/lang/en-US/messages.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 declare(strict_types=1);
4 4
 
5
-return array (
5
+return array(
6 6
   '%H:%i:%s' => '%g:%i:%s %a',
7 7
   '%j %F %Y' => '%F %j, %Y',
8 8
   'Asunción, Paraguay' => 'Asuncion, Paraguay',
Please login to merge, or discard this patch.