Completed
Push — 1.2 ( f1f18c )
by David
04:36 queued 04:31
created
src/Definition/VariableUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,10 +23,10 @@
 block discarded – undo
23 23
 
24 24
             $numbers = '';
25 25
             while (true) {
26
-                $lastCharacter = substr($variable, strlen($variable) - 1);
26
+                $lastCharacter = substr($variable, strlen($variable)-1);
27 27
                 if ($lastCharacter >= '0' && $lastCharacter <= '9') {
28 28
                     $numbers = $lastCharacter.$numbers;
29
-                    $variable = substr($variable, 0, strlen($variable) - 1);
29
+                    $variable = substr($variable, 0, strlen($variable)-1);
30 30
                 } else {
31 31
                     break;
32 32
                 }
Please login to merge, or discard this patch.
src/ServiceProvider/ServiceProviderLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
         } elseif (is_string($callable) && strpos($callable, '::') !== false) {
144 144
             $pos = strpos($callable, '::');
145 145
             $className = substr($callable, 0, $pos);
146
-            $methodName = substr($callable, $pos + 2);
146
+            $methodName = substr($callable, $pos+2);
147 147
             $params = [$containerDefinition];
148 148
             if ($callbackWrapperDefinition) {
149 149
                 $params[] = $callbackWrapperDefinition;
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
             $convertedDefinitions[$identifier] = $this->converter->convert($identifier, $definition);
178 178
         }
179 179
 
180
-        $allDefinitions = $convertedDefinitions + $this->dumpableDefinitions;
180
+        $allDefinitions = $convertedDefinitions+$this->dumpableDefinitions;
181 181
 
182 182
         foreach ($allDefinitions as $identifier => $definition) {
183 183
             $inlineEntry = $definition->toPhpCode('$container', ['$container']);
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     {
197 197
         $pos = strrpos($className, '\\');
198 198
         if ($pos !== false) {
199
-            $shortClassName = substr($className, $pos + 1);
199
+            $shortClassName = substr($className, $pos+1);
200 200
             $namespaceLine = 'namespace '.substr($className, 0, $pos).';';
201 201
         } else {
202 202
             $shortClassName = $className;
Please login to merge, or discard this patch.