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 ( 0f5b77...f26127 )
by François
05:01
created
src/fkooman/VPN/Server/OpenVpn/ManagementSocket.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
         }
57 57
     }
58 58
 
59
+    /**
60
+     * @param string $data
61
+     */
59 62
     private function write($data)
60 63
     {
61 64
         if (false === @fwrite($this->socket, $data)) {
Please login to merge, or discard this patch.
src/fkooman/VPN/Server/Pool.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
     /** @var array */
58 58
     private $instances;
59 59
 
60
+    /**
61
+     * @param integer $poolNumber
62
+     */
60 63
     public function __construct($poolNumber, array $poolData)
61 64
     {
62 65
         $this->setId(self::validate($poolData, 'id'));
@@ -248,6 +251,7 @@  discard block
 block discarded – undo
248 251
      * 
249 252
      * A /24 or 'bigger' will be split in 4 networks, everything 'smaller'  
250 253
      * will be either be split in 2 networks or remain 1 network.
254
+     * @param integer $prefix
251 255
      */
252 256
     private static function getNetCount($prefix)
253 257
     {
@@ -302,6 +306,9 @@  discard block
 block discarded – undo
302 306
         ];
303 307
     }
304 308
 
309
+    /**
310
+     * @param string $configName
311
+     */
305 312
     private static function validate(array $configData, $configName, $requiredField = true, $defaultValue = false)
306 313
     {
307 314
         if (!array_key_exists($configName, $configData)) {
Please login to merge, or discard this patch.
src/fkooman/VPN/Server/OpenVpn/OpenVpnModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     {
39 39
         $service->get(
40 40
             '/openvpn/connections',
41
-            function (Request $request, TokenInfo $tokenInfo) {
41
+            function(Request $request, TokenInfo $tokenInfo) {
42 42
                 $tokenInfo->getScope()->requireScope(['admin']);
43 43
 
44 44
                 $response = new JsonResponse();
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
         $service->post(
52 52
             '/openvpn/kill',
53
-            function (Request $request, TokenInfo $tokenInfo) {
53
+            function(Request $request, TokenInfo $tokenInfo) {
54 54
                 $tokenInfo->getScope()->requireScope(['admin', 'portal']);
55 55
 
56 56
                 $commonName = $request->getPostParameter('common_name');
Please login to merge, or discard this patch.