Completed
Push — master ( 963443...9b6e1d )
by Thomas Mauro
04:42 queued 03:09
created
src/Options/ErrorHandlerOptionsInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Options;
6 6
 
Please login to merge, or discard this patch.
src/Exception/RuntimeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Exception;
6 6
 
Please login to merge, or discard this patch.
src/Exception/ExceptionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Exception;
6 6
 
Please login to merge, or discard this patch.
src/Service/StackTraceFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Service;
6 6
 
Please login to merge, or discard this patch.
src/Service/ConfigurationFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Service;
6 6
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $configuration = $config['facile']['sentry'] ?? [];
30 30
         $ravenOptions = $configuration['raven_options'] ?? [];
31 31
 
32
-        if (! array_key_exists('logger', $ravenOptions)) {
32
+        if (!array_key_exists('logger', $ravenOptions)) {
33 33
             $ravenOptions['logger'] = 'SentryModule';
34 34
         }
35 35
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             if (is_string($callbackItem) && $container->has($callbackItem)) {
80 80
                 $callbackItem = $container->get($callbackItem);
81 81
             }
82
-            if (! $this->isValidCallback($container, $callbackItem)) {
82
+            if (!$this->isValidCallback($container, $callbackItem)) {
83 83
                 throw new InvalidArgumentException('Invalid callback');
84 84
             }
85 85
 
Please login to merge, or discard this patch.
src/Service/SenderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Service;
6 6
 
Please login to merge, or discard this patch.
src/Service/RavenClientFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Service;
6 6
 
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
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Log\Writer;
6 6
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             $options = iterator_to_array($options);
52 52
         }
53 53
 
54
-        if (! is_array($options) || ! array_key_exists('sender', $options) || ! $options['sender'] instanceof SenderInterface) {
54
+        if (!is_array($options) || !array_key_exists('sender', $options) || !$options['sender'] instanceof SenderInterface) {
55 55
             throw new Exception\InvalidArgumentException('No sender specified in options');
56 56
         }
57 57
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
         if ($context instanceof Traversable) {
73 73
             $context = iterator_to_array($context);
74
-        } elseif (! is_array($context)) {
74
+        } elseif (!is_array($context)) {
75 75
             $context = [];
76 76
         }
77 77
 
Please login to merge, or discard this patch.
src/Log/Writer/SentryFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\SentryModule\Log\Writer;
6 6
 
Please login to merge, or discard this patch.