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 ( c9e896...cb5f18 )
by François
02:52
created
src/fkooman/VPN/Server/CnConfig/CnConfigModule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         // get all configurations
52 52
         $service->get(
53 53
             '/config/',
54
-            function (Request $request, TokenInfo $tokenInfo) {
54
+            function(Request $request, TokenInfo $tokenInfo) {
55 55
                 $userId = $request->getUrl()->getQueryParameter('user_id');
56 56
                 if (!is_null($userId)) {
57 57
                     self::requireScope($tokenInfo, ['config_get', 'config_get_user']);
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         // get configuration for a particular common_name
75 75
         $service->get(
76 76
             '/config/:commonName',
77
-            function (Request $request, TokenInfo $tokenInfo, $commonName) {
77
+            function(Request $request, TokenInfo $tokenInfo, $commonName) {
78 78
                 self::requireScope($tokenInfo, ['config_get']);
79 79
 
80 80
                 InputValidation::commonName($commonName);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         // set configuration for a particular common_name
92 92
         $service->put(
93 93
             '/config/:commonName',
94
-            function (Request $request, TokenInfo $tokenInfo, $commonName) {
94
+            function(Request $request, TokenInfo $tokenInfo, $commonName) {
95 95
                 self::requireScope($tokenInfo, ['config_update']);
96 96
 
97 97
                 // XXX check content type
Please login to merge, or discard this patch.
src/fkooman/VPN/Server/UserConfig/UserConfigModule.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $service->get(
53 53
             '/config/users',
54
-            function (Request $request, TokenInfo $tokenInfo) {
54
+            function(Request $request, TokenInfo $tokenInfo) {
55 55
                 Utils::requireScope($tokenInfo, ['admin']);
56 56
 
57 57
                 $userConfigArray = [];
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $service->get(
77 77
             '/config/users/:userId',
78
-            function (Request $request, TokenInfo $tokenInfo, $userId) {
78
+            function(Request $request, TokenInfo $tokenInfo, $userId) {
79 79
                 Utils::requireScope($tokenInfo, ['admin', 'portal']);
80 80
                 InputValidation::userId($userId);
81 81
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 
105 105
         $service->put(
106 106
             '/config/users/:userId/otp_secret',
107
-            function (Request $request, TokenInfo $tokenInfo, $userId) {
107
+            function(Request $request, TokenInfo $tokenInfo, $userId) {
108 108
                 Utils::requireScope($tokenInfo, ['admin', 'portal']);
109 109
                 InputValidation::userId($userId);
110 110
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
         $service->put(
153 153
             '/config/users/:userId',
154
-            function (Request $request, TokenInfo $tokenInfo, $userId) {
154
+            function(Request $request, TokenInfo $tokenInfo, $userId) {
155 155
                 Utils::requireScope($tokenInfo, ['admin']);
156 156
                 InputValidation::userId($userId);
157 157
 
Please login to merge, or discard this patch.