Completed
Push — master ( 0f28ca...ccc575 )
by Siad
17:36 queued 13s
created
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.
classes/phing/PropertyHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@
 block discarded – undo
223 223
         while (strpos($sb, '${') !== false) {
224 224
             $sb = preg_replace_callback(
225 225
                 '/\$\{([^\$}]+)\}/',
226
-                function ($matches) use ($keys) {
226
+                function($matches) use ($keys) {
227 227
                     $propertyName = $matches[1];
228 228
 
229 229
                     $replacement = null;
Please login to merge, or discard this patch.
classes/phing/types/Commandline.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
         return implode(
244 244
             ' ',
245 245
             array_map(
246
-                function ($arg) {
246
+                function($arg) {
247 247
                     return self::quoteArgument($arg, $this->escape);
248 248
                 },
249 249
                 $lines
Please login to merge, or discard this patch.
classes/phing/types/Environment.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
             return null;
65 65
         }
66 66
         return array_map(
67
-            function ($env) {
67
+            function($env) {
68 68
                 return $env->getContent();
69 69
             },
70 70
             $this->variables->getArrayCopy()
Please login to merge, or discard this patch.
classes/phing/tasks/ext/sonar/SonarConfigurationFileParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
                 $isMultiLine = $this->extractNameAndValue($line);
105 105
             }
106 106
 
107
-            if (($this->name !== null) && (! $isMultiLine)) {
107
+            if (($this->name !== null) && (!$isMultiLine)) {
108 108
                 if (array_key_exists($this->name, $this->properties)) {
109 109
                     $message = sprintf(
110 110
                         'Property [%s] overwritten: old value [%s], new value [%s].',
Please login to merge, or discard this patch.
classes/phing/listener/statistics/StatisticsReport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@
 block discarded – undo
81 81
         $total = count($totalTimes);
82 82
         for ($i = 0; $i < $total; $i++) {
83 83
             $totalTime = $totalTimes[$i];
84
-            $round = round(100 * (double)$totalTime / $runningTotalTime);
85
-            $table->put($i + 1, self::$IDX_PERCENTAGE, (string)$round);
84
+            $round = round(100 * (double) $totalTime / $runningTotalTime);
85
+            $table->put($i + 1, self::$IDX_PERCENTAGE, (string) $round);
86 86
         }
87 87
     }
88 88
 
Please login to merge, or discard this patch.
classes/phing/system/io/WindowsFileSystem.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -277,8 +277,7 @@
 block discarded – undo
277 277
             return 0;
278 278
         }
279 279
         $c0 = $path[0];
280
-        $c1 = ($n > 1) ? $path[1] :
281
-            0;
280
+        $c1 = ($n > 1) ? $path[1] : 0;
282 281
         if ($c0 === $slash) {
283 282
             if ($c1 === $slash) {
284 283
                 return 2; // absolute UNC pathname "\\\\foo"
Please login to merge, or discard this patch.