Passed
Push — main ( 4af4e3...301dad )
by Greg
06:18
created
app/Module/IndividualListModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
         $surname_initials = $this->surnameInitials($surname_data);
217 217
 
218 218
         // We've requested a surname that doesn't currently exist.
219
-        if ($surname !== ''  && !array_key_exists($surname, $all_surns)) {
219
+        if ($surname !== '' && !array_key_exists($surname, $all_surns)) {
220 220
             $message = I18N::translate('There are no individuals with the surname ā€œ%sā€', e($surname));
221 221
             FlashMessages::addMessage($message);
222 222
 
@@ -604,7 +604,7 @@  discard block
 block discarded – undo
604 604
             ->groupBy([DB::binaryColumn('n_givn')]);
605 605
 
606 606
         foreach ($query->get() as $row) {
607
-            $initial            = I18N::strtoupper(I18N::language()->initialLetter($row->n_givn));
607
+            $initial = I18N::strtoupper(I18N::language()->initialLetter($row->n_givn));
608 608
             $initials[$initial] ??= 0;
609 609
             $initials[$initial] += (int) $row->count;
610 610
         }
Please login to merge, or discard this patch.
app/Cli/Commands/UserList.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,10 +81,10 @@
 block discarded – undo
81 81
                 $user->realName(),
82 82
                 $user->email(),
83 83
                 Auth::isAdmin(user: $user) ? 'Yes' : 'No',
84
-                $user->getPreference(setting_name: UserInterface::PREF_IS_ACCOUNT_APPROVED) ? 'Yes' : 'No',
85
-                $user->getPreference(setting_name: UserInterface::PREF_IS_EMAIL_VERIFIED) ? 'Yes' : 'No',
86
-                $user->getPreference(setting_name: UserInterface::PREF_LANGUAGE),
87
-                $user->getPreference(setting_name: UserInterface::PREF_TIME_ZONE),
84
+                $user->getPreference(setting_name : UserInterface::PREF_IS_ACCOUNT_APPROVED) ? 'Yes' : 'No',
85
+                $user->getPreference(setting_name : UserInterface::PREF_IS_EMAIL_VERIFIED) ? 'Yes' : 'No',
86
+                $user->getPreference(setting_name : UserInterface::PREF_LANGUAGE),
87
+                $user->getPreference(setting_name : UserInterface::PREF_TIME_ZONE),
88 88
                 $registered,
89 89
                 $last_login,
90 90
             ]);
Please login to merge, or discard this patch.
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.