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 ( 00c2b4...ff24ee )
by François
02:33
created
src/fkooman/VPN/Server/Api/UsersModule.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         //
63 63
         $service->get(
64 64
             '/users/disabled',
65
-            function (Request $request, TokenInfo $tokenInfo) {
65
+            function(Request $request, TokenInfo $tokenInfo) {
66 66
                 $tokenInfo->getScope()->requireScope(['admin']);
67 67
 
68 68
                 return new ApiResponse('users', $this->users->getDisabled());
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
         $service->get(
73 73
             '/users/disabled/:userId',
74
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
74
+            function($userId, Request $request, TokenInfo $tokenInfo) {
75 75
                 $tokenInfo->getScope()->requireScope(['admin', 'portal']);
76 76
                 InputValidation::userId($userId);
77 77
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
         $service->post(
83 83
             '/users/disabled/:userId',
84
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
84
+            function($userId, Request $request, TokenInfo $tokenInfo) {
85 85
                 $tokenInfo->getScope()->requireScope(['admin']);
86 86
                 InputValidation::userId($userId);
87 87
                 $this->logger->info(sprintf('disabling user "%s"', $userId));
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
         $service->delete(
94 94
             '/users/disabled/:userId',
95
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
95
+            function($userId, Request $request, TokenInfo $tokenInfo) {
96 96
                 $tokenInfo->getScope()->requireScope(['admin']);
97 97
                 InputValidation::userId($userId);
98 98
                 $this->logger->info(sprintf('enabling user "%s"', $userId));
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         //
107 107
         $service->get(
108 108
             '/users/otp_secrets',
109
-            function (Request $request, TokenInfo $tokenInfo) {
109
+            function(Request $request, TokenInfo $tokenInfo) {
110 110
                 $tokenInfo->getScope()->requireScope(['admin']);
111 111
 
112 112
                 return new ApiResponse('users', $this->otpSecret->getOtpSecrets());
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
         $service->get(
117 117
             '/users/otp_secrets/:userId',
118
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
118
+            function($userId, Request $request, TokenInfo $tokenInfo) {
119 119
                 $tokenInfo->getScope()->requireScope(['admin', 'portal']);
120 120
                 InputValidation::userId($userId);
121 121
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
         $service->post(
129 129
             '/users/otp_secrets/:userId',
130
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
130
+            function($userId, Request $request, TokenInfo $tokenInfo) {
131 131
                 $tokenInfo->getScope()->requireScope(['portal']);
132 132
                 InputValidation::userId($userId);
133 133
                 $otpSecret = $request->getPostParameter('otp_secret');
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
         $service->delete(
141 141
             '/users/otp_secrets/:userId',
142
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
142
+            function($userId, Request $request, TokenInfo $tokenInfo) {
143 143
                 $tokenInfo->getScope()->requireScope(['admin']);
144 144
                 InputValidation::userId($userId);
145 145
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         //
153 153
         $service->get(
154 154
             '/users/groups/:userId',
155
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
155
+            function($userId, Request $request, TokenInfo $tokenInfo) {
156 156
                 $tokenInfo->getScope()->requireScope(['admin', 'portal']);
157 157
                 InputValidation::userId($userId);
158 158
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         //
166 166
         $service->get(
167 167
             '/users/voot_tokens/:userId',
168
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
168
+            function($userId, Request $request, TokenInfo $tokenInfo) {
169 169
                 $tokenInfo->getScope()->requireScope(['portal']);
170 170
                 InputValidation::userId($userId);
171 171
 
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
         $service->post(
179 179
             '/users/voot_tokens/:userId',
180
-            function ($userId, Request $request, TokenInfo $tokenInfo) {
180
+            function($userId, Request $request, TokenInfo $tokenInfo) {
181 181
                 $tokenInfo->getScope()->requireScope(['portal']);
182 182
                 InputValidation::userId($userId);
183 183
                 $vootToken = $request->getPostParameter('voot_token');
Please login to merge, or discard this patch.