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 ( a660d1...713059 )
by François
02:57
created
src/fkooman/VPN/Server/ServerService.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -176,6 +176,9 @@
 block discarded – undo
176 176
         );
177 177
     }
178 178
 
179
+    /**
180
+     * @param string $m
181
+     */
179 182
     private function logInfo($m, array $context)
180 183
     {
181 184
         if (!is_null($this->logger)) {
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $this->get(
58 58
             '/status',
59
-            function (Request $request) {
59
+            function(Request $request) {
60 60
                 $response = new JsonResponse();
61 61
                 $response->setBody($this->serverManager->status());
62 62
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
         $this->get(
68 68
             '/load-stats',
69
-            function (Request $request) {
69
+            function(Request $request) {
70 70
                 $response = new JsonResponse();
71 71
                 $response->setBody($this->serverManager->loadStats());
72 72
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
         $this->get(
78 78
             '/version',
79
-            function (Request $request) {
79
+            function(Request $request) {
80 80
                 $response = new JsonResponse();
81 81
                 $response->setBody($this->serverManager->version());
82 82
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
         $this->post(
88 88
             '/kill',
89
-            function (Request $request, UserInfoInterface $userInfo) {
89
+            function(Request $request, UserInfoInterface $userInfo) {
90 90
                 $commonName = $request->getPostParameter('common_name');
91 91
                 Utils::validateCommonName($commonName);
92 92
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
         $this->post(
103 103
             '/ccd/disable',
104
-            function (Request $request, UserInfoInterface $userInfo) {
104
+            function(Request $request, UserInfoInterface $userInfo) {
105 105
                 $commonName = $request->getPostParameter('common_name');
106 106
                 if (is_null($commonName)) {
107 107
                     throw new BadRequestException('missing common_name');
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
         $this->delete(
125 125
             '/ccd/disable',
126
-            function (Request $request, UserInfoInterface $userInfo) {
126
+            function(Request $request, UserInfoInterface $userInfo) {
127 127
                 $commonName = $request->getUrl()->getQueryParameter('common_name');
128 128
                 Utils::validateCommonName($commonName);
129 129
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
         $this->get(
144 144
             '/ccd/disable',
145
-            function (Request $request, UserInfoInterface $userInfo) {
145
+            function(Request $request, UserInfoInterface $userInfo) {
146 146
                 // we typically deal with CNs, not user IDs, but the part of 
147 147
                 // the CN before the first '_' is considered the user ID
148 148
                 $userId = $request->getUrl()->getQueryParameter('user_id');
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
         $this->post(
166 166
             '/crl/fetch',
167
-            function (Request $request, UserInfoInterface $userInfo) {
167
+            function(Request $request, UserInfoInterface $userInfo) {
168 168
 
169 169
                 $this->logInfo('fetching CRL', array('api_user' => $userInfo->getUserId()));
170 170
 
Please login to merge, or discard this patch.