@@ -50,7 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | if ($config['logging']) { |
| 52 | 52 | $container->register(LoggingInteractorDecorator::class) |
| 53 | - ->setDecoratedService(NewRelicInteractorInterface::class) |
|
| 53 | + ->setDecoratedService(NewRelicInteractorInterface::class) |
|
| 54 | 54 | ->setArguments( |
| 55 | 55 | [ |
| 56 | 56 | '$interactor' => new Reference(LoggingInteractorDecorator::class.'.inner'), |
@@ -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\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 45 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 46 | 46 | $loader->load('services.xml'); |
| 47 | 47 | |
| 48 | 48 | $container->setAlias(NewRelicInteractorInterface::class, $this->getInteractorServiceId($config)); |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | ->setDecoratedService(NewRelicInteractorInterface::class) |
| 54 | 54 | ->setArguments( |
| 55 | 55 | [ |
| 56 | - '$interactor' => new Reference(LoggingInteractorDecorator::class.'.inner'), |
|
| 56 | + '$interactor' => new Reference(LoggingInteractorDecorator::class . '.inner'), |
|
| 57 | 57 | '$logger' => new Reference('logger'), |
| 58 | 58 | ] |
| 59 | 59 | ) |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | $container->findDefinition('ekino.new_relic.logs_handler') |
| 135 | 135 | ->setArguments( |
| 136 | 136 | [ |
| 137 | - '$level' => \is_int($level) ? $level : \constant('Monolog\Logger::'.\strtoupper($level)), |
|
| 137 | + '$level' => \is_int($level) ? $level : \constant('Monolog\Logger::' . \strtoupper($level)), |
|
| 138 | 138 | '$appName' => $config['application_name'], |
| 139 | 139 | ] |
| 140 | 140 | ); |