Completed
Push — master ( 0f28ca...ccc575 )
by Siad
17:36 queued 13s
created
classes/phing/tasks/ext/hg/HgAddTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
         $ignores = [];
123 123
         $lines = file('.hgignore');
124 124
         foreach ($lines as $line) {
125
-            $nline =  trim($line);
125
+            $nline = trim($line);
126 126
             $nline = preg_replace('/\/\*$/', '/', $nline);
127 127
             $ignores[] = $nline;
128 128
         }
Please login to merge, or discard this patch.
phing/tasks/ext/phpstan/CommandBuilder/PHPStanHelpCommandBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
         $cmd = $task->getCommandline();
12 12
 
13 13
         if (!empty($task->getFormat())) {
14
-            $cmd->createArgument()->setValue('--format=' .  $task->getFormat());
14
+            $cmd->createArgument()->setValue('--format=' . $task->getFormat());
15 15
         }
16 16
         if ($task->isRaw()) {
17 17
             $cmd->createArgument()->setValue('--raw');
Please login to merge, or discard this patch.
classes/phing/tasks/ext/ZipTask.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -272,8 +272,7 @@
 block discarded – undo
272 272
     private function addFilesetsToArchive($zip)
273 273
     {
274 274
         foreach ($this->filesets as $fs) {
275
-            $fsBasedir = (null != $this->baseDir) ? $this->baseDir :
276
-                $fs->getDir($this->project);
275
+            $fsBasedir = (null != $this->baseDir) ? $this->baseDir : $fs->getDir($this->project);
277 276
 
278 277
             $files = $fs->getIterator($this->includeEmpty);
279 278
 
Please login to merge, or discard this patch.
classes/phing/tasks/ext/HttpRequestTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
                 $request->setBody(
188 188
                     json_encode(
189 189
                         array_map(
190
-                            function (Parameter $postParameter) {
190
+                            function(Parameter $postParameter) {
191 191
                                 return [$postParameter->getName() => $postParameter->getValue()];
192 192
                             },
193 193
                             $this->postParameters
Please login to merge, or discard this patch.
classes/phing/tasks/ext/coverage/CoverageReportTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
                 $statementcount = count(
428 428
                     array_filter(
429 429
                         $coverageInformation,
430
-                        function ($var) {
430
+                        function($var) {
431 431
                             return ($var != -2);
432 432
                         }
433 433
                     )
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
                 $statementscovered = count(
437 437
                     array_filter(
438 438
                         $coverageInformation,
439
-                        function ($var) {
439
+                        function($var) {
440 440
                             return ($var >= 0);
441 441
                         }
442 442
                     )
Please login to merge, or discard this patch.
classes/phing/tasks/ext/UntarTask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,8 @@
 block discarded – undo
98 98
         $mode = strtolower(substr($tarfileName, strrpos($tarfileName, '.')));
99 99
 
100 100
         $compressions = [
101
-            'gz' => ['.gz', '.tgz',],
102
-            'bz2' => ['.bz2',],
101
+            'gz' => ['.gz', '.tgz', ],
102
+            'bz2' => ['.bz2', ],
103 103
         ];
104 104
         foreach ($compressions as $algo => $ext) {
105 105
             if (in_array($mode, $ext)) {
Please login to merge, or discard this patch.
classes/phing/tasks/system/PhpEvalTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
                 $value = $p->getParams();
101 101
                 array_walk_recursive(
102 102
                     $value,
103
-                    function (&$item) {
103
+                    function(&$item) {
104 104
                         if ($item instanceof Parameter) {
105 105
                             $item = $item->getValue();
106 106
                         }
Please login to merge, or discard this patch.
classes/phing/tasks/system/FailTask.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,8 +121,7 @@
 block discarded – undo
121 121
      */
122 122
     public function main()
123 123
     {
124
-        $fail = $this->nestedConditionPresent() ? $this->testNestedCondition() :
125
-            $this->testIfCondition() && $this->testUnlessCondition();
124
+        $fail = $this->nestedConditionPresent() ? $this->testNestedCondition() : $this->testIfCondition() && $this->testUnlessCondition();
126 125
 
127 126
         if ($fail) {
128 127
             $text = null;
Please login to merge, or discard this patch.
classes/phing/tasks/system/PathConvert.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -208,8 +208,8 @@  discard block
 block discarded – undo
208 208
     public function main()
209 209
     {
210 210
         $savedPath = $this->path;
211
-        $savedPathSep = $this->pathSep;// may be altered in validateSetup
212
-        $savedDirSep = $this->dirSep;// may be altered in validateSetup
211
+        $savedPathSep = $this->pathSep; // may be altered in validateSetup
212
+        $savedDirSep = $this->dirSep; // may be altered in validateSetup
213 213
 
214 214
         try {
215 215
             // If we are a reference, create a Path from the reference
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
                 }
243 243
             }
244 244
 
245
-            $this->validateSetup();// validate our setup
245
+            $this->validateSetup(); // validate our setup
246 246
 
247 247
             // Currently, we deal with only two path formats: Unix and Windows
248 248
             // And Unix is everything that is not Windows
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
             }
269 269
             unset($elem);
270 270
             foreach ($elems as $key => $elem) {
271
-                $elem = $this->mapElement($elem);// Apply the path prefix map
271
+                $elem = $this->mapElement($elem); // Apply the path prefix map
272 272
 
273 273
                 // Now convert the path and file separator characters from the
274 274
                 // current os to the target os.
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 
330 330
                 if ($newElem !== (string) $elem) {
331 331
                     $elem = $newElem;
332
-                    break;// We applied one, so we're done
332
+                    break; // We applied one, so we're done
333 333
                 }
334 334
             }
335 335
         }
Please login to merge, or discard this patch.