GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#20)
by t
02:32
created
src/ihelpers/SensitiveWord.php 5 patches
Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -166,8 +166,4 @@
 block discarded – undo
166 166
         $local->putFileContent($file, <<<EOT
167 167
 <?php
168 168
 
169
-return {$array};
170
-
171
-EOT);
172
-    }
173
-}
169
+return {$array}
174 170
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -166,8 +166,4 @@
 block discarded – undo
166 166
         $local->putFileContent($file, <<<EOT
167 167
 <?php
168 168
 
169
-return {$array};
170
-
171
-EOT);
172
-    }
173
-}
169
+return {$array}
174 170
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -166,8 +166,4 @@
 block discarded – undo
166 166
         $local->putFileContent($file, <<<EOT
167 167
 <?php
168 168
 
169
-return {$array};
170
-
171
-EOT);
172
-    }
173
-}
169
+return {$array}
174 170
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -166,8 +166,4 @@
 block discarded – undo
166 166
         $local->putFileContent($file, <<<EOT
167 167
 <?php
168 168
 
169
-return {$array};
170
-
171
-EOT);
172
-    }
173
-}
169
+return {$array}
174 170
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -166,8 +166,4 @@
 block discarded – undo
166 166
         $local->putFileContent($file, <<<EOT
167 167
 <?php
168 168
 
169
-return {$array};
170
-
171
-EOT);
172
-    }
173
-}
169
+return {$array}
174 170
\ No newline at end of file
Please login to merge, or discard this patch.
src/icomponents/excel/mathAndTrigonometry/MMAT.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             $arr = [];
96 96
             for ($r = 0; $r < $row1; $r++) {
97 97
                 for ($c = 0; $c < $col2; $c++) {
98
-                    $arr[$r][$c] = array_sum(array_map(function ($a1, $a2) {
98
+                    $arr[$r][$c] = array_sum(array_map(function($a1, $a2) {
99 99
                         return $a1 * $a2;
100 100
                     }, $array1[$r], Arrays::column($array2, $c)));
101 101
                 }
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     public static function multinomial($number1)
145 145
     {
146 146
         $numbers = is_array($number1) ? $number1 : func_get_args();
147
-        return self::fact(array_sum($numbers)) / array_product(array_map(function ($num) {
147
+        return self::fact(array_sum($numbers)) / array_product(array_map(function($num) {
148 148
             return self::fact($num);
149 149
         }, $numbers));
150 150
     }
Please login to merge, or discard this patch.
src/icomponents/excel/mathAndTrigonometry/SMAT.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         $k = 1;
80 80
         for ($i = 0; $i < $row; $i++) {
81 81
             for ($j = 0; $j < $col; $j++) {
82
-                $array[$i][$j] = $start + ($k++ - 1) * $step;
82
+                $array[$i][$j] = $start + ($k++ -1) * $step;
83 83
             }
84 84
         }
85 85
         return $array;
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
                 array_push($arr[$i], $array[$i]);
217 217
             }
218 218
         }
219
-        return array_sum(array_map(function ($rows) {
219
+        return array_sum(array_map(function($rows) {
220 220
             return array_product($rows);
221 221
         }, $arr));
222 222
     }
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     public static function sumsq($number1)
232 232
     {
233 233
         $numbers = is_array($number1) ? $number1 : func_get_args();
234
-        return array_sum(array_map(function ($num) {
234
+        return array_sum(array_map(function($num) {
235 235
             return $num * $num;
236 236
         }, $numbers));
237 237
     }
Please login to merge, or discard this patch.
src/icomponents/excel/mathAndTrigonometry/QMAT.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
      */
24 24
     public static function quotient($numberator, $denominator)
25 25
     {
26
-        return (int) ($numberator / $denominator);
26
+        return (int)($numberator / $denominator);
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
src/I.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,10 +75,10 @@
 block discarded – undo
75 75
                     } elseif (property_exists($mixed, $key) && null !== $mixed->$key) {
76 76
                         $mixed = $mixed->$key;
77 77
                     } else {
78
-                        try{
78
+                        try {
79 79
                             $temp = $mixed->$key;
80 80
                             return $temp;
81
-                        }catch(Exception $e){
81
+                        } catch (Exception $e) {
82 82
                             return $defaultValue;
83 83
                         }
84 84
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                         try{
79 79
                             $temp = $mixed->$key;
80 80
                             return $temp;
81
-                        }catch(Exception $e){
81
+                        } catch(Exception $e){
82 82
                             return $defaultValue;
83 83
                         }
84 84
 
Please login to merge, or discard this patch.
src/icomponents/excel/mathAndTrigonometry/OMAT.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
         if ($number % 2 == 0) {
28 28
             $number += 1;
29 29
         }
30
-        return (int) ($sign * $number);
30
+        return (int)($sign * $number);
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/icomponents/excel/mathAndTrigonometry/FMAT.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public static function fact($number)
26 26
     {
27
-        $number = (int) floor($number);
27
+        $number = (int)floor($number);
28 28
         if ($number == 0) {
29 29
             return 1;
30 30
         } elseif ($number < 0) {
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         }
55 55
         $result = 1;
56 56
         $isEven = $number % 2 == 0;
57
-        foreach (Arrays::rangeGenerator($isEven ? 2 : 1, (int) $number, 2) as $num) {
57
+        foreach (Arrays::rangeGenerator($isEven ? 2 : 1, (int)$number, 2) as $num) {
58 58
             $result *= $num;
59 59
         }
60 60
         return $result;
Please login to merge, or discard this patch.
src/icomponents/excel/mathAndTrigonometry/EMAT.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         if ($number % 2 == 1) {
30 30
             $number += 1;
31 31
         }
32
-        return (int) ($sign * $number);
32
+        return (int)($sign * $number);
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
src/icomponents/excel/mathAndTrigonometry/RMAT.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public static function rand()
34 34
     {
35
-        return mt_rand(0, (int) self::power(10, 10)) / self::power(10, 10);
35
+        return mt_rand(0, (int)self::power(10, 10)) / self::power(10, 10);
36 36
     }
37 37
 
38 38
     /**
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public static function randarray($row = 1, $col = 1, $min = 0, $max = null, $isInt = false)
50 50
     {
51
-        null === $max && $max = (int) pow(10, 10);
51
+        null === $max && $max = (int)pow(10, 10);
52 52
         $array = [];
53 53
         for ($i = 0; $i < $row; $i++) {
54 54
             for ($j = 0; $j < $col; $j++) {
55
-                $array[$i][$j] = mt_rand($min, $max - 1) + ($isInt ? 0 : mt_rand(0, (int) pow(10, 10)) / pow(10, 10));
55
+                $array[$i][$j] = mt_rand($min, $max - 1) + ($isInt ? 0 : mt_rand(0, (int)pow(10, 10)) / pow(10, 10));
56 56
             }
57 57
         }
58 58
         return $array;
Please login to merge, or discard this patch.