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
Branch master (60db34)
by Rob
08:33 queued 05:37
created
src/Libraries/Config/Config.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
     public const DEFAULT_TIMEOUT = 10;
19 19
 
20 20
     // Default threat types.
21
-    public const DEFAULT_THREAT_TYPES = ['THREAT_TYPE_UNSPECIFIED'];
21
+    public const DEFAULT_THREAT_TYPES = [ 'THREAT_TYPE_UNSPECIFIED' ];
22 22
 
23 23
     // Default threst entry types.
24
-    public const DEFAULT_THREAT_ENTRY_TYPES = ['THREAT_ENTRY_TYPE_UNSPECIFIED'];
24
+    public const DEFAULT_THREAT_ENTRY_TYPES = [ 'THREAT_ENTRY_TYPE_UNSPECIFIED' ];
25 25
 
26 26
     // Default threat platform types.
27
-    public const DEFAULT_THREAT_PLATFORM_TYPES = ['PLATFORM_TYPE_UNSPECIFIED'];
27
+    public const DEFAULT_THREAT_PLATFORM_TYPES = [ 'PLATFORM_TYPE_UNSPECIFIED' ];
28 28
 
29 29
     /**
30 30
      * Retrieve the Google API key.
Please login to merge, or discard this patch.
src/Libraries/Data/Data.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @return array The generated payload.
28 28
      */
29
-    public static function payload(array $urls, array $threatTypes = [], array $platformTypes = [], array $threatEntryTypes = []): array
29
+    public static function payload(array $urls, array $threatTypes = [ ], array $platformTypes = [ ], array $threatEntryTypes = [ ]): array
30 30
     {
31 31
         return [
32 32
             'client' => [
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public static function formatUrls(array $urls): array
53 53
     {
54
-        $formattedUrls = [];
54
+        $formattedUrls = [ ];
55 55
         foreach ($urls as $url) {
56
-            $formattedUrls[] = ['url' => $url];
56
+            $formattedUrls[ ] = [ 'url' => $url ];
57 57
         }
58 58
 
59 59
         return $formattedUrls;
Please login to merge, or discard this patch.
src/SafeUrls.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function __construct()
36 36
     {
37 37
         // Initialise the list of urls as an empty array.
38
-        $this->urls = [];
38
+        $this->urls = [ ];
39 39
 
40 40
         // Initialise the list of urls as an empty JSON string.
41 41
         $this->results = '';
Please login to merge, or discard this patch.
src/SafeUrlsServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     public function register()
45 45
     {
46 46
         // Register the service the package provides.
47
-        $this->app->singleton('safe-urls', function () {
47
+        $this->app->singleton('safe-urls', function() {
48 48
             return new SafeUrls();
49 49
         });
50 50
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function provides()
60 60
     {
61
-        return ['safe-urls'];
61
+        return [ 'safe-urls' ];
62 62
     }
63 63
 
64 64
     /**
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         ], 'safe-urls');
75 75
 
76 76
         // Registering package commands.
77
-        $this->commands(['safe-urls']);
77
+        $this->commands([ 'safe-urls' ]);
78 78
     }
79 79
 
80 80
     /**
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
      */
88 88
     protected function mergeConfigFrom($path, $key)
89 89
     {
90
-        $config = $this->app['config']->get($key, []);
91
-        $this->app['config']->set($key, $this->mergeConfig($config, require $path));
90
+        $config = $this->app[ 'config' ]->get($key, [ ]);
91
+        $this->app[ 'config' ]->set($key, $this->mergeConfig($config, require $path));
92 92
     }
93 93
 
94 94
     /**
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             if (is_numeric($key)) {
113 113
                 continue;
114 114
             }
115
-            $array[$key] = $this->mergeConfig($value, $merging[$key]);
115
+            $array[ $key ] = $this->mergeConfig($value, $merging[ $key ]);
116 116
         }
117 117
 
118 118
         return $array;
Please login to merge, or discard this patch.