Passed
Pull Request — master (#175)
by Jérémy
02:34
created
DependencyInjection/EkinoNewRelicExtension.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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'),
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
                 );
Please login to merge, or discard this patch.