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 ( a36445...bdab62 )
by Choraimy
03:35 queued 01:17
created
src/PushwooshServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
      */
16 16
     public function register()
17 17
     {
18
-        $this->app->afterResolving(ChannelManager::class, function (ChannelManager $channels) {
19
-            $channels->extend('pushwoosh', function ($app) {
18
+        $this->app->afterResolving(ChannelManager::class, function(ChannelManager $channels) {
19
+            $channels->extend('pushwoosh', function($app) {
20 20
                 return $app[PushwooshChannel::class];
21 21
             });
22 22
         });
23 23
 
24
-        $this->app->bindIf(Pushwoosh::class, function ($app) {
24
+        $this->app->bindIf(Pushwoosh::class, function($app) {
25 25
             return new Pushwoosh(
26 26
                 new Client(),
27 27
                 $app['config']['services.pushwoosh.application'],
Please login to merge, or discard this patch.
src/PushwooshMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
             'timezone' => $this->timezone,
141 141
         ];
142 142
 
143
-        return array_filter($payload, function ($value) {
143
+        return array_filter($payload, function($value) {
144 144
             return $value !== null;
145 145
         });
146 146
     }
Please login to merge, or discard this patch.
src/PushwooshPendingMessage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         return [
48 48
             'application' => $this->client->getApplicationCode(),
49 49
             'auth' => $this->client->getApiToken(),
50
-            'notifications' => $this->messages->map(function (PushwooshMessage $message) {
50
+            'notifications' => $this->messages->map(function(PushwooshMessage $message) {
51 51
                 return $this->stamp($message);
52 52
             }),
53 53
         ];
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     protected function stamp(PushwooshMessage $message)
76 76
     {
77
-        $recipients = $this->recipients->reduce(function (array $stamps, PushwooshRecipient $recipient) {
77
+        $recipients = $this->recipients->reduce(function(array $stamps, PushwooshRecipient $recipient) {
78 78
             return array_merge($stamps, $recipient->jsonSerialize());
79 79
         }, []);
80 80
 
Please login to merge, or discard this patch.
src/Pushwoosh.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         if (isset($response->response->Messages)) {
62 62
             # Pushwoosh will not assign IDs to messages sent to less than 10 unique devices
63
-            return array_map(function (string $identifier) {
63
+            return array_map(function(string $identifier) {
64 64
                 return $identifier !== 'CODE_NOT_AVAILABLE' ? $identifier : null;
65 65
             }, $response->response->Messages);
66 66
         }
Please login to merge, or discard this patch.