Completed
Push — master ( 7ad30b...5758ee )
by Thomas Mauro
14s
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/Log/Writer/Sentry.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
         $hub = $options['hub'] ?? null;
62 62
 
63
-        if (null !== $hub && ! $hub instanceof HubInterface) {
63
+        if (null !== $hub && !$hub instanceof HubInterface) {
64 64
             throw new Exception\InvalidArgumentException('Invalid Sentry Hub');
65 65
         }
66 66
 
@@ -84,12 +84,12 @@  discard block
 block discarded – undo
84 84
 
85 85
         if ($context instanceof Traversable) {
86 86
             $context = iterator_to_array($context);
87
-        } elseif (! \is_array($context)) {
87
+        } elseif (!\is_array($context)) {
88 88
             /** @var array<string, mixed> $context */
89 89
             $context = [];
90 90
         }
91 91
 
92
-        $hub->withScope(function (Scope $scope) use ($hub, $event, $context): void {
92
+        $hub->withScope(function(Scope $scope) use ($hub, $event, $context): void {
93 93
             $scope->setExtra('laminas.priority', $event['priority']);
94 94
 
95 95
             $hints = [];
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
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         $client = $builder->getClient();
64 64
 
65 65
         $currentClient = SentrySdk::getCurrentHub()->getClient();
66
-        if (! $currentClient) {
66
+        if (!$currentClient) {
67 67
             SentrySdk::getCurrentHub()->bindClient($client);
68 68
         }
69 69
 
Please login to merge, or discard this patch.