Passed
Pull Request — master (#175)
by Jérémy
02:09
created
DependencyInjection/EkinoNewRelicExtension.php 1 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.
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $configuration = new Configuration();
44 44
         $config = $this->processConfiguration($configuration, $configs);
45 45
 
46
-        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
46
+        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
47 47
         $loader->load('services.xml');
48 48
 
49 49
         $container->setAlias(NewRelicInteractorInterface::class, $this->getInteractorServiceId($config))->setPublic(false);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 ->setDecoratedService(NewRelicInteractorInterface::class)
55 55
                 ->setArguments(
56 56
                     [
57
-                        '$interactor' => new Reference(LoggingInteractorDecorator::class.'.inner'),
57
+                        '$interactor' => new Reference(LoggingInteractorDecorator::class . '.inner'),
58 58
                         '$logger' => new Reference('logger', ContainerInterface::NULL_ON_INVALID_REFERENCE),
59 59
                     ]
60 60
                 )
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             $container->findDefinition('ekino.new_relic.logs_handler')
133 133
                 ->setArguments(
134 134
                     [
135
-                        '$level' => \is_int($level) ? $level : \constant('Monolog\Logger::'.\strtoupper($level)),
135
+                        '$level' => \is_int($level) ? $level : \constant('Monolog\Logger::' . \strtoupper($level)),
136 136
                         '$appName' => $config['application_name'],
137 137
                     ]
138 138
                 );
Please login to merge, or discard this patch.