Passed
Push — nln-php7 ( 12eaac )
by Nicolas
05:28
created
src/Karma/Configuration/FileParser.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
 namespace Karma\Configuration;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Application.php 1 patch
Spacing   +8 added lines, -8 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
 namespace Karma;
6 6
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
             $paths = $c['sources.path'];
112 112
 
113
-            if(! is_array($paths))
113
+            if( ! is_array($paths))
114 114
             {
115 115
                 $paths = array($paths);
116 116
             }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
         $this['target.fileSystem.adapter'] = $this->factory(function(Container $c) {
138 138
 
139
-            if(! empty($c['target.path']))
139
+            if( ! empty($c['target.path']))
140 140
             {
141 141
                 $c['hydrator.allowNonDistFilesOverwrite'] = true;
142 142
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
             return new \Psr\Log\NullLogger();
192 192
         });
193 193
 
194
-        $this['formatter.provider'] = function (Container $c) {
194
+        $this['formatter.provider'] = function(Container $c) {
195 195
             return new ProfileProvider($c['profile']);
196 196
         };
197 197
 
@@ -205,19 +205,19 @@  discard block
 block discarded – undo
205 205
             return $hydrator;
206 206
         });
207 207
 
208
-        $this['generator.nameTranslator'] = function (Container $c) {
208
+        $this['generator.nameTranslator'] = function(Container $c) {
209 209
             $translator = new FilePrefixTranslator();
210 210
             $translator->changeMasterFile($c['configuration.masterFile']);
211 211
 
212 212
             return $translator;
213 213
         };
214 214
 
215
-        $this['generator.variableProvider'] = $this->factory(function (Container $c) {
215
+        $this['generator.variableProvider'] = $this->factory(function(Container $c) {
216 216
             $provider = new VariableProvider($c['parser']);
217 217
 
218 218
             $profile = $c['profile'];
219 219
             $options = $profile->getGeneratorOptions();
220
-            if(! isset($options['translator']) || $options['translator'] === 'prefix')
220
+            if( ! isset($options['translator']) || $options['translator'] === 'prefix')
221 221
             {
222 222
                 $provider->setNameTranslator($c['generator.nameTranslator']);
223 223
             }
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             return $provider;
226 226
         });
227 227
 
228
-        $this['configurationFilesGenerator'] = function (Container $c) {
228
+        $this['configurationFilesGenerator'] = function(Container $c) {
229 229
             return new YamlGenerator($c['sources.fileSystem'], $c['configuration'], $c['generator.variableProvider']);
230 230
         };
231 231
     }
Please login to merge, or discard this patch.
src/Karma/Generator/NameTranslators/NullTranslator.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
 namespace Karma\Generator\NameTranslators;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Generator/NameTranslators/FilePrefixTranslator.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
 namespace Karma\Generator\NameTranslators;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Generator/NameTranslator.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
 namespace Karma\Generator;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Generator/ConfigurationFileGenerator.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
 namespace Karma\Generator;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Generator/ConfigurationFileGenerators/AbstractFileGenerator.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
 namespace Karma\Generator\ConfigurationFileGenerators;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Generator/VariableProvider.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
 namespace Karma\Generator;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Logging/OutputAware.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
 namespace Karma\Logging;
6 6
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         {
45 45
             if($verbosity <= $this->output->getVerbosity())
46 46
             {
47
-                if(! is_array($messages))
47
+                if( ! is_array($messages))
48 48
                 {
49 49
                     $messages = array($messages);
50 50
                 }
Please login to merge, or discard this patch.