Passed
Push — dbal ( ab3180...545eb7 )
by Greg
19:11 queued 12:15
created
app/Services/GedcomEditService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                 }
158 158
             }
159 159
 
160
-            if ($values[$i] !== '' || $children_with_values  && !$element instanceof AbstractXrefElement) {
160
+            if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) {
161 161
                 if ($values[$i] === '') {
162 162
                     $gedcom_lines[] = $levels[$i] . ' ' . $tags[$i];
163 163
                 } else {
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      *
232 232
      * @return array<string>
233 233
      */
234
-    public function factsToAdd(Family|Individual $record, bool $include_hidden): array
234
+    public function factsToAdd(Family | Individual $record, bool $include_hidden): array
235 235
     {
236 236
         $subtags = Registry::elementFactory()->make($record->tag())->subtags();
237 237
 
Please login to merge, or discard this patch.
app/Helpers/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
  *
115 115
  * @return ResponseInterface
116 116
  */
117
-function response(array|object|string $content = '', int $code = StatusCodeInterface::STATUS_OK, array $headers = []): ResponseInterface
117
+function response(array | object | string $content = '', int $code = StatusCodeInterface::STATUS_OK, array $headers = []): ResponseInterface
118 118
 {
119 119
     return Registry::responseFactory()->response($content, $code, $headers);
120 120
 }
Please login to merge, or discard this patch.
app/Services/UpgradeService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@
 block discarded – undo
301 301
     {
302 302
         $latest_version = $this->fetchLatestVersion(false);
303 303
 
304
-        [, , $url] = explode('|', $latest_version . '||');
304
+        [,, $url] = explode('|', $latest_version . '||');
305 305
 
306 306
         return $url;
307 307
     }
Please login to merge, or discard this patch.
app/DB/Column.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
         private readonly bool $unsigned = false,
38 38
         private readonly bool $fixed = false,
39 39
         private readonly bool $nullable = false,
40
-        private readonly float|int|string|null $default = null,
40
+        private readonly float | int | string | null $default = null,
41 41
         private readonly bool $autoincrement = false,
42
-        private readonly string|null $collation = null,
42
+        private readonly string | null $collation = null,
43 43
     ) {
44 44
     }
45 45
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         );
61 61
     }
62 62
 
63
-    public function default(float|int|string $default): self
63
+    public function default(float | int | string $default): self
64 64
     {
65 65
         return new self(
66 66
             name: $this->name,
Please login to merge, or discard this patch.
app/DB/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
         return (object) [];
108 108
     }
109 109
 
110
-    public function first(): string|int|float|null
110
+    public function first(): string | int | float | null
111 111
     {
112 112
         return 0;
113 113
     }
Please login to merge, or discard this patch.
app/Services/SearchService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1070,7 +1070,7 @@
 block discarded – undo
1070 1070
      * @param Expression|string $column
1071 1071
      * @param array<string>     $search_terms
1072 1072
      */
1073
-    private function whereSearch(Builder $query, Expression|string $column, array $search_terms): void
1073
+    private function whereSearch(Builder $query, Expression | string $column, array $search_terms): void
1074 1074
     {
1075 1075
         foreach ($search_terms as $search_term) {
1076 1076
             $query->where($column, $this->iLike(), '%' . addcslashes($search_term, '\\%_') . '%');
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
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 
115 115
             // Only update session once a minute to reduce contention on the session table.
116 116
             if ($now->subtractMinutes(1)->timestamp() > Registry::timestampFactory()->fromString($this->row->session_time)->timestamp()) {
117
-                $updates['session_time'] =  $now->toDateTimeString();
117
+                $updates['session_time'] = $now->toDateTimeString();
118 118
             }
119 119
 
120 120
             if ($updates !== []) {
Please login to merge, or discard this patch.
app/Contracts/MarkdownFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @return string
34 34
      */
35
-    public function autolink(string $markdown, Tree|null $tree = null): string;
35
+    public function autolink(string $markdown, Tree | null $tree = null): string;
36 36
 
37 37
     /**
38 38
      * @param string    $markdown
@@ -40,5 +40,5 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @return string
42 42
      */
43
-    public function markdown(string $markdown, Tree|null $tree = null): string;
43
+    public function markdown(string $markdown, Tree | null $tree = null): string;
44 44
 }
Please login to merge, or discard this patch.
app/Elements/AbstractElement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      * @param string             $label
79 79
      * @param array<string>|null $subtags
80 80
      */
81
-    public function __construct(string $label, array|null $subtags = null)
81
+    public function __construct(string $label, array | null $subtags = null)
82 82
     {
83 83
         $this->label   = $label;
84 84
         $this->subtags = $subtags ?? static::SUBTAGS;
Please login to merge, or discard this patch.