@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | |
113 | 113 | $paths = $c['sources.path']; |
114 | 114 | |
115 | - if(! is_array($paths)) |
|
115 | + if( ! is_array($paths)) |
|
116 | 116 | { |
117 | 117 | $paths = array($paths); |
118 | 118 | } |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | |
139 | 139 | $this['target.fileSystem.adapter'] = $this->factory(function($c) { |
140 | 140 | |
141 | - if(! empty($c['target.path'])) |
|
141 | + if( ! empty($c['target.path'])) |
|
142 | 142 | { |
143 | 143 | $c['hydrator.allowNonDistFilesOverwrite'] = true; |
144 | 144 | |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | $this['git'] = $this->factory($git); |
211 | 211 | $this['vcs'] = $this->factory($git); |
212 | 212 | |
213 | - $this['vcsHandler'] = $this->protect(function (Vcs $vcs) { |
|
213 | + $this['vcsHandler'] = $this->protect(function(Vcs $vcs) { |
|
214 | 214 | $handler = new VcsHandler($vcs, $this['finder']); |
215 | 215 | |
216 | 216 | $handler->setLogger($this['logger']) |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | return new \Psr\Log\NullLogger(); |
227 | 227 | }); |
228 | 228 | |
229 | - $this['formatter.provider'] = function ($c) { |
|
229 | + $this['formatter.provider'] = function($c) { |
|
230 | 230 | return new ProfileProvider($c['profile']); |
231 | 231 | }; |
232 | 232 | |
@@ -240,19 +240,19 @@ discard block |
||
240 | 240 | return $hydrator; |
241 | 241 | }); |
242 | 242 | |
243 | - $this['generator.nameTranslator'] = function ($c) { |
|
243 | + $this['generator.nameTranslator'] = function($c) { |
|
244 | 244 | $translator = new FilePrefixTranslator(); |
245 | 245 | $translator->changeMasterFile($c['configuration.masterFile']); |
246 | 246 | |
247 | 247 | return $translator; |
248 | 248 | }; |
249 | 249 | |
250 | - $this['generator.variableProvider'] = $this->factory(function ($c) { |
|
250 | + $this['generator.variableProvider'] = $this->factory(function($c) { |
|
251 | 251 | $provider = new VariableProvider($c['parser'], $c['configuration.masterFile']); |
252 | 252 | |
253 | 253 | $profile = $c['profile']; |
254 | 254 | $options = $profile->getGeneratorOptions(); |
255 | - if(! isset($options['translator']) || $options['translator'] === 'prefix') |
|
255 | + if( ! isset($options['translator']) || $options['translator'] === 'prefix') |
|
256 | 256 | { |
257 | 257 | $provider->setNameTranslator($c['generator.nameTranslator']); |
258 | 258 | } |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | return $provider; |
261 | 261 | }); |
262 | 262 | |
263 | - $this['configurationFilesGenerator'] = function ($c) { |
|
263 | + $this['configurationFilesGenerator'] = function($c) { |
|
264 | 264 | return new YamlGenerator($c['sources.fileSystem'], $c['configuration'], $c['generator.variableProvider']); |
265 | 265 | }; |
266 | 266 | } |