@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -42,7 +42,7 @@ |
||
42 | 42 | new InputOption('foo'), |
43 | 43 | new InputOption('foobar', 'fb', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY), |
44 | 44 | new InputArgument('name', InputArgument::REQUIRED), |
45 | - ]); |
|
45 | + ]); |
|
46 | 46 | |
47 | 47 | $interactor = $this->getMockBuilder(NewRelicInteractorInterface::class)->getMock(); |
48 | 48 | $interactor->expects($this->once())->method('setTransactionName')->with($this->equalTo('test:newrelic')); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -43,9 +43,9 @@ |
||
43 | 43 | { |
44 | 44 | return [ |
45 | 45 | KernelEvents::REQUEST => [ |
46 | - ['setApplicationName', 255], |
|
47 | - ['setIgnoreTransaction', 31], |
|
48 | - ['setTransactionName', -10], |
|
46 | + ['setApplicationName', 255], |
|
47 | + ['setIgnoreTransaction', 31], |
|
48 | + ['setTransactionName', -10], |
|
49 | 49 | ], |
50 | 50 | ]; |
51 | 51 | } |
@@ -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 | /* |
6 | 6 | * This file is part of Ekino New Relic bundle. |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | } |
38 | 38 | $this->isRegistered = true; |
39 | 39 | |
40 | - $prevErrorHandler = set_error_handler(function ($type, $msg, $file, $line, $context = []) use (&$prevErrorHandler) { |
|
40 | + $prevErrorHandler = set_error_handler(function($type, $msg, $file, $line, $context = []) use (&$prevErrorHandler) { |
|
41 | 41 | if (E_USER_DEPRECATED === $type) { |
42 | 42 | $this->interactor->noticeThrowable(new DeprecationException($msg, 0, $type, $file, $line)); |
43 | 43 | } |