Completed
Push — master ( df216c...2d63a2 )
by Thomas Mauro
02:34
created
src/Listener/ErrorHandlerListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function handleError(MvcEvent $event): void
32 32
     {
33 33
         $exception = $event->getParam('exception');
34
-        if (! $exception instanceof \Throwable) {
34
+        if (!$exception instanceof \Throwable) {
35 35
             return;
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Service/ClientConfigFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
         $options = \array_filter(
18 18
             $config['options'] ?? [],
19
-            static function ($value) {
19
+            static function($value) {
20 20
                 return null !== $value;
21 21
             }
22 22
         );
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $options = \array_merge(
30 30
             $options,
31 31
             \array_map(
32
-                static function (string $value) use ($container): callable {
32
+                static function(string $value) use ($container): callable {
33 33
                     return $container->get($value);
34 34
                 },
35 35
                 \array_intersect_key($options, \array_flip($resolves))
Please login to merge, or discard this patch.
src/Module.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
         $config = $appConfig['sentry']['javascript'] ?? [];
35 35
         $options = $config['options'] ?? [];
36 36
 
37
-        if (! ($config['inject_script'] ?? false)) {
37
+        if (!($config['inject_script'] ?? false)) {
38 38
             return;
39 39
         }
40 40
 
Please login to merge, or discard this patch.
src/Log/Writer/Sentry.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         $hub = $options['hub'] ?? null;
57 57
 
58
-        if (null !== $hub && ! $hub instanceof HubInterface) {
58
+        if (null !== $hub && !$hub instanceof HubInterface) {
59 59
             throw new Exception\InvalidArgumentException('Invalid Sentry Hub');
60 60
         }
61 61
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         if ($context instanceof Traversable) {
77 77
             $context = \iterator_to_array($context);
78
-        } elseif (! \is_array($context)) {
78
+        } elseif (!\is_array($context)) {
79 79
             $context = [];
80 80
         }
81 81
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             unset($context['exception']);
92 92
         }
93 93
 
94
-        $hub->withScope(static function (Scope $scope) use ($hub, $event, $context, $payload): void {
94
+        $hub->withScope(static function(Scope $scope) use ($hub, $event, $context, $payload): void {
95 95
             $scope->setExtra('laminas.priority', $event['priority']);
96 96
 
97 97
             foreach ($context as $key => $value) {
Please login to merge, or discard this patch.