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 ( 33c00a...abc70d )
by Brad
05:31
created
src/Methods/Replace.php 1 patch
Spacing   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,8 +30,7 @@  discard block
 block discarded – undo
30 30
     {
31 31
         if ($caseSensitive)
32 32
         {
33
-            $return = UTF8::str_replace
34
-            (
33
+            $return = UTF8::str_replace(
35 34
                 $search,
36 35
                 $replacement,
37 36
                 $this->scalarString
@@ -39,8 +38,7 @@  discard block
 block discarded – undo
39 38
         }
40 39
         else
41 40
         {
42
-            $return = UTF8::str_ireplace
43
-            (
41
+            $return = UTF8::str_ireplace(
44 42
                 $search,
45 43
                 $replacement,
46 44
                 $this->scalarString
@@ -60,8 +58,7 @@  discard block
 block discarded – undo
60 58
      */
61 59
     public function replaceBeginning($search, $replacement)
62 60
     {
63
-        return $this->regexReplace
64
-        (
61
+        return $this->regexReplace(
65 62
             '^'.preg_quote($search, '/'),
66 63
             UTF8::str_replace('\\', '\\\\', $replacement)
67 64
         );
@@ -77,8 +74,7 @@  discard block
 block discarded – undo
77 74
      */
78 75
     public function replaceEnding($search, $replacement)
79 76
     {
80
-        return $this->regexReplace
81
-        (
77
+        return $this->regexReplace(
82 78
             preg_quote($search, '/').'$',
83 79
             UTF8::str_replace('\\', '\\\\', $replacement)
84 80
         );
Please login to merge, or discard this patch.