Passed
Push — master ( e27327...766034 )
by Siad
11:22
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/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.
classes/phing/listener/statistics/StringFormatter.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
     public function center($value, $fixedLength)
27 27
     {
28 28
         $spacesBeforeValue = $this->calculateSpaceBeforeValue($value, $fixedLength);
29
-        return $this->toSpaces($spacesBeforeValue) .  $value;
29
+        return $this->toSpaces($spacesBeforeValue) . $value;
30 30
     }
31 31
 
32 32
     public function left($value, $fixedLength)
Please login to merge, or discard this patch.
classes/phing/listener/statistics/Series.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     public function getTimes()
51 51
     {
52 52
         return array_map(
53
-            function (Duration $elem) {
53
+            function(Duration $elem) {
54 54
                 return $elem->getTime();
55 55
             },
56 56
             $this->list
Please login to merge, or discard this patch.