Completed
Push — master ( 28c8f0...0e8357 )
by Thomas Mauro
165:53 queued 122:03
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/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/Service/ClientConfigFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         $config = $container->get('config')['sentry'] ?? [];
19 19
 
20
-        $nullFilter = static function ($value): bool {
20
+        $nullFilter = static function($value): bool {
21 21
             return null !== $value;
22 22
         };
23 23
 
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
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
         $hub = $options['hub'] ?? null;
63 63
 
64
-        if (null !== $hub && ! $hub instanceof HubInterface) {
64
+        if (null !== $hub && !$hub instanceof HubInterface) {
65 65
             throw new Exception\InvalidArgumentException('Invalid Sentry Hub');
66 66
         }
67 67
 
@@ -82,11 +82,11 @@  discard block
 block discarded – undo
82 82
 
83 83
         if ($context instanceof Traversable) {
84 84
             $context = \iterator_to_array($context);
85
-        } elseif (! \is_array($context)) {
85
+        } elseif (!\is_array($context)) {
86 86
             $context = [];
87 87
         }
88 88
 
89
-        $hub->withScope(function (Scope $scope) use ($hub, $event, $context): void {
89
+        $hub->withScope(function(Scope $scope) use ($hub, $event, $context): void {
90 90
             $scope->setExtra('laminas.priority', $event['priority']);
91 91
 
92 92
             $hints = [];
Please login to merge, or discard this patch.