Passed
Push — main ( b91537...7e8737 )
by Greg
18:39 queued 08:48
created
resources/lang/en-US/messages.php 2 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array (
4
-  ' but the details are unknown' => ' but the details are unknown',
5
-  '%H:%i:%s' => '%g:%i:%s %a',
6
-  '%j %F %Y' => '%F %j, %Y',
7
-  'Asunción, Paraguay' => 'Asuncion, Paraguay',
8
-  'Bogotá, Colombia' => 'Bogota, Colombia',
9
-  'Ciudad Juárez, Mexico' => 'Ciudad Juarez, Mexico',
10
-  'Colonia Juárez, Mexico' => 'Colonia Juarez, Mexico',
11
-  'Curaçao' => 'Curacao',
12
-  'Córdoba, Argentina' => 'Cordoba, Argentina',
13
-  'Côte d’Ivoire' => 'Cote d’Ivoire',
14
-  'Réunion' => 'Reunion',
15
-  'Saint Barthélemy' => 'Saint Barthelemy',
16
-  'San José, Costa Rica' => 'San Jose, Costa Rica',
17
-  'São Paulo, Brazil' => 'Sao Paulo, Brazil',
18
-  'Tuxtla Gutiérrez, Mexico' => 'Tuxtla Gutierrez, Mexico',
19
-  'Åland Islands' => 'Aland Islands',
4
+    ' but the details are unknown' => ' but the details are unknown',
5
+    '%H:%i:%s' => '%g:%i:%s %a',
6
+    '%j %F %Y' => '%F %j, %Y',
7
+    'Asunción, Paraguay' => 'Asuncion, Paraguay',
8
+    'Bogotá, Colombia' => 'Bogota, Colombia',
9
+    'Ciudad Juárez, Mexico' => 'Ciudad Juarez, Mexico',
10
+    'Colonia Juárez, Mexico' => 'Colonia Juarez, Mexico',
11
+    'Curaçao' => 'Curacao',
12
+    'Córdoba, Argentina' => 'Cordoba, Argentina',
13
+    'Côte d’Ivoire' => 'Cote d’Ivoire',
14
+    'Réunion' => 'Reunion',
15
+    'Saint Barthélemy' => 'Saint Barthelemy',
16
+    'San José, Costa Rica' => 'San Jose, Costa Rica',
17
+    'São Paulo, Brazil' => 'Sao Paulo, Brazil',
18
+    'Tuxtla Gutiérrez, Mexico' => 'Tuxtla Gutierrez, Mexico',
19
+    'Åland Islands' => 'Aland Islands',
20 20
 );
Please login to merge, or discard this 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
   ' but the details are unknown' => ' but the details are unknown',
5 5
   '%H:%i:%s' => '%g:%i:%s %a',
6 6
   '%j %F %Y' => '%F %j, %Y',
Please login to merge, or discard this patch.
app/Cli/Commands/ConfigIni.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
             'dbcert'       => $this->stringOption(input: $input, name: 'dbcert'),
82 82
             'dbca'         => $this->stringOption(input: $input, name: 'dbca'),
83 83
             'dbverify'     => $this->boolOption(input: $input, name: 'dbverify') ? '1' : '0',
84
-            'tblpfx'       => $this->stringOption(input: $input, name: 'tblpfx'),
85
-            'base_url'     => rtrim(string: $this->stringOption(input: $input, name: 'base-url'), characters: '/'),
86
-            'rewrite_urls' => $this->boolOption(input: $input, name: 'rewrite-urls') ? '1' : '0',
87
-            'block_asn'    => $this->stringOption(input: $input, name: 'block-asn'),
84
+            'tblpfx'       => $this->stringOption(input : $input, name : 'tblpfx'),
85
+            'base_url'     => rtrim(string : $this->stringOption(input : $input, name : 'base-url'), characters : '/'),
86
+            'rewrite_urls' => $this->boolOption(input : $input, name : 'rewrite-urls') ? '1' : '0',
87
+            'block_asn'    => $this->stringOption(input : $input, name : 'block-asn'),
88 88
         ];
89 89
 
90 90
         foreach ($config as $key => $value) {
Please login to merge, or discard this patch.
app/Services/MapDataService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * @param list<int> $parent_place_ids
166 166
      */
167
-    public function deleteUnusedLocations(int|null $parent_location_id, array $parent_place_ids): void
167
+    public function deleteUnusedLocations(int | null $parent_location_id, array $parent_place_ids): void
168 168
     {
169 169
         if ($parent_location_id === null) {
170 170
             $location_query = DB::table('place_location')
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      *
200 200
      * @return Collection<int,object{id:int,key:string,place:string,latitude:float|null,longitude:float|null,child_count:int,no_coord:int}>
201 201
      */
202
-    public function getPlaceListLocation(int|null $parent_id): Collection
202
+    public function getPlaceListLocation(int | null $parent_id): Collection
203 203
     {
204 204
         $expression =
205 205
             DB::prefix('p1') . '.place IS NOT NULL AND ' . DB::prefix('p1') . 'p1.latitude IS NULL OR ' .
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
                 'child_count' => (int) $row->child_count,
249 249
                 'no_coord'    => (int) $row->no_coord,
250 250
             ])
251
-            ->sort(static fn (object $x, object $y): int => I18N::comparator()($x->place, $y->place));
251
+            ->sort(static fn (object $x, object $y) : int => I18N::comparator()($x->place, $y->place));
252 252
     }
253 253
 
254 254
     public function writeLatitude(float $latitude): string
Please login to merge, or discard this patch.
app/Services/SearchService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 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);
@@ -1068,7 +1068,7 @@  discard block
 block discarded – undo
1068 1068
      * @param Expression<string>|string $column
1069 1069
      * @param array<string>             $search_terms
1070 1070
      */
1071
-    private function whereSearch(Builder $query, Expression|string $column, array $search_terms): void
1071
+    private function whereSearch(Builder $query, Expression | string $column, array $search_terms): void
1072 1072
     {
1073 1073
         foreach ($search_terms as $search_term) {
1074 1074
             $query->where($column, DB::iLike(), '%' . addcslashes($search_term, '\\%_') . '%');
Please login to merge, or discard this patch.