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 ( 131a32...9148ce )
by Leandro
04:23 queued 15s
created
Category
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LosRouterOs;
6 6
 
@@ -59,11 +59,11 @@  discard block
 block discarded – undo
59 59
         $request = new Request($command);
60 60
         $this->lastResponse = $this->routerClient->sendSync($request);
61 61
 
62
-        $list = [];
62
+        $list = [ ];
63 63
         /** @var Response $response */
64 64
         foreach ($this->lastResponse as $response) {
65 65
             if ($response->getType() == Response::TYPE_DATA) {
66
-                $list[] = $response->getIterator();
66
+                $list[ ] = $response->getIterator();
67 67
             }
68 68
         }
69 69
 
Please login to merge, or discard this patch.
src/ClientFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LosRouterOs;
6 6
 
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 
12 12
     public function __invoke(ContainerInterface $container)
13 13
     {
14
-        $options = $container->get('config')['los']['router-os'] ?? [];
14
+        $options = $container->get('config')[ 'los' ][ 'router-os' ] ?? [ ];
15 15
 
16
-        return new Client($options['host'], $options['username'], $options['password'], $options['port']);
16
+        return new Client($options[ 'host' ], $options[ 'username' ], $options[ 'password' ], $options[ 'port' ]);
17 17
     }
18 18
 }
Please login to merge, or discard this patch.