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.
Passed
Push — master ( 1de6d8...a418b8 )
by
unknown
02:26
created
src/Handlers/RedisHandler.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -93,10 +93,10 @@  discard block
 block discarded – undo
93 93
 
94 94
         try {
95 95
             if ( ! $this->redis->connect(
96
-                $this->config[ 'host' ],
97
-                ($this->config[ 'host' ][ 0 ] === '/' ? 0
98
-                    : $this->config[ 'port' ]),
99
-                $this->config[ 'timeout' ]
96
+                $this->config['host'],
97
+                ($this->config['host'][0] === '/' ? 0
98
+                    : $this->config['port']),
99
+                $this->config['timeout']
100 100
             )
101 101
             ) {
102 102
                 if ($this->logger instanceof LoggerInterface) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 return false;
107 107
             }
108 108
 
109
-            if (isset($this->config[ 'password' ]) AND ! $this->redis->auth($this->config[ 'password' ])) {
109
+            if (isset($this->config['password']) AND ! $this->redis->auth($this->config['password'])) {
110 110
                 if ($this->logger instanceof LoggerInterface) {
111 111
                     $this->logger->error('SESSION_E_REDIS_AUTHENTICATION_FAILED', ['Redis']);
112 112
                 }
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
             $this->redis->setTimeout($this->lockKey, 300);
351 351
 
352 352
             if ($this->fingerprint !== ($fingerprint = md5($session_data))) {
353
-                if ($this->redis->set($this->prefixKey . $session_id, $session_data, $this->config[ 'lifetime' ])) {
353
+                if ($this->redis->set($this->prefixKey . $session_id, $session_data, $this->config['lifetime'])) {
354 354
                     $this->fingerprint = $fingerprint;
355 355
 
356 356
                     return true;
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
                 return false;
360 360
             }
361 361
 
362
-            return $this->redis->setTimeout($this->prefixKey . $session_id, $this->config[ 'lifetime' ]);
362
+            return $this->redis->setTimeout($this->prefixKey . $session_id, $this->config['lifetime']);
363 363
         }
364 364
 
365 365
         return false;
Please login to merge, or discard this patch.