Passed
Push — semantic-logger-clean ( 4a7071 )
by Akihito
06:48
created
src/SemanticLog/Profile/Verbose/OpenContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->uri = $request->toUri();
35 35
         $this->call = [
36 36
             $request->resourceObject::class,
37
-            'on' . ucfirst(strtolower($request->method)),
37
+            'on'.ucfirst(strtolower($request->method)),
38 38
         ];
39 39
 
40 40
         // Start XdebugTrace for profiling (handled internally)
Please login to merge, or discard this patch.
src/SemanticLog/ContextFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,5 +30,5 @@
 block discarded – undo
30 30
     /**
31 31
      * Create context for resource error handling
32 32
      */
33
-    public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext|null $openContext = null): AbstractContext;
33
+    public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext | null $openContext = null): AbstractContext;
34 34
 }
Please login to merge, or discard this patch.
src/SemanticLog/Profile/Verbose/ContextFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     }
28 28
 
29 29
     #[Override]
30
-    public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext|null $openContext = null): ErrorContext
30
+    public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext | null $openContext = null): ErrorContext
31 31
     {
32 32
         return ErrorContext::create($exception, $exceptionId);
33 33
     }
Please login to merge, or discard this patch.
src/SemanticLog/Profile/Verbose/ErrorContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function __construct(
32 32
         Throwable $exception,
33 33
         string $exceptionId = '',
34
-        OpenContext|null $openContext = null,
34
+        OpenContext | null $openContext = null,
35 35
     ) {
36 36
         $this->exceptionAsString = (string) $exception;
37 37
         $this->exceptionId = $exceptionId !== '' ? $exceptionId : $this->createExceptionId();
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public static function create(
60 60
         Throwable $exception,
61 61
         string $exceptionId = '',
62
-        OpenContext|null $openContext = null,
62
+        OpenContext | null $openContext = null,
63 63
     ): self {
64 64
         return new self($exception, $exceptionId, $openContext);
65 65
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $crc = crc32($this->exceptionAsString);
70 70
         $crcHex = dechex($crc & 0xFFFFFFFF); // Ensure positive hex value
71 71
 
72
-        return 'e-bear-resource-' . $crcHex;
72
+        return 'e-bear-resource-'.$crcHex;
73 73
     }
74 74
 
75 75
     /** @return array<string, mixed> */
Please login to merge, or discard this patch.
src/SemanticLog/Profile/Compact/ContextFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     }
28 28
 
29 29
     #[Override]
30
-    public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext|null $openContext = null): ErrorContext
30
+    public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext | null $openContext = null): ErrorContext
31 31
     {
32 32
         /** @var ?OpenContext $openContext */
33 33
         return ErrorContext::create($exception, $exceptionId, $openContext);
Please login to merge, or discard this patch.
src/SemanticLog/Profile/Compact/ErrorContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     public function __construct(
25 25
         Throwable $exception,
26 26
         string $exceptionId = '',
27
-        OpenContext|null $openContext = null,
27
+        OpenContext | null $openContext = null,
28 28
     ) {
29 29
         $this->exceptionAsString = (string) $exception;
30 30
         $this->exceptionId = $exceptionId !== '' ? $exceptionId : $this->createExceptionId();
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     public static function create(
37 37
         Throwable $exception,
38 38
         string $exceptionId = '',
39
-        OpenContext|null $openContext = null,
39
+        OpenContext | null $openContext = null,
40 40
     ): self {
41 41
         return new self($exception, $exceptionId, $openContext);
42 42
     }
@@ -46,6 +46,6 @@  discard block
 block discarded – undo
46 46
         $crc = crc32($this->exceptionAsString);
47 47
         $crcHex = dechex($crc & 0xFFFFFFFF); // Ensure positive hex value
48 48
 
49
-        return 'e-bear-resource-' . $crcHex;
49
+        return 'e-bear-resource-'.$crcHex;
50 50
     }
51 51
 }
Please login to merge, or discard this patch.