Passed
Push — master ( d4a5ea...20f78d )
by Michiel
07:52
created
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 (EnvVariable $env) {
67
+            function(EnvVariable $env) {
68 68
                 return $env->getContent();
69 69
             },
70 70
             $this->variables->getArrayCopy()
Please login to merge, or discard this patch.
classes/phing/types/selectors/SizeSelector.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
     private const VALUE_KEY = 'value';
46 46
     private const WHEN_KEY  = 'when';
47 47
     private const WHEN      = [-1 => 'less',
48
-                               0  => 'equal',
49
-                               1  => 'more',];
48
+                                0  => 'equal',
49
+                                1  => 'more',];
50 50
 
51 51
     public function __toString(): string
52 52
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     private const WHEN_KEY  = 'when';
47 47
     private const WHEN      = [-1 => 'less',
48 48
                                0  => 'equal',
49
-                               1  => 'more',];
49
+                               1  => 'more', ];
50 50
 
51 51
     public function __toString(): string
52 52
     {
Please login to merge, or discard this patch.
classes/phing/util/SizeHelper.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@
 block discarded – undo
29 29
     const KILO = 1000;
30 30
     const KIBI = 1024;
31 31
     const SI   = [1 => ['kB', 'kilo', 'kilobyte',],
32
-                  2 => ['MB', 'mega', 'megabyte',],
33
-                  3 => ['GB', 'giga', 'gigabyte',],
34
-                  4 => ['TB', 'tera', 'terabyte',],];
32
+                    2 => ['MB', 'mega', 'megabyte',],
33
+                    3 => ['GB', 'giga', 'gigabyte',],
34
+                    4 => ['TB', 'tera', 'terabyte',],];
35 35
     const IEC  = [0 => [self::B,],
36
-                  1 => ['k', 'Ki', 'KiB', 'kibi', 'kibibyte',],
37
-                  2 => ['M', 'Mi', 'MiB', 'mebi', 'mebibyte',],
38
-                  3 => ['G', 'Gi', 'GiB', 'gibi', 'gibibyte',],
39
-                  4 => ['T', 'Ti', 'TiB', 'tebi', 'tebibyte',],];
36
+                    1 => ['k', 'Ki', 'KiB', 'kibi', 'kibibyte',],
37
+                    2 => ['M', 'Mi', 'MiB', 'mebi', 'mebibyte',],
38
+                    3 => ['G', 'Gi', 'GiB', 'gibi', 'gibibyte',],
39
+                    4 => ['T', 'Ti', 'TiB', 'tebi', 'tebibyte',],];
40 40
 
41 41
     /**
42 42
      * Converts strings like '512K', '0.5G', '50M' to bytes.
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,15 +28,15 @@
 block discarded – undo
28 28
     const B    = 'B';
29 29
     const KILO = 1000;
30 30
     const KIBI = 1024;
31
-    const SI   = [1 => ['kB', 'kilo', 'kilobyte',],
32
-                  2 => ['MB', 'mega', 'megabyte',],
33
-                  3 => ['GB', 'giga', 'gigabyte',],
34
-                  4 => ['TB', 'tera', 'terabyte',],];
35
-    const IEC  = [0 => [self::B,],
36
-                  1 => ['k', 'Ki', 'KiB', 'kibi', 'kibibyte',],
37
-                  2 => ['M', 'Mi', 'MiB', 'mebi', 'mebibyte',],
38
-                  3 => ['G', 'Gi', 'GiB', 'gibi', 'gibibyte',],
39
-                  4 => ['T', 'Ti', 'TiB', 'tebi', 'tebibyte',],];
31
+    const SI   = [1 => ['kB', 'kilo', 'kilobyte', ],
32
+                  2 => ['MB', 'mega', 'megabyte', ],
33
+                  3 => ['GB', 'giga', 'gigabyte', ],
34
+                  4 => ['TB', 'tera', 'terabyte', ], ];
35
+    const IEC = [0 => [self::B, ],
36
+                  1 => ['k', 'Ki', 'KiB', 'kibi', 'kibibyte', ],
37
+                  2 => ['M', 'Mi', 'MiB', 'mebi', 'mebibyte', ],
38
+                  3 => ['G', 'Gi', 'GiB', 'gibi', 'gibibyte', ],
39
+                  4 => ['T', 'Ti', 'TiB', 'tebi', 'tebibyte', ], ];
40 40
 
41 41
     /**
42 42
      * Converts strings like '512K', '0.5G', '50M' to bytes.
Please login to merge, or discard this patch.