@@ -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. |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public function testControllerAsClosure() |
| 29 | 29 | { |
| 30 | 30 | $request = new Request(); |
| 31 | - $request->attributes->set('_controller', function () { |
|
| 31 | + $request->attributes->set('_controller', function() { |
|
| 32 | 32 | }); |
| 33 | 33 | |
| 34 | 34 | $strategy = new ControllerNamingStrategy(); |
@@ -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')); |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | $channels = $container->getParameter('ekino.new_relic.monolog.channels'); |
| 27 | 27 | foreach ($channels as $channel) { |
| 28 | - $def = $container->getDefinition('app' === $channel ? 'monolog.logger' : 'monolog.logger.'.$channel); |
|
| 28 | + $def = $container->getDefinition('app' === $channel ? 'monolog.logger' : 'monolog.logger.' . $channel); |
|
| 29 | 29 | $def->addMethodCall('pushHandler', [new Reference('ekino.new_relic.logs_handler')]); |
| 30 | 30 | } |
| 31 | 31 | } |
@@ -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. |