Completed
Push — master ( 5ca491...45db2f )
by Olivier
07:38
created
lib/ContainerProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,6 +195,6 @@
 block discarded – undo
195 195
 	{
196 196
 		$dumper = new PhpDumper($container);
197 197
 
198
-		file_put_contents($pathname, $dumper->dump([ 'class' => $class ]));
198
+		file_put_contents($pathname, $dumper->dump(['class' => $class]));
199 199
 	}
200 200
 }
Please login to merge, or discard this patch.
lib/Extension/ApplicationExtension.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
 			}
63 63
 
64 64
 			$definition = (new Definition('ICanBoogie\Dummy' . uniqid()))
65
-				->setFactory([ new Reference('app'), '__get' ])
66
-				->setArguments([ $id ]);
65
+				->setFactory([new Reference('app'), '__get'])
66
+				->setArguments([$id]);
67 67
 
68 68
 			$container->setDefinition($id, $definition);
69 69
 		}
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,12 +51,10 @@
 block discarded – undo
51 51
 			if (strpos($method, self::LAZY_GETTER_PREFIX) === 0)
52 52
 			{
53 53
 				$id = substr($method, strlen(self::LAZY_GETTER_PREFIX));
54
-			}
55
-			elseif (strpos($method, self::GETTER_PREFIX) === 0)
54
+			} elseif (strpos($method, self::GETTER_PREFIX) === 0)
56 55
 			{
57 56
 				$id = substr($method, strlen(self::GETTER_PREFIX));
58
-			}
59
-			else
57
+			} else
60 58
 			{
61 59
 				continue;
62 60
 			}
Please login to merge, or discard this patch.
config/container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 	ContainerConfig::USE_CACHING => false,
17 17
 	ContainerConfig::EXTENSIONS => [
18 18
 
19
-		[ Extension\ApplicationExtension::class, 'from' ]
19
+		[Extension\ApplicationExtension::class, 'from']
20 20
 
21 21
 	]
22 22
 
Please login to merge, or discard this patch.