Completed
Push — 68-default-env-for-group ( 1be63f )
by Nicolas
55:11 queued 51:47
created
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/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/Display/CliTable.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $lines = array();
68 68
         $lines[] = $separatorRow;
69 69
         
70
-        if(! empty($this->headers))
70
+        if( ! empty($this->headers))
71 71
         {
72 72
             $lines[] = $this->renderLine($this->headers);
73 73
             $lines[] = $separatorRow;
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             return;
91 91
         }
92 92
         
93
-        if(! empty($this->headers))
93
+        if( ! empty($this->headers))
94 94
         {
95 95
             array_unshift($this->headers, '');
96 96
         }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         
109 109
         $this->columnsSize = array_pad(array(), $this->nbColumns, -1);
110 110
         
111
-        if(! empty($this->headers))
111
+        if( ! empty($this->headers))
112 112
         {
113 113
             $this->updateColumnsSize(array($this->headers));
114 114
         }
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     {
133 133
         foreach($newValues as $row)
134 134
         {
135
-            if(! is_array($row))
135
+            if( ! is_array($row))
136 136
             {
137 137
                 throw new \InvalidArgumentException('Rows must be arrays');
138 138
             }
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     
183 183
     private function stripTags($value)
184 184
     {
185
-        return preg_replace ('/<[^>]*>/', '', $value);     
185
+        return preg_replace('/<[^>]*>/', '', $value);     
186 186
     }
187 187
     
188 188
     private function renderLine(array $row)
Please login to merge, or discard this patch.
src/Karma/Application.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 
157 157
         $this['vcs'] = $this['git'];
158 158
 
159
-        $this['vcsHandler'] = $this->protect(function (Vcs $vcs) {
159
+        $this['vcsHandler'] = $this->protect(function(Vcs $vcs) {
160 160
             $handler = new VcsHandler($vcs, $this['finder']);
161 161
 
162 162
             $handler->setLogger($this['logger'])
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
             return new \Psr\Log\NullLogger();
173 173
         });
174 174
 
175
-        $this['formatter.provider'] = $this->share(function ($c) {
175
+        $this['formatter.provider'] = $this->share(function($c) {
176 176
             return new ProfileProvider($c['profile']);
177 177
         });
178 178
 
Please login to merge, or discard this patch.