Completed
Push — 84-phar ( 2b69cf )
by Nicolas
51:45 queued 47:52
created
src/Karma/Application.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
             
109 109
             $paths = $c['sources.path'];
110 110
             
111
-            if(! is_array($paths))
111
+            if( ! is_array($paths))
112 112
             {
113 113
                 $paths = array($paths);
114 114
             }
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         $this['git'] = $git;
182 182
         $this['vcs'] = $git;
183 183
 
184
-        $this['vcsHandler'] = $this->protect(function (Vcs $vcs) {
184
+        $this['vcsHandler'] = $this->protect(function(Vcs $vcs) {
185 185
             $handler = new VcsHandler($vcs, $this['finder']);
186 186
 
187 187
             $handler->setLogger($this['logger'])
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
             return new \Psr\Log\NullLogger();
198 198
         });
199 199
 
200
-        $this['formatter.provider'] = $this->share(function ($c) {
200
+        $this['formatter.provider'] = $this->share(function($c) {
201 201
             return new ProfileProvider($c['profile']);
202 202
         });
203 203
 
@@ -210,19 +210,19 @@  discard block
 block discarded – undo
210 210
             return $hydrator;
211 211
         };
212 212
 
213
-        $this['generator.nameTranslator'] = $this->share(function ($c) {
213
+        $this['generator.nameTranslator'] = $this->share(function($c) {
214 214
             $translator = new FilePrefixTranslator();
215 215
             $translator->changeMasterFile($c['configuration.masterFile']);
216 216
 
217 217
             return $translator;
218 218
         });
219 219
 
220
-        $this['generator.variableProvider'] = function ($c) {
220
+        $this['generator.variableProvider'] = function($c) {
221 221
             $provider = new VariableProvider($c['parser'], $c['configuration.masterFile']);
222 222
 
223 223
             $profile = $c['profile'];
224 224
             $options = $profile->getGeneratorOptions();
225
-            if(! isset($options['translator']) || $options['translator'] === 'prefix')
225
+            if( ! isset($options['translator']) || $options['translator'] === 'prefix')
226 226
             {
227 227
                 $provider->setNameTranslator($c['generator.nameTranslator']);
228 228
             }
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
             return $provider;
231 231
         };
232 232
 
233
-        $this['configurationFilesGenerator'] = $this->share(function ($c) {
233
+        $this['configurationFilesGenerator'] = $this->share(function($c) {
234 234
             return new YamlGenerator($c['sources.fileSystem'], $c['configuration'], $c['generator.variableProvider']);
235 235
         });
236 236
     }
Please login to merge, or discard this patch.
src/Karma/Command/ConfigureActionCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             $sourcePath = $profile->getSourcePath();
105 105
         }
106 106
 
107
-        if(! is_array($sourcePath))
107
+        if( ! is_array($sourcePath))
108 108
         {
109 109
             $sourcePath = array($sourcePath);
110 110
         }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     {
158 158
         $strings = $input->getOption($optionName);
159 159
 
160
-        if(! is_array($strings))
160
+        if( ! is_array($strings))
161 161
         {
162 162
             $strings = array($strings);
163 163
         }
Please login to merge, or discard this patch.
src/Karma/Filesystem/Adapters/MultipleAdapter.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             }
37 37
         }
38 38
 
39
-        throw new \RuntimeException("Key $key not found");
39
+        throw new \RuntimeException("key $key not found");
40 40
     }
41 41
     
42 42
     public function read($key)
Please login to merge, or discard this patch.