Passed
Pull Request — master (#3)
by
unknown
03:23
created
ecs.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
6 6
 use Symplify\EasyCodingStandard\ValueObject\Option;
7 7
 
8
-return static function (ContainerConfigurator $containerConfigurator): void {
8
+return static function(ContainerConfigurator $containerConfigurator): void {
9 9
     $containerConfigurator->import(__DIR__ . '/vendor/umbrellio/code-style-php/umbrellio-cs.php');
10 10
 
11 11
     $parameters = $containerConfigurator->parameters();
12 12
 
13 13
     $parameters->set(Option::CACHE_DIRECTORY, '.ecs_cache');
14
-    $parameters->set(Option::FILE_EXTENSIONS, ['php']);
14
+    $parameters->set(Option::FILE_EXTENSIONS, [ 'php' ]);
15 15
 
16
-    $parameters->set(Option::PATHS, [__DIR__ . '/src', __DIR__ . '/tests']);
16
+    $parameters->set(Option::PATHS, [ __DIR__ . '/src', __DIR__ . '/tests' ]);
17 17
 };
Please login to merge, or discard this patch.
src/Services/Span/SpanCreator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         $this->tracer = $tracer;
19 19
     }
20 20
 
21
-    public function create(string $operationName, array $carrier = [], ?string $referenceType = null): Span
21
+    public function create(string $operationName, array $carrier = [ ], ?string $referenceType = null): Span
22 22
     {
23 23
         return $this->tracer->startActiveSpan(
24 24
             $operationName,
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $baseOptions,
42 42
             $spanContext ? [
43 43
                 'references' => new Reference($referenceType, $spanContext),
44
-            ] : []
44
+            ] : [ ]
45 45
         );
46 46
     }
47 47
 }
Please login to merge, or discard this patch.