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
src/Route4Me/V5/TeamManagement/Permission.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
 
31 31
     public function __construct(?array $params = null)
32 32
     {
33
-        if ($params !== null) {
33
+        if ($params!==null) {
34 34
             foreach ($this as $key => $value) {
35 35
                 if (isset($params[$key])) {
36
-                    if ($key === 'options') {
36
+                    if ($key==='options') {
37 37
                         $this->{$key} = array();
38 38
                         foreach ($params[$key] as $opt_key => $opt_value) {
39 39
                             array_push($this->{$key}, new Option($opt_value));
Please login to merge, or discard this patch.
src/Route4Me/V5/TeamManagement/TeamManagement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     public function getUser(int $userId) : ResponseTeam
120 120
     {
121 121
         return $this->toResponseTeam(Route4Me::makeRequst([
122
-            'url' => Endpoint::TEAM_USERS . '/' . $userId,
122
+            'url' => Endpoint::TEAM_USERS.'/'.$userId,
123 123
             'method' => 'GET'
124 124
         ]));
125 125
     }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     public function delete(int $userId) : ResponseTeam
137 137
     {
138 138
         return $this->toResponseTeam(Route4Me::makeRequst([
139
-            'url' => Endpoint::TEAM_USERS . '/' . $userId,
139
+            'url' => Endpoint::TEAM_USERS.'/'.$userId,
140 140
             'method' => 'DELETE'
141 141
         ]));
142 142
     }
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         ];
196 196
 
197 197
         return $this->toResponseTeam(Route4Me::makeRequst([
198
-            'url' => Endpoint::TEAM_USERS . '/' . $userId,
198
+            'url' => Endpoint::TEAM_USERS.'/'.$userId,
199 199
             'method' => 'PATCH',
200 200
             'HTTPHEADER' => 'Content-Type: application/json',
201 201
             'body' => Route4Me::generateRequestParameters($allBodyFields, $params)
Please login to merge, or discard this patch.
examples/TeamManagement/CreateSubUser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     if (is_array($res_members) && isset($res_members['results'])) {
27 27
         foreach ($res_members['results'] as $key => $value) {
28
-            if ($value['OWNER_MEMBER_ID'] == 0) {
28
+            if ($value['OWNER_MEMBER_ID']==0) {
29 29
                 $owner_member_id = $value['member_id'];
30 30
                 break;
31 31
             }
@@ -50,5 +50,5 @@  discard block
 block discarded – undo
50 50
     $res = $tm->create($params);
51 51
     print_r($res);
52 52
 } catch (Exception | ApiError $e) {
53
-    echo $e->getMessage() . PHP_EOL;
53
+    echo $e->getMessage().PHP_EOL;
54 54
 }
Please login to merge, or discard this patch.
examples/TeamManagement/GetSubUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,5 +22,5 @@
 block discarded – undo
22 22
     $res = $tm->getUser($userId);
23 23
     print_r($res);
24 24
 } catch (ApiError $e) {
25
-    echo 'Cannot get user with ID: ' . $userId . PHP_EOL;
25
+    echo 'Cannot get user with ID: '.$userId.PHP_EOL;
26 26
 }
Please login to merge, or discard this patch.
examples/TeamManagement/GetSubUsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,5 +20,5 @@
 block discarded – undo
20 20
     $res = $tm->getUsers();
21 21
     print_r($res);
22 22
 } catch (ApiError $e) {
23
-    echo $e->getMessage() . PHP_EOL;
23
+    echo $e->getMessage().PHP_EOL;
24 24
 }
Please login to merge, or discard this patch.
examples/TeamManagement/UpdateSubUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,5 +27,5 @@
 block discarded – undo
27 27
     $res = $tm->update($userId, $params);
28 28
     print_r($res);
29 29
 } catch (ApiError $e) {
30
-    echo $e->getMessage() . PHP_EOL;
30
+    echo $e->getMessage().PHP_EOL;
31 31
 }
Please login to merge, or discard this patch.
examples/TeamManagement/BulkInsertSubUsers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     if (is_array($res_members) && isset($res_members['results'])) {
28 28
         foreach ($res_members['results'] as $key => $value) {
29
-            if ($value['OWNER_MEMBER_ID'] == 0) {
29
+            if ($value['OWNER_MEMBER_ID']==0) {
30 30
                 $owner_member_id = $value['member_id'];
31 31
                 break;
32 32
             }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     $tm = new TeamManagement();
64 64
     $res = $tm->bulkInsert($params, $options);
65 65
     //print_r($res);
66
-    echo "Insert two sub-users." . PHP_EOL;
66
+    echo "Insert two sub-users.".PHP_EOL;
67 67
 } catch (Exception | ApiError $e) {
68
-    echo $e->getMessage() . PHP_EOL;
68
+    echo $e->getMessage().PHP_EOL;
69 69
 }
Please login to merge, or discard this patch.
examples/TeamManagement/DeleteSubUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,5 +22,5 @@
 block discarded – undo
22 22
     $res = $tm->delete($userId);
23 23
     print_r($res);
24 24
 } catch (ApiError $e) {
25
-    echo 'Cannot delete user with ID: ' . $userId . PHP_EOL;
25
+    echo 'Cannot delete user with ID: '.$userId.PHP_EOL;
26 26
 }
Please login to merge, or discard this patch.
examples/AddressBook_V5/UpdateAddressesByAreas.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,6 +42,6 @@
 block discarded – undo
42 42
     $res = $ab->updateAddressesByAreas($filter, $params);
43 43
     print_r($res);
44 44
 } catch (ApiError $e) {
45
-    echo $e->getCode() . PHP_EOL;
46
-    echo $e->getMessage() . PHP_EOL;
45
+    echo $e->getCode().PHP_EOL;
46
+    echo $e->getMessage().PHP_EOL;
47 47
 }
Please login to merge, or discard this patch.