Passed
Push — dependabot/npm_and_yarn/moment... ( 251214 )
by
unknown
13:38
created
app/Services/GedcomEditService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
                 }
155 155
             }
156 156
 
157
-            if ($values[$i] !== '' || $children_with_values  && !$element instanceof AbstractXrefElement) {
157
+            if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) {
158 158
                 if ($values[$i] === '') {
159 159
                     $gedcom_lines[] = $levels[$i] . ' ' . $tags[$i];
160 160
                 } else {
Please login to merge, or discard this patch.
app/Factories/ResponseFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         if (is_string($content)) {
109 109
             $headers['content-type'] ??= 'text/html; charset=UTF-8';
110 110
         } else {
111
-            $content                 = json_encode($content, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE);
111
+            $content = json_encode($content, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE);
112 112
             $headers['content-type'] ??= 'application/json';
113 113
         }
114 114
 
Please login to merge, or discard this patch.
app/Factories/MarkdownFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         $converter = new MarkDownConverter($environment);
105 105
 
106 106
         $html = $converter->convert($markdown)->getContent();
107
-        $html = strtr($html, ["</p>\n<p>" => '<br><br>' ]);
107
+        $html = strtr($html, ["</p>\n<p>" => '<br><br>']);
108 108
 
109 109
         return trim(strip_tags($html, ['a', 'br']));
110 110
     }
Please login to merge, or discard this patch.