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
Push — master ( 40d637...486f11 )
by t
07:13 queued 23s
created
src/ihelpers/Color.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
     {
335 335
         $type = $this->_type;
336 336
         if (self::TYPE_RGB === $type) {
337
-            $this->_color = array_map(function ($i) {
337
+            $this->_color = array_map(function($i) {
338 338
                 return (0.5 + $i) | 0;
339 339
             }, $this->_color);
340 340
         } elseif (self::TYPE_HEX === $type) {
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
     {
388 388
         $type = $this->_type;
389 389
         if (self::TYPE_CMYK === $type) {
390
-            $this->_color = array_map(function ($i) {
390
+            $this->_color = array_map(function($i) {
391 391
                 return sprintf('%01.4f', $i);
392 392
             }, $this->_color);
393 393
             $this->_type = self::TYPE_CMYK;
Please login to merge, or discard this patch.
src/ihelpers/Strings.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public static function toCamel($string)
112 112
     {
113
-        return lcfirst(preg_replace_callback('/_+([a-z0-9_\x7f-\xff])/', function ($matches) {
113
+        return lcfirst(preg_replace_callback('/_+([a-z0-9_\x7f-\xff])/', function($matches) {
114 114
             return ucfirst($matches[1]);
115 115
         }, strtolower($string)));
116 116
     }
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public static function isStartsWith($string, $search)
143 143
     {
144
-        return (string) $search !== "" && mb_strpos($string, $search) === 0;
144
+        return (string)$search !== "" && mb_strpos($string, $search) === 0;
145 145
     }
146 146
 
147 147
     /**
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      */
157 157
     public static function isEndsWith($string, $search)
158 158
     {
159
-        return (string) $search !== "" && mb_substr($string, -static::length($search)) === $search;
159
+        return (string)$search !== "" && mb_substr($string, -static::length($search)) === $search;
160 160
     }
161 161
 
162 162
     /**
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     public static function isContains($string, $search, &$pos = null)
174 174
     {
175
-        return (string) $search !== "" && ($pos = mb_strpos($string, $search)) !== false;
175
+        return (string)$search !== "" && ($pos = mb_strpos($string, $search)) !== false;
176 176
     }
177 177
 
178 178
     /**
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
      */
294 294
     public static function toNumber($string)
295 295
     {
296
-        return (double) $string;
296
+        return (double)$string;
297 297
     }
298 298
 
299 299
     /**
@@ -543,7 +543,7 @@  discard block
 block discarded – undo
543 543
     public static function toPinyinFirst($text, $returnArray = false)
544 544
     {
545 545
         $array = self::toPinyin($text, true);
546
-        $result = array_map(function ($row) {
546
+        $result = array_map(function($row) {
547 547
             return self::sub($row, 0, 1);
548 548
         }, $array);
549 549
         return true === $returnArray ? $result : implode('', $result);
Please login to merge, or discard this patch.