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 ( 804d88...9de2aa )
by t
02:26
created
src/ihelpers/Crypto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -486,6 +486,6 @@
 block discarded – undo
486 486
         if (null === $this->_pemPublic) {
487 487
             throw new Exception("请使用 setPair 提供公钥");
488 488
         }
489
-        return (boolean) openssl_verify($data, $signature, $this->_pemPublic, $signType);
489
+        return (boolean)openssl_verify($data, $signature, $this->_pemPublic, $signType);
490 490
     }
491 491
 }
Please login to merge, or discard this patch.
src/ihelpers/Image.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public function __construct($image)
28 28
     {
29 29
         $attributes = $this->__parseImage($image);
30
-        array_map(function ($value, $key) {
30
+        array_map(function($value, $key) {
31 31
             $this->_attributes[$key] = $value;
32 32
         }, array_values($attributes), array_keys($attributes));
33 33
         $this->_imageIn = $this->_attributes['object'];
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             $zoomWidth *= $this->_attributes['width'];
151 151
             $zoomHeight *= $this->_attributes['height'];
152 152
         } else {
153
-            $zoom = (int) $zoom;
153
+            $zoom = (int)$zoom;
154 154
             $zoomWidth = $zoom * $this->_attributes['width'];
155 155
             $zoomHeight = $zoom * $this->_attributes['height'];
156 156
         }
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
      */
253 253
     public function turnY()
254 254
     {
255
-        if($out =imagecreatetruecolor($this->_attributes['width'], $this->_attributes['height']) ){
255
+        if ($out = imagecreatetruecolor($this->_attributes['width'], $this->_attributes['height'])) {
256 256
             $this->_imageOut = $out;
257 257
             for ($x = 0; $x < $this->_attributes['width']; $x++) {
258 258
                 imagecopy($this->_imageOut, $this->_imageIn, $this->_attributes['width'] - $x - 1, 0, $x, 0, 1, $this->_attributes['height']);
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      */
270 270
     public function turnX()
271 271
     {
272
-        if($out = imagecreatetruecolor($this->_attributes['width'], $this->_attributes['height'])){
272
+        if ($out = imagecreatetruecolor($this->_attributes['width'], $this->_attributes['height'])) {
273 273
             $this->_imageOut = $out;
274 274
             for ($y = 0; $y < $this->_attributes['height']; $y++) {
275 275
                 imagecopy($this->_imageOut, $this->_imageIn, 0, $this->_attributes['height'] - $y - 1, 0, $y, $this->_attributes['width'], 1);
Please login to merge, or discard this patch.