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
Branch master (9f26f7)
by Choraimy
04:06
created
Category
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/PushwooshException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public static function unknownDevices($payload, Throwable $previous = null)
45 45
     {
46
-        $devices = Collection::make($payload->response->UnknownDevices)->reduce(function ($carry, $devices) {
46
+        $devices = Collection::make($payload->response->UnknownDevices)->reduce(function($carry, $devices) {
47 47
             return array_merge((array)$carry, $devices);
48 48
         }, []);
49 49
 
Please login to merge, or discard this patch.