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 ( b0453d...abb288 )
by Martin
11s
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/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.
src/Provider/Http/UserAgentApiCom.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
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
          * no json returned?
127 127
          */
128 128
         $contentType = $response->getHeader('Content-Type');
129
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
129
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json') {
130 130
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
131 131
         }
132 132
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         /*
143 143
          * Missing data?
144 144
          */
145
-        if (! $content instanceof stdClass || ! isset($content->data)) {
145
+        if (!$content instanceof stdClass || !isset($content->data)) {
146 146
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Data is missing "' . $response->getBody()->getContents() . '"');
147 147
         }
148 148
 
Please login to merge, or discard this patch.
src/Provider/Http/NeutrinoApiCom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
          * no json returned?
127 127
          */
128 128
         $contentType = $response->getHeader('Content-Type');
129
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json;charset=UTF-8') {
129
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json;charset=UTF-8') {
130 130
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
131 131
         }
132 132
 
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         /*
156 156
          * Missing data?
157 157
          */
158
-        if (! $content instanceof stdClass) {
158
+        if (!$content instanceof stdClass) {
159 159
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
160 160
         }
161 161
 
Please login to merge, or discard this patch.
src/Provider/Http/UserAgentStringCom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,13 +103,13 @@
 block discarded – undo
103 103
          * no json returned?
104 104
          */
105 105
         $contentType = $response->getHeader('Content-Type');
106
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
106
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json') {
107 107
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
108 108
         }
109 109
 
110 110
         $content = json_decode($response->getBody()->getContents());
111 111
 
112
-        if (! $content instanceof stdClass) {
112
+        if (!$content instanceof stdClass) {
113 113
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
114 114
         }
115 115
 
Please login to merge, or discard this patch.
src/Provider/Http/DeviceAtlasCom.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,20 +109,20 @@
 block discarded – undo
109 109
          * no json returned?
110 110
          */
111 111
         $contentType = $response->getHeader('Content-Type');
112
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json; charset=UTF-8') {
112
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json; charset=UTF-8') {
113 113
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
114 114
         }
115 115
 
116 116
         $content = json_decode($response->getBody()->getContents());
117 117
 
118
-        if (! $content instanceof stdClass || ! isset($content->properties)) {
118
+        if (!$content instanceof stdClass || !isset($content->properties)) {
119 119
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
120 120
         }
121 121
 
122 122
         /*
123 123
          * No result found?
124 124
          */
125
-        if (! $content->properties instanceof stdClass || count((array) $content->properties) === 0) {
125
+        if (!$content->properties instanceof stdClass || count((array) $content->properties) === 0) {
126 126
             throw new Exception\NoResultFoundException('No result found for user agent: ' . $userAgent);
127 127
         }
128 128
 
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
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      */
93 93
     public function __construct()
94 94
     {
95
-        if (! file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
95
+        if (!file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
96 96
             throw new PackageNotLoadedException('You need to install the package ' . $this->getPackageName() . ' to use this provider');
97 97
         }
98 98
     }
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
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function __construct(Parser $parser = null)
76 76
     {
77
-        if ($parser === null && ! file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
77
+        if ($parser === null && !file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
78 78
             throw new PackageNotLoadedException('You need to install the package ' . $this->getPackageName() . ' to use this provider');
79 79
         }
80 80
 
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
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function __construct(Parser $parser = null)
76 76
     {
77
-        if ($parser === null && ! file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
77
+        if ($parser === null && !file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
78 78
             throw new PackageNotLoadedException('You need to install the package ' . $this->getPackageName() . ' to use this provider');
79 79
         }
80 80
 
Please login to merge, or discard this patch.