@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Ekino\NewRelicBundle\Twig\NewRelicExtension; |
| 6 | 6 | |
| 7 | -return function (ContainerConfigurator $container) { |
|
| 7 | +return function(ContainerConfigurator $container) { |
|
| 8 | 8 | |
| 9 | 9 | $services = $container->services(); |
| 10 | 10 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Ekino\NewRelicBundle\Listener\CommandListener; |
| 6 | 6 | |
| 7 | -return function (ContainerConfigurator $container) { |
|
| 7 | +return function(ContainerConfigurator $container) { |
|
| 8 | 8 | |
| 9 | 9 | $services = $container->services(); |
| 10 | 10 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Ekino\NewRelicBundle\Listener\DeprecationListener; |
| 6 | 6 | |
| 7 | -return function (ContainerConfigurator $container) { |
|
| 7 | +return function(ContainerConfigurator $container) { |
|
| 8 | 8 | |
| 9 | 9 | $services = $container->services(); |
| 10 | 10 | |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | use Ekino\NewRelicBundle\Listener\RequestListener; |
| 6 | 6 | use Ekino\NewRelicBundle\Listener\ResponseListener; |
| 7 | 7 | |
| 8 | -return function (ContainerConfigurator $container) { |
|
| 8 | +return function(ContainerConfigurator $container) { |
|
| 9 | 9 | |
| 10 | 10 | $services = $container->services(); |
| 11 | 11 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Monolog\Handler\NewRelicHandler; |
| 6 | 6 | |
| 7 | -return function (ContainerConfigurator $container) { |
|
| 7 | +return function(ContainerConfigurator $container) { |
|
| 8 | 8 | |
| 9 | 9 | $services = $container->services(); |
| 10 | 10 | |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | use Ekino\NewRelicBundle\NewRelic\NewRelicInteractor; |
| 11 | 11 | use Ekino\NewRelicBundle\NewRelic\NewRelicInteractorInterface; |
| 12 | 12 | |
| 13 | -return function (ContainerConfigurator $container) { |
|
| 13 | +return function(ContainerConfigurator $container) { |
|
| 14 | 14 | |
| 15 | 15 | $services = $container->services(); |
| 16 | 16 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Ekino\NewRelicBundle\Listener\ExceptionListener; |
| 6 | 6 | |
| 7 | -return function (ContainerConfigurator $container) { |
|
| 7 | +return function(ContainerConfigurator $container) { |
|
| 8 | 8 | |
| 9 | 9 | $services = $container->services(); |
| 10 | 10 | |
@@ -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. |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $configuration = new Configuration(); |
| 43 | 43 | $config = $this->processConfiguration($configuration, $configs); |
| 44 | 44 | |
| 45 | - $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 45 | + $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 46 | 46 | $loader->load('services.php'); |
| 47 | 47 | |
| 48 | 48 | $container->setAlias(NewRelicInteractorInterface::class, $this->getInteractorServiceId($config)); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | if ($config['logging']) { |
| 52 | 52 | $container->register(LoggingInteractorDecorator::class) |
| 53 | 53 | ->setDecoratedService(NewRelicInteractorInterface::class) |
| 54 | - ->setArgument('$interactor', new Reference(LoggingInteractorDecorator::class.'.inner')) |
|
| 54 | + ->setArgument('$interactor', new Reference(LoggingInteractorDecorator::class . '.inner')) |
|
| 55 | 55 | ->setPublic(false) |
| 56 | 56 | ; |
| 57 | 57 | } |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | // This service is used by MonologHandlerPass to inject into Monolog Service |
| 122 | 122 | $container->findDefinition('ekino.new_relic.logs_handler') |
| 123 | 123 | ->setArguments([ |
| 124 | - '$level' => \is_int($level) ? $level : \constant('Monolog\Logger::'.\strtoupper($level)), |
|
| 124 | + '$level' => \is_int($level) ? $level : \constant('Monolog\Logger::' . \strtoupper($level)), |
|
| 125 | 125 | '$appName' => $config['application_name'], |
| 126 | 126 | ]); |
| 127 | 127 | } |