Passed
Pull Request — master (#1193)
by butschster
17:21 queued 06:12
created
src/Telemetry/src/Monolog/TelemetryProcessor.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,8 @@  discard block
 block discarded – undo
13 13
 {
14 14
     public function __construct(
15 15
         private readonly ContainerInterface $container,
16
-    ) {}
16
+    ) {
17
+}
17 18
 
18 19
     /**
19 20
      * @psalm-suppress InvalidReturnType
@@ -26,7 +27,8 @@  discard block
 block discarded – undo
26 27
 
27 28
         $context = $tracer->getContext();
28 29
 
29
-        if (!empty($context)) {
30
+        if (!empty($context))
31
+        {
30 32
             $record['extra']['telemetry'] = $context;
31 33
         }
32 34
 
Please login to merge, or discard this patch.
src/Telemetry/tests/Monolog/TelemetryProcessorTest.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,8 @@
 block discarded – undo
72 72
             ],
73 73
         ];
74 74
 
75
-        if (!\class_exists(LogRecord::class)) {
75
+        if (!\class_exists(LogRecord::class))
76
+        {
76 77
             return;
77 78
         }
78 79
 
Please login to merge, or discard this patch.