Completed
Push — master ( 87859b...5ad157 )
by Kamil
02:30 queued 01:07
created
tests/CrossContainerProcessorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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 the CrossContainerExtension package.
Please login to merge, or discard this patch.
src/ContainerBasedContainerAccessor.php 1 patch
Spacing   +2 added lines, -2 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 the CrossContainerExtension package.
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             $parameterBag->resolve();
50 50
 
51 51
             // Values are automatically unescaped during resolving, need to revert it
52
-            $parameterBag->add(array_map(function ($unescapedValue) use ($parameterBag) {
52
+            $parameterBag->add(array_map(function($unescapedValue) use ($parameterBag) {
53 53
                 return $parameterBag->escapeValue($unescapedValue);
54 54
             }, $parameterBag->all()));
55 55
         }
Please login to merge, or discard this patch.
src/CrossContainerProcessor.php 1 patch
Spacing   +5 added lines, -5 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 the CrossContainerExtension package.
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function process(ContainerBuilder $container): void
51 51
     {
52
-        $container->addDefinitions(array_map(function (Definition $definition) {
52
+        $container->addDefinitions(array_map(function(Definition $definition) {
53 53
             return $this->resolveDefinition($definition);
54 54
         }, $container->getDefinitions()));
55 55
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      *
76 76
      * @return array|null
77 77
      */
78
-    private function resolveFactory(?array $factory): ?array
78
+    private function resolveFactory(? array $factory) : ? array
79 79
     {
80 80
         if ([] === $factory) {
81 81
             return [];
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     private function resolveMethodCalls(array $methodCalls): array
97 97
     {
98
-        return array_map(function (array $methodCall) {
98
+        return array_map(function(array $methodCall) {
99 99
             return [$methodCall[0], $this->resolveArguments($methodCall[1])];
100 100
         }, $methodCalls);
101 101
     }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     private function resolveArguments(array $arguments): array
109 109
     {
110
-        return array_map(function ($argument) {
110
+        return array_map(function($argument) {
111 111
             return $this->resolveArgument($argument);
112 112
         }, $arguments);
113 113
     }
Please login to merge, or discard this patch.
spec/ContainerBasedContainerAccessorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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 the CrossContainerExtension package.
Please login to merge, or discard this patch.
spec/KernelBasedContainerAccessorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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 the CrossContainerExtension package.
Please login to merge, or discard this patch.
spec/ExternalReferenceSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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 the CrossContainerExtension package.
Please login to merge, or discard this patch.
src/ContainerAccessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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 the CrossContainerExtension package.
Please login to merge, or discard this patch.
src/ExternalReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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 the CrossContainerExtension package.
Please login to merge, or discard this patch.
src/ServiceContainer/CrossContainerExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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 the CrossContainerExtension package.
Please login to merge, or discard this patch.