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 ( c9f7c0...d9692d )
by Christoph
07:35 queued 14s
created
src/TwitterServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $this->app->when([TwitterChannel::class, TwitterDirectMessage::class])
16 16
             ->needs(TwitterOAuth::class)
17
-            ->give(function () {
17
+            ->give(function() {
18 18
                 return new TwitterOAuth(
19 19
                     config('services.twitter.consumer_key'),
20 20
                     config('services.twitter.consumer_secret'),
Please login to merge, or discard this patch.
src/TwitterStatusUpdate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,11 +33,11 @@
 block discarded – undo
33 33
      *
34 34
      * @return $this
35 35
      */
36
-    public function withImage(array|string $images): static
36
+    public function withImage(array | string $images): static
37 37
     {
38 38
         $images = is_array($images) ? $images : [$images];
39 39
 
40
-        collect($images)->each(function ($image) {
40
+        collect($images)->each(function($image) {
41 41
             $this->images[] = new TwitterImage($image);
42 42
         });
43 43
 
Please login to merge, or discard this patch.
src/TwitterChannel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      *
20 20
      * @throws CouldNotSendNotification
21 21
      */
22
-    public function send($notifiable, Notification $notification): array|object
22
+    public function send($notifiable, Notification $notification): array | object
23 23
     {
24 24
         $this->changeTwitterSettingsIfNeeded($notifiable);
25 25
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         if (is_a($twitterMessage, TwitterStatusUpdate::class) && $twitterMessage->getImages()) {
68 68
             $this->twitter->setTimeouts(10, 15);
69 69
 
70
-            $twitterMessage->imageIds = collect($twitterMessage->getImages())->map(function (TwitterImage $image) {
70
+            $twitterMessage->imageIds = collect($twitterMessage->getImages())->map(function(TwitterImage $image) {
71 71
                 $media = $this->twitter->upload('media/upload', ['media' => $image->getPath()]);
72 72
 
73 73
                 return $media->media_id_string;
Please login to merge, or discard this patch.
src/TwitterDirectMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public bool $isJsonRequest = true;
11 11
 
12
-    public function __construct(private string|int $to, string $content)
12
+    public function __construct(private string | int $to, string $content)
13 13
     {
14 14
         parent::__construct($content);
15 15
     }
Please login to merge, or discard this patch.