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
Pull Request — master (#117)
by Walt
05:34
created
src/Provider/AbstractProvider.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -254,6 +254,10 @@
 block discarded – undo
254 254
         return true;
255 255
     }
256 256
 
257
+    /**
258
+     * @param string $group
259
+     * @param string $part
260
+     */
257 261
     protected function getRealResult($value, $group = null, $part = null)
258 262
     {
259 263
         if ($this->isRealResult($value, $group, $part) === true) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,8 +163,8 @@
 block discarded – undo
163 163
      */
164 164
     protected function checkIfInstalled()
165 165
     {
166
-        if (! Package::isInstalled($this->getPackageName())) {
167
-            throw new PackageNotLoadedException('You need to install the package ' . $this->getPackageName() . ' to use this provider');
166
+        if (!Package::isInstalled($this->getPackageName())) {
167
+            throw new PackageNotLoadedException('You need to install the package '.$this->getPackageName().' to use this provider');
168 168
         }
169 169
     }
170 170
 
Please login to merge, or discard this patch.
src/Provider/SinergiBrowserDetector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
          * No result found?
230 230
          */
231 231
         if ($this->hasResult($browserRaw, $osRaw, $deviceRaw) !== true) {
232
-            throw new NoResultFoundException('No result found for user agent: ' . $userAgent);
232
+            throw new NoResultFoundException('No result found for user agent: '.$userAgent);
233 233
         }
234 234
 
235 235
         /*
Please login to merge, or discard this patch.
src/Provider/WhichBrowser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
          * No result found?
186 186
          */
187 187
         if ($parser->isDetected() !== true) {
188
-            throw new NoResultFoundException('No result found for user agent: ' . $userAgent);
188
+            throw new NoResultFoundException('No result found for user agent: '.$userAgent);
189 189
         }
190 190
 
191 191
         /*
Please login to merge, or discard this patch.
src/Provider/Woothee.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
          * No result found?
200 200
          */
201 201
         if ($this->hasResult($resultRaw) !== true) {
202
-            throw new NoResultFoundException('No result found for user agent: ' . $userAgent);
202
+            throw new NoResultFoundException('No result found for user agent: '.$userAgent);
203 203
         }
204 204
 
205 205
         /*
Please login to merge, or discard this patch.
src/Provider/Zsxsoft.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
          * No result found?
211 211
          */
212 212
         if ($this->hasResult($browser, $os, $device) !== true) {
213
-            throw new NoResultFoundException('No result found for user agent: ' . $userAgent);
213
+            throw new NoResultFoundException('No result found for user agent: '.$userAgent);
214 214
         }
215 215
 
216 216
         /*
Please login to merge, or discard this patch.
src/Provider/DonatjUAParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
         $resultRaw = $functionName($userAgent);
112 112
 
113 113
         if ($this->hasResult($resultRaw) !== true) {
114
-            throw new NoResultFoundException('No result found for user agent: ' . $userAgent);
114
+            throw new NoResultFoundException('No result found for user agent: '.$userAgent);
115 115
         }
116 116
 
117 117
         /*
Please login to merge, or discard this patch.
src/Provider/PiwikDeviceDetector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@
 block discarded – undo
295 295
          * No result found?
296 296
          */
297 297
         if ($this->hasResult($dd) !== true) {
298
-            throw new NoResultFoundException('No result found for user agent: ' . $userAgent);
298
+            throw new NoResultFoundException('No result found for user agent: '.$userAgent);
299 299
         }
300 300
 
301 301
         /*
Please login to merge, or discard this patch.
src/Provider/JenssegersAgent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
          * No result found?
208 208
          */
209 209
         if ($this->hasResult($resultCache) !== true) {
210
-            throw new NoResultFoundException('No result found for user agent: ' . $userAgent);
210
+            throw new NoResultFoundException('No result found for user agent: '.$userAgent);
211 211
         }
212 212
 
213 213
         /*
Please login to merge, or discard this patch.
src/Model/UserAgent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
     /**
57 57
      *
58
-     * @param string $provider
58
+     * @param string $providerName
59 59
      */
60 60
     public function __construct($providerName = null, $providerVersion = null)
61 61
     {
Please login to merge, or discard this patch.