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.
Test Setup Failed
Push — master ( 311795...859c79 )
by Igor
06:22 queued 13s
created
examples/RecurringRoutes/ReplaceRouteSchedule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,5 +26,5 @@
 block discarded – undo
26 26
 
27 27
     print_r($schedule);
28 28
 } catch (\Exception $e) {
29
-    echo $e->getMessage() . PHP_EOL;
29
+    echo $e->getMessage().PHP_EOL;
30 30
 }
Please login to merge, or discard this patch.
examples/RecurringRoutes/UpdateSchedule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,5 +26,5 @@
 block discarded – undo
26 26
 
27 27
     print_r($schedule);
28 28
 } catch (\Exception $e) {
29
-    echo $e->getMessage() . PHP_EOL;
29
+    echo $e->getMessage().PHP_EOL;
30 30
 }
Please login to merge, or discard this patch.
examples/RecurringRoutes/UpdateRouteSchedule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,5 +26,5 @@
 block discarded – undo
26 26
 
27 27
     print_r($schedule);
28 28
 } catch (\Exception $e) {
29
-    echo $e->getMessage() . PHP_EOL;
29
+    echo $e->getMessage().PHP_EOL;
30 30
 }
Please login to merge, or discard this patch.
src/Route4Me/V5/RecurringRoutes/Schedule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     public function __construct(?array $params = null)
37 37
     {
38
-        if ($params !== null) {
38
+        if ($params!==null) {
39 39
             $this->fillFromArray($params);
40 40
         }
41 41
     }
Please login to merge, or discard this patch.
src/Route4Me/V5/Vehicles/DataTypes/Vehicle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
         $vehicleId = $vehicleParams['vehicle_id'];
236 236
 
237 237
         $response = Route4Me::makeRequst([
238
-            'url' => Endpoint::Vehicles . '/' . $vehicleId,
238
+            'url' => Endpoint::Vehicles.'/'.$vehicleId,
239 239
             'method' => 'DELETE'
240 240
         ]);
241 241
 
Please login to merge, or discard this patch.
src/Route4Me/Vehicles/VehicleV4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
      */
261 261
     public function createVehicle($params)
262 262
     {
263
-        $excludeFields = ['vehicle_id','is_deleted','created_time','timestamp_added','timestamp_removed'];
263
+        $excludeFields = ['vehicle_id', 'is_deleted', 'created_time', 'timestamp_added', 'timestamp_removed'];
264 264
         $allBodyFields = Route4Me::getObjectProperties(new self(), $excludeFields);
265 265
 
266 266
         //Route4Me::setBaseUrl(Endpoint::BASE_URL);
Please login to merge, or discard this patch.
src/Route4Me/OptimizationProblem.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     public static function get($params)
157 157
     {
158 158
         $allQueryFields = ['state', 'limit', 'format', 'offset',
159
-        'optimization_problem_id', 'wait_for_final_state','start_date','end_date', ];
159
+        'optimization_problem_id', 'wait_for_final_state', 'start_date', 'end_date', ];
160 160
 
161 161
         $result = Route4Me::makeRequst([
162 162
             'url'       => Endpoint::OPTIMIZATION_PROBLEM,
@@ -205,8 +205,8 @@  discard block
 block discarded – undo
205 205
                 $query = Route4Me::generateRequestParameters($allQueryFields, $params);
206 206
             }
207 207
 
208
-            if ((isset($params['addresses']) && sizeof($params['addresses']) > 0)
209
-                || (isset($params['parameters']) && sizeof($params['parameters']) > 0)
208
+            if ((isset($params['addresses']) && sizeof($params['addresses'])>0)
209
+                || (isset($params['parameters']) && sizeof($params['parameters'])>0)
210 210
             ) {
211 211
                 $body = Route4Me::generateRequestParameters($allBodyFields, $params);
212 212
             }
@@ -215,8 +215,8 @@  discard block
 block discarded – undo
215 215
                 $query = Route4Me::generateRequestParameters($allQueryFields, $params);
216 216
             }
217 217
 
218
-            if ((isset($params->addresses) && sizeof($params->addresses) > 0)
219
-                || (isset($params->parameters) && sizeof($params->parameters) > 0)
218
+            if ((isset($params->addresses) && sizeof($params->addresses)>0)
219
+                || (isset($params->parameters) && sizeof($params->parameters)>0)
220 220
             ) {
221 221
                 $body = Route4Me::generateRequestParameters($allBodyFields, $params);
222 222
             }
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
         $rOptimization = $optimizations[rand(0, sizeof($optimizations) - 1)];
250 250
 
251 251
         if (!isset($rOptimization->optimization_problem_id)) {
252
-            if (sizeof($optimizations) > 9) {
252
+            if (sizeof($optimizations)>9) {
253 253
                 $this->getRandomOptimizationId($offset, $limit);
254 254
             } else {
255 255
                 return null;
@@ -261,13 +261,13 @@  discard block
 block discarded – undo
261 261
 
262 262
     public function getAddresses($opt_id)
263 263
     {
264
-        if (null == $opt_id) {
264
+        if (null==$opt_id) {
265 265
             return null;
266 266
         }
267 267
 
268 268
         $params = ['optimization_problem_id' => $opt_id];
269 269
 
270
-        $optimization = (array) $this->get($params);
270
+        $optimization = (array)$this->get($params);
271 271
 
272 272
         $addresses = $optimization['addresses'];
273 273
 
@@ -276,9 +276,9 @@  discard block
 block discarded – undo
276 276
 
277 277
     public function getRandomAddressFromOptimization($opt_id)
278 278
     {
279
-        $addresses = (array) $this->getAddresses($opt_id);
279
+        $addresses = (array)$this->getAddresses($opt_id);
280 280
 
281
-        if (null == $addresses) {
281
+        if (null==$addresses) {
282 282
             echo 'There are no addresses in this optimization!.. Try again.';
283 283
 
284 284
             return null;
Please login to merge, or discard this patch.
UnitTestFiles/Test/V5/TeamManagementUnitTests.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     
28 28
         if (is_array($res_members) && isset($res_members['results'])) {
29 29
             foreach ($res_members['results'] as $key => $value) {
30
-                if ($value['OWNER_MEMBER_ID'] == 0) {
30
+                if ($value['OWNER_MEMBER_ID']==0) {
31 31
                     self::$owner_member_id = $value['member_id'];
32 32
                     break;
33 33
                 }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         $result = $team_mng->getUsers();
124 124
 
125 125
         $this->assertIsArray($result);
126
-        if (count($result) > 0) {
126
+        if (count($result)>0) {
127 127
             $this->assertInstanceOf(ResponseTeam::class, $result[0]);
128 128
         }
129 129
     }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
         if (is_array($result)) {
188 188
             foreach ($result as $key => $member) {
189
-                if ($member->member_last_name == 'Pupkindzes') {
189
+                if ($member->member_last_name=='Pupkindzes') {
190 190
                     $team_mng->delete($member->member_id);
191 191
                 }
192 192
             }
Please login to merge, or discard this patch.
src/Route4Me/V5/TeamManagement/Option.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     public function __construct(?array $params = null)
37 37
     {
38
-        if ($params !== null) {
38
+        if ($params!==null) {
39 39
             $this->fillFromArray($params);
40 40
         }
41 41
     }
Please login to merge, or discard this patch.