Completed
Push — 42-formatter ( cff7a4 )
by Nicolas
32:10 queued 28:41
created
src/Karma/Configuration/AbstractReader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function setDefaultEnvironment($environment)
42 42
     {
43
-        if(! empty($environment) && is_string($environment))
43
+        if( ! empty($environment) && is_string($environment))
44 44
         {
45 45
             $this->defaultEnvironment = $environment;
46 46
         }
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
     private function handleCustomData($value)
90 90
     {
91
-        if(! is_string($value))
91
+        if( ! is_string($value))
92 92
         {
93 93
             return $value;
94 94
         }
Please login to merge, or discard this patch.
src/Karma/Configuration/Parser/IncludeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     private function checkFilenameIsValid($filename)
28 28
     {
29
-        if(! preg_match('~.*\.conf$~', $filename))
29
+        if( ! preg_match('~.*\.conf$~', $filename))
30 30
         {
31 31
             $this->triggerError("$filename is not a valid file name", 'Invalid dependency');
32 32
         }
Please login to merge, or discard this patch.
src/Karma/Logging/OutputAware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         {
43 43
             if($verbosity <= $this->output->getVerbosity())
44 44
             {
45
-                if(! is_array($messages))
45
+                if( ! is_array($messages))
46 46
                 {
47 47
                     $messages = array($messages);
48 48
                 }
Please login to merge, or discard this patch.
src/Karma/VCS/Git.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
             $titleLineNumber = count($lines);
124 124
 
125 125
             // ensure an empty line preceeds comment
126
-            if(! empty($lines[$titleLineNumber - 1]))
126
+            if( ! empty($lines[$titleLineNumber - 1]))
127 127
             {
128 128
                 $lines[$titleLineNumber] = '';
129 129
                 $titleLineNumber++;
Please login to merge, or discard this patch.
src/Karma/VcsHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             $rootPath = '';
65 65
         }
66 66
 
67
-        if(! empty($rootPath))
67
+        if( ! empty($rootPath))
68 68
         {
69 69
             $rootPath .= $directorySeparator;
70 70
         }
Please login to merge, or discard this patch.
src/Karma/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
         
155 155
         $this['vcs'] = $this['git'];
156 156
         
157
-        $this['vcsHandler'] = $this->protect(function (Vcs $vcs) {
157
+        $this['vcsHandler'] = $this->protect(function(Vcs $vcs) {
158 158
             $handler = new VcsHandler($vcs, $this['finder']);
159 159
 
160 160
             $handler->setLogger($this['logger'])
Please login to merge, or discard this patch.
src/Karma/Command/Diff.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $table->enableFormattingTags()
46 46
                 ->setHeaders(array($environment1, $environment2))
47 47
                 ->displayKeys()
48
-                ->setValueRenderingFunction(function($value){
48
+                ->setValueRenderingFunction(function($value) {
49 49
                     return $this->formatValue($value);
50 50
                 });
51 51
                 
Please login to merge, or discard this patch.
src/Karma/Command/Hydrate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     {
126 126
         $strings = $input->getOption($optionName);
127 127
 
128
-        if(! is_array($strings))
128
+        if( ! is_array($strings))
129 129
         {
130 130
             $strings = array($strings);
131 131
         }
Please login to merge, or discard this patch.
src/Karma/Configuration/InMemoryReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     
34 34
     public function getAllVariables()
35 35
     {
36
-        $variables = array_map(function($item){
36
+        $variables = array_map(function($item) {
37 37
             return explode(':', $item)[0];
38 38
         }, array_keys($this->values));
39 39
         
Please login to merge, or discard this patch.