@@ -1,6 +1,6 @@ |
||
| 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 | |
@@ -1,6 +1,6 @@ |
||
| 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 | |
@@ -1,6 +1,6 @@ |
||
| 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 | |
@@ -1,6 +1,6 @@ |
||
| 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 | |
@@ -1,6 +1,6 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -1,6 +1,6 @@ |
||
| 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 | |
@@ -1,6 +1,6 @@ |
||
| 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 | |
@@ -1,6 +1,6 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -1,6 +1,6 @@ |
||
| 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 | |