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
Branch master (24a3f9)
by Brad
05:19
created
src/Methods/Ensure.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 // -----------------------------------------------------------------------------
12 12
 ////////////////////////////////////////////////////////////////////////////////
13 13
 
14
-use voku\helper\UTF8;
15
-
16 14
 trait Ensure
17 15
 {
18 16
     /**
Please login to merge, or discard this patch.
src/Methods/Has.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 // -----------------------------------------------------------------------------
12 12
 ////////////////////////////////////////////////////////////////////////////////
13 13
 
14
-use voku\helper\UTF8;
15
-
16 14
 trait Has
17 15
 {
18 16
     /**
Please login to merge, or discard this patch.
src/Methods/Is.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 // -----------------------------------------------------------------------------
12 12
 ////////////////////////////////////////////////////////////////////////////////
13 13
 
14
-use voku\helper\UTF8;
15
-
16 14
 trait Is
17 15
 {
18 16
     /**
Please login to merge, or discard this patch.
src/Methods/Trim.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 // -----------------------------------------------------------------------------
12 12
 ////////////////////////////////////////////////////////////////////////////////
13 13
 
14
-use voku\helper\UTF8;
15
-
16 14
 trait Trim
17 15
 {
18 16
     /**
Please login to merge, or discard this patch.
src/Exceptions/MisMatchedEncodingException.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     public function __construct()
17 17
     {
18
-        parent::__construct
19
-        (
18
+        parent::__construct(
20 19
             'You can not append a string of a different encoding '.
21 20
             'to that of the existing string!'
22 21
         );
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -232,16 +232,14 @@
 block discarded – undo
232 232
      */
233 233
     public function remove($startIndex, $length)
234 234
     {
235
-        $start = UTF8::substr
236
-        (
235
+        $start = UTF8::substr(
237 236
             (string)$this->str,
238 237
             0,
239 238
             $startIndex,
240 239
             $this->str->getEncoding()
241 240
         );
242 241
 
243
-        $end = UTF8::substr
244
-        (
242
+        $end = UTF8::substr(
245 243
             (string)$this->str,
246 244
             $startIndex + $length,
247 245
             $this->str->getLength(),
Please login to merge, or discard this patch.
src/Base.php 1 patch
Spacing   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -96,15 +96,13 @@  discard block
 block discarded – undo
96 96
 		// Make sure we can use the provided string value as a string.
97 97
 		if (is_array($string))
98 98
 		{
99
-			throw new \InvalidArgumentException
100
-			(
99
+			throw new \InvalidArgumentException(
101 100
 				'Passed value cannot be an array'
102 101
 			);
103 102
 		}
104 103
 		elseif (is_object($string) && !method_exists($string, '__toString'))
105 104
 		{
106
-			throw new \InvalidArgumentException
107
-			(
105
+			throw new \InvalidArgumentException(
108 106
 				'Passed object must have a __toString method'
109 107
 			);
110 108
 		}
@@ -126,7 +124,7 @@  discard block
 block discarded – undo
126 124
 		}
127 125
 
128 126
 		// Set the strings length property.
129
-		$this->stringLength = UTF8::strlen($this->scalarString,$this->encoding);
127
+		$this->stringLength = UTF8::strlen($this->scalarString, $this->encoding);
130 128
 	}
131 129
 
132 130
 	/**
@@ -286,8 +284,7 @@  discard block
 block discarded – undo
286 284
 			throw new \OutOfBoundsException('No character exists at the index');
287 285
 		}
288 286
 
289
-		return $this->newSelf(UTF8::substr
290
-		(
287
+		return $this->newSelf(UTF8::substr(
291 288
 			$this->scalarString,
292 289
 			$offset,
293 290
 			1,
Please login to merge, or discard this patch.
src/Methods/StartEndWith.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function startsWith($substring, $caseSensitive = true)
31 31
     {
32
-        $startOfStr = UTF8::substr
33
-        (
32
+        $startOfStr = UTF8::substr(
34 33
             $this->scalarString,
35 34
             0,
36 35
             UTF8::strlen($substring, $this->encoding),
@@ -60,8 +59,7 @@  discard block
 block discarded – undo
60 59
     {
61 60
         $substringLength = UTF8::strlen($substring, $this->encoding);
62 61
 
63
-        $endOfStr = UTF8::substr
64
-        (
62
+        $endOfStr = UTF8::substr(
65 63
             $this->scalarString,
66 64
             $this->getLength() - $substringLength,
67 65
             $substringLength,
Please login to merge, or discard this patch.
src/Methods/Misc.php 1 patch
Spacing   +6 added lines, -12 removed lines patch added patch discarded remove patch
@@ -66,16 +66,14 @@  discard block
 block discarded – undo
66 66
     {
67 67
         if ($index > $this->getLength()) throw new \OutOfBoundsException();
68 68
 
69
-        $start = UTF8::substr
70
-        (
69
+        $start = UTF8::substr(
71 70
             $this->scalarString,
72 71
             0,
73 72
             $index,
74 73
             $this->encoding
75 74
         );
76 75
 
77
-        $end = UTF8::substr
78
-        (
76
+        $end = UTF8::substr(
79 77
             $this->scalarString,
80 78
             $index,
81 79
             $this->getLength(),
@@ -104,8 +102,7 @@  discard block
 block discarded – undo
104 102
      */
105 103
     public function repeat($multiplier)
106 104
     {
107
-        return $this->newSelf
108
-        (
105
+        return $this->newSelf(
109 106
             UTF8::str_repeat($this->scalarString, $multiplier)
110 107
         );
111 108
     }
@@ -163,8 +160,7 @@  discard block
 block discarded – undo
163 160
             $length = $end - $start;
164 161
         }
165 162
 
166
-        return $this->newSelf
167
-        (
163
+        return $this->newSelf(
168 164
             UTF8::substr($this->scalarString, $start, $length, $this->encoding)
169 165
         );
170 166
     }
@@ -179,8 +175,7 @@  discard block
 block discarded – undo
179 175
      */
180 176
     public function surround($substring)
181 177
     {
182
-        return $this->newSelf
183
-        (
178
+        return $this->newSelf(
184 179
             implode('', [$substring, $this->scalarString, $substring])
185 180
         );
186 181
     }
@@ -213,8 +208,7 @@  discard block
 block discarded – undo
213 208
     {
214 209
         if ($caseSensitive)
215 210
         {
216
-            return UTF8::substr_count
217
-            (
211
+            return UTF8::substr_count(
218 212
                 $this->scalarString,
219 213
                 $substring,
220 214
                 $this->encoding
Please login to merge, or discard this patch.