Passed
Push — master ( 258ce5...4bea9d )
by Stanislau
07:55 queued 03:19
created
templates/views/logs.html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             <td>
36 36
                 <?= $this->formatLogMessage($log['message'], $log['context']); ?>
37 37
                 <?php if ($log['context']) { ?>
38
-                    <pre class="text-muted prewrap m-t-5"><?= $this->escape(json_encode($log['context'], \JSON_PRETTY_PRINT | \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES)); ?></pre>
38
+                    <pre class="text-muted prewrap m-t-5"><?= $this->escape(json_encode($log['context'], \JSON_PRETTY_PRINT|\JSON_UNESCAPED_UNICODE|\JSON_UNESCAPED_SLASHES)); ?></pre>
39 39
                 <?php } ?>
40 40
             </td>
41 41
         </tr>
Please login to merge, or discard this patch.
src/HttpExceptionResponseDevPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
     public function provideDependencies(Container $container): void
41 41
     {
42
-        $container->decorate(HttpFacadeInterface::class, function (
42
+        $container->decorate(HttpFacadeInterface::class, function(
43 43
             HttpFacadeInterface $httpFacade
44 44
         ) {
45 45
             $this->httpFacade = $httpFacade;
Please login to merge, or discard this patch.
src/Exception/FlattenException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
     public function setMessage(string $message): static
196 196
     {
197 197
         if (str_contains($message, "@anonymous\0")) {
198
-            $message = preg_replace_callback('/[a-zA-Z_\x7f-\xff][\\\\a-zA-Z0-9_\x7f-\xff]*+@anonymous\x00.*?\.php(?:0x?|:[0-9]++\$)[0-9a-fA-F]++/', function ($m) {
198
+            $message = preg_replace_callback('/[a-zA-Z_\x7f-\xff][\\\\a-zA-Z0-9_\x7f-\xff]*+@anonymous\x00.*?\.php(?:0x?|:[0-9]++\$)[0-9a-fA-F]++/', function($m) {
199 199
                 return class_exists($m[0], false) ? (get_parent_class($m[0]) ?: key(class_implements($m[0])) ?: 'class').'@anonymous' : $m[0];
200 200
             }, $message);
201 201
         }
Please login to merge, or discard this patch.
src/Business/Exception/Renderer/HtmlRenderer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             // remove main code/span tags
101 101
             $code = preg_replace('#^<code.*?>\s*<span.*?>(.*)</span>\s*</code>#s', '\\1', $code);
102 102
             // split multiline spans
103
-            $code = preg_replace_callback('#<span ([^>]++)>((?:[^<]*+<br \/>)++[^<]*+)</span>#', function ($m) {
103
+            $code = preg_replace_callback('#<span ([^>]++)>((?:[^<]*+<br \/>)++[^<]*+)</span>#', function($m) {
104 104
                 return "<span $m[1]>".str_replace('<br />', "</span><br /><span $m[1]>", $m[2]).'</span>';
105 105
             }, $code);
106 106
             $content = explode('<br />', $code);
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 
162 162
     private function escape(string $string): string
163 163
     {
164
-        return htmlspecialchars($string, \ENT_COMPAT | \ENT_SUBSTITUTE, 'UTF-8');
164
+        return htmlspecialchars($string, \ENT_COMPAT|\ENT_SUBSTITUTE, 'UTF-8');
165 165
     }
166 166
 
167 167
     private function abbrClass(string $class): string
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
     private function formatFileFromText(string $text): string
208 208
     {
209
-        return preg_replace_callback('/in ("|&quot;)?(.+?)\1(?: +(?:on|at))? +line (\d+)/s', function ($match) {
209
+        return preg_replace_callback('/in ("|&quot;)?(.+?)\1(?: +(?:on|at))? +line (\d+)/s', function($match) {
210 210
             return 'in '.$this->formatFile($match[2], (int) $match[3]);
211 211
         }, $text);
212 212
     }
Please login to merge, or discard this patch.