@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog\Exception; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog\Formatter; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog\Formatter; |
| 5 | 5 | |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | { |
| 14 | 14 | public function __invoke(array $options) |
| 15 | 15 | { |
| 16 | - $maxNestingLevel = (int) ($options['maxNestingLevel'] ?? 3); |
|
| 16 | + $maxNestingLevel = (int) ($options['maxNestingLevel'] ?? 3); |
|
| 17 | 17 | $exceptionTraceAsString = (boolean) ($options['exceptionTraceAsString'] ?? true); |
| 18 | 18 | return new MongoDBFormatter($maxNestingLevel, $exceptionTraceAsString); |
| 19 | 19 | } |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog\Formatter; |
| 5 | 5 | |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | { |
| 11 | 11 | public function __invoke(array $options) |
| 12 | 12 | { |
| 13 | - $batchMode = $options['batchMode'] ?? LogglyFormatter::BATCH_MODE_NEWLINES; |
|
| 13 | + $batchMode = $options['batchMode'] ?? LogglyFormatter::BATCH_MODE_NEWLINES; |
|
| 14 | 14 | $appendNewline = (boolean) ($options['appendNewline'] ?? true); |
| 15 | 15 | return new LogglyFormatter($batchMode, $appendNewline); |
| 16 | 16 | } |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog\Formatter; |
| 5 | 5 | |
@@ -15,8 +15,8 @@ discard block |
||
| 15 | 15 | { |
| 16 | 16 | $format = (string) ($options['format'] ?? null); |
| 17 | 17 | $dateFormat = (string) ($options['dateFormat'] ?? null); |
| 18 | - $allowInlineLineBreaks = (bool) ($options['allowInlineLineBreaks'] ?? false); |
|
| 19 | - $ignoreEmptyContextAndExtra = (bool) ($options['ignoreEmptyContextAndExtra'] ?? false); |
|
| 18 | + $allowInlineLineBreaks = (bool) ($options['allowInlineLineBreaks'] ?? false); |
|
| 19 | + $ignoreEmptyContextAndExtra = (bool) ($options['ignoreEmptyContextAndExtra'] ?? false); |
|
| 20 | 20 | |
| 21 | 21 | return new LineFormatter($format, $dateFormat, $allowInlineLineBreaks, $ignoreEmptyContextAndExtra); |
| 22 | 22 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace WShafer\PSR11MonoLog\Formatter; |
| 5 | 5 | |