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 ( ac9b53...c7154a )
by Brad
02:28
created
src/Methods/Truncate.php 1 patch
Spacing   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -36,15 +36,14 @@  discard block
 block discarded – undo
36 36
         $substringLength = UTF8::strlen($substring, $this->encoding);
37 37
         $length -= $substringLength;
38 38
 
39
-        $truncated = UTF8::substr
40
-        (
39
+        $truncated = UTF8::substr(
41 40
             $this->scalarString,
42 41
             0,
43 42
             $length,
44 43
             $this->encoding
45 44
         );
46 45
 
47
-        return $this->newSelf($truncated . $substring);
46
+        return $this->newSelf($truncated.$substring);
48 47
     }
49 48
 
50 49
     /**
@@ -79,8 +78,7 @@  discard block
 block discarded – undo
79 78
 
80 79
             if (!is_integer($lastPos))
81 80
             {
82
-                throw new \UnexpectedValueException
83
-                (
81
+                throw new \UnexpectedValueException(
84 82
                     'Expecting $lastPos to be integer!'
85 83
                 );
86 84
             }
@@ -88,6 +86,6 @@  discard block
 block discarded – undo
88 86
             $truncated = UTF8::substr($truncated, 0, $lastPos, $this->encoding);
89 87
         }
90 88
 
91
-        return $this->newSelf($truncated . $substring);
89
+        return $this->newSelf($truncated.$substring);
92 90
     }
93 91
 }
Please login to merge, or discard this patch.