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 ( 7796c2...610e54 )
by Rich
15s
created
src/Math.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
                 $hex = $this->addHexPrefix($this->prepAndClean($hex));
293 293
                 break;
294 294
             default:
295
-                throw new \Exception('Unknown data type passed to the binConv() function.  Value received was "' . var_export($hex, true) . '".');
295
+                throw new \Exception('Unknown data type passed to the binConv() function.  Value received was "'.var_export($hex, true).'".');
296 296
         }
297 297
 
298 298
         return strrev($this->encodeValue($hex, '256'));
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
         try {
313 313
 
314 314
             if (strlen($hex) % 2 != 0 || $this->Test($hex) != 'hex') {
315
-                throw new \Exception('Uneven number of hex characters or invalid parameter passed to encodeBase58 function.  Value received was "' . var_export($hex, true) . '".');
315
+                throw new \Exception('Uneven number of hex characters or invalid parameter passed to encodeBase58 function.  Value received was "'.var_export($hex, true).'".');
316 316
             }
317 317
             
318 318
             $orighex = $hex;
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
             $return  = strrev($this->encodeValue($hex, '58'));
321 321
 
322 322
             for ($i = 0; $i < strlen($orighex) && substr($orighex, $i, 2) == '00'; $i += 2) {
323
-                $return = '1' . $return;
323
+                $return = '1'.$return;
324 324
             }
325 325
 
326 326
             return $return;
@@ -356,10 +356,10 @@  discard block
 block discarded – undo
356 356
             $return = $this->encodeHex($return);
357 357
 
358 358
             for ($i = 0; $i < strlen($origbase58) && $origbase58[$i] == '1'; $i++) {
359
-                $return = '00' . $return;
359
+                $return = '00'.$return;
360 360
             }
361 361
 
362
-            return (strlen($return) % 2 != 0) ? '0' . $return : $return;
362
+            return (strlen($return) % 2 != 0) ? '0'.$return : $return;
363 363
 
364 364
         } catch (\Exception $e) {
365 365
             // TODO: Need to do something useful here instead of re-throwing the exception.
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
         foreach ($params as $key => $value) {
402 402
             if ($this->numberCheck($value) === false) {
403 403
                 $caller = debug_backtrace();
404
-                throw new \Exception('Empty or invalid parameters passed to ' . $caller[count($caller) - 1]['function'] . ' function. Argument list received: ' . var_export($caller[count($caller) - 1]['args'], true));
404
+                throw new \Exception('Empty or invalid parameters passed to '.$caller[count($caller) - 1]['function'].' function. Argument list received: '.var_export($caller[count($caller) - 1]['args'], true));
405 405
             }
406 406
         }
407 407
     }
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
                 $qq  = $this->math->div($val, $base);
429 429
                 $rem = $this->math->mod($val, $base);
430 430
                 $val = $qq;
431
-                $new = $new . $digits[$rem];
431
+                $new = $new.$digits[$rem];
432 432
             }
433 433
 
434 434
             return $new;
Please login to merge, or discard this patch.