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
Pull Request — master (#38)
by Choraimy
16:03
created
src/UrlShortenerManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function getDefaultDriver()
13 13
     {
14
-        return $this->app['config']['url-shortener.default'];
14
+        return $this->app[ 'config' ][ 'url-shortener.default' ];
15 15
     }
16 16
 
17 17
     /**
@@ -22,6 +22,6 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function setDefaultDriver(string $name)
24 24
     {
25
-        $this->app['config']['session.driver'] = $name;
25
+        $this->app[ 'config' ][ 'session.driver' ] = $name;
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function __construct(Client $client, $uri)
29 29
     {
30 30
         $this->client = $client;
31
-        $this->options = [];
31
+        $this->options = [ ];
32 32
         $this->uri = $this->parseUri($uri);
33 33
     }
34 34
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         }
115 115
 
116 116
         if (is_string($uri) || (is_object($uri) && method_exists($uri, '__toString'))) {
117
-            return new Uri((string)$uri);
117
+            return new Uri((string) $uri);
118 118
         }
119 119
 
120 120
         throw new InvalidArgumentException('URI must be a string or UriInterface');
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         if (is_array($key)) {
152 152
             $this->options = array_merge($this->options, $key);
153 153
         } else {
154
-            $this->options[$key] = $value;
154
+            $this->options[ $key ] = $value;
155 155
         }
156 156
 
157 157
         return $this;
@@ -164,6 +164,6 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function __toString()
166 166
     {
167
-        return (string)$this->get();
167
+        return (string) $this->get();
168 168
     }
169 169
 }
Please login to merge, or discard this patch.