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 (fafdd5)
by Cody
01:21
created
src/DiscordChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function send($notifiable, Notification $notification)
33 33
     {
34
-        if (! $channel = $notifiable->routeNotificationFor('discord')) {
34
+        if (!$channel = $notifiable->routeNotificationFor('discord')) {
35 35
             return;
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Commands/SetupCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,19 +54,19 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function handle()
56 56
     {
57
-        if (! $this->token) {
57
+        if (!$this->token) {
58 58
             $this->error('You must paste your Discord token (App Bot User token) into your `services.php` config file.');
59 59
             $this->error('View the README for more info: https://github.com/laravel-notification-channels/discord#installation');
60 60
 
61 61
             return -1;
62 62
         }
63 63
 
64
-        if (! $this->confirm('Is the bot already added to your server?')) {
64
+        if (!$this->confirm('Is the bot already added to your server?')) {
65 65
             $clientId = $this->ask('What is your Discord app client ID?');
66 66
 
67 67
             $this->warn('Add the bot to your server by visiting this link: https://discordapp.com/oauth2/authorize?&client_id='.$clientId.'&scope=bot&permissions=0');
68 68
 
69
-            if (! $this->confirm('Continue?', true)) {
69
+            if (!$this->confirm('Continue?', true)) {
70 70
                 return -1;
71 71
             }
72 72
         }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $response = $client->receive();
102 102
         $identified = Arr::get(json_decode($response, true), 't') === 'READY';
103 103
 
104
-        if (! $identified) {
104
+        if (!$identified) {
105 105
             $this->error("Discord responded with an error while trying to identify the bot: $response");
106 106
 
107 107
             return -1;
Please login to merge, or discard this patch.