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 ( 32d930...beccb4 )
by Martin
04:20
created
src/Provider/AbstractProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      */
56 56
     private function getComposerPackages()
57 57
     {
58
-        if (! file_exists('composer.lock')) {
58
+        if (!file_exists('composer.lock')) {
59 59
             return;
60 60
         }
61 61
 
Please login to merge, or discard this patch.
src/Provider/BrowscapPhp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     private function hasResult(stdClass $resultRaw)
85 85
     {
86
-        if (! isset($resultRaw->browser)) {
86
+        if (!isset($resultRaw->browser)) {
87 87
             return false;
88 88
         }
89 89
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     private function isBot(stdClass $resultRaw)
103 103
     {
104
-        if (! isset($resultRaw->crawler) || $resultRaw->crawler !== true) {
104
+        if (!isset($resultRaw->crawler) || $resultRaw->crawler !== true) {
105 105
             return false;
106 106
         }
107 107
 
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
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     public function __construct()
42 42
     {
43
-        if (! function_exists('parse_user_agent')) {
43
+        if (!function_exists('parse_user_agent')) {
44 44
             throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider');
45 45
         }
46 46
     }
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
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
     public function __construct()
53 53
     {
54
-        if (! class_exists('DeviceDetector\Cache\StaticCache', true)) {
54
+        if (!class_exists('DeviceDetector\Cache\StaticCache', true)) {
55 55
             throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider');
56 56
         }
57 57
     }
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
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     public function __construct()
68 68
     {
69
-        if (! class_exists('Sinergi\BrowserDetector\UserAgent', true)) {
69
+        if (!class_exists('Sinergi\BrowserDetector\UserAgent', true)) {
70 70
             throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider');
71 71
         }
72 72
     }
Please login to merge, or discard this patch.
src/Provider/UAParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
     public function __construct()
49 49
     {
50
-        if (! class_exists('UAParser\Parser', true)) {
50
+        if (!class_exists('UAParser\Parser', true)) {
51 51
             throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider');
52 52
         }
53 53
     }
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
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
     public function __construct()
50 50
     {
51
-        if (! class_exists('WhichBrowser\Parser', true)) {
51
+        if (!class_exists('WhichBrowser\Parser', true)) {
52 52
             throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider');
53 53
         }
54 54
     }
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
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
     public function __construct()
50 50
     {
51
-        if (! class_exists('Woothee\Classifier', true)) {
51
+        if (!class_exists('Woothee\Classifier', true)) {
52 52
             throw new Exception\PackageNotLoaded('You need to install ' . $this->getComposerPackageName() . ' to use this provider');
53 53
         }
54 54
     }
Please login to merge, or discard this patch.
src/Provider/Http/UdgerCom.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
 
201 201
     /**
202 202
      *
203
-     * @param Model\UserAgent $device
203
+     * @param Model\Device $device
204 204
      * @param DeviceDetector  $dd
205 205
      */
206 206
     private function hydrateDevice(Model\Device $device, DeviceDetector $dd)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
          * no json returned?
132 132
          */
133 133
         $contentType = $response->getHeader('Content-Type');
134
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
134
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json') {
135 135
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
136 136
         }
137 137
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
         /*
148 148
          * Missing data?
149 149
          */
150
-        if (! $content instanceof stdClass || ! isset($content->info)) {
150
+        if (!$content instanceof stdClass || !isset($content->info)) {
151 151
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
152 152
         }
153 153
 
Please login to merge, or discard this patch.