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 ( 9ae1b6...7b2ad3 )
by Simon
04:38
created
src/EventStore/LaravelEventStore.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
     public function load($id)
54 54
     {
55 55
         $rows = $this->db->table($this->eventStoreTableName)
56
-                         ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
57
-                         ->where('uuid', $id)
58
-                         ->orderBy('playhead', 'asc')
59
-                         ->get();
56
+                            ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
57
+                            ->where('uuid', $id)
58
+                            ->orderBy('playhead', 'asc')
59
+                            ->get();
60 60
         $events = [];
61 61
 
62 62
         foreach ($rows as $row) {
@@ -99,16 +99,16 @@  discard block
 block discarded – undo
99 99
     private function insertEvent(DomainMessage $domainMessage)
100 100
     {
101 101
         $this->db->table($this->eventStoreTableName)
102
-                 ->insert(
103
-                     [
104
-                         'uuid'        => (string)$domainMessage->getId(),
105
-                         'playhead'    => $domainMessage->getPlayHead(),
106
-                         'metadata'    => json_encode($this->serializer->serialize($domainMessage->getMetadata())),
107
-                         'payload'     => json_encode($this->serializer->serialize($domainMessage->getPayload())),
108
-                         'recorded_on' => (string)$domainMessage->getRecordedOn(),
109
-                         'type'        => $domainMessage->getType(),
110
-                     ]
111
-                 );
102
+                    ->insert(
103
+                        [
104
+                            'uuid'        => (string)$domainMessage->getId(),
105
+                            'playhead'    => $domainMessage->getPlayHead(),
106
+                            'metadata'    => json_encode($this->serializer->serialize($domainMessage->getMetadata())),
107
+                            'payload'     => json_encode($this->serializer->serialize($domainMessage->getPayload())),
108
+                            'recorded_on' => (string)$domainMessage->getRecordedOn(),
109
+                            'type'        => $domainMessage->getType(),
110
+                        ]
111
+                    );
112 112
     }
113 113
 
114 114
     /**
@@ -146,12 +146,12 @@  discard block
 block discarded – undo
146 146
     public function getEventsByType($eventTypes, $skip, $take)
147 147
     {
148 148
         $rows = $this->db->table($this->eventStoreTableName)
149
-                         ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
150
-                         ->whereIn('type', $eventTypes)
151
-                         ->skip($skip)
152
-                         ->take($take)
153
-                         ->orderBy('recorded_on', 'asc')
154
-                         ->get();
149
+                            ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
150
+                            ->whereIn('type', $eventTypes)
151
+                            ->skip($skip)
152
+                            ->take($take)
153
+                            ->orderBy('recorded_on', 'asc')
154
+                            ->get();
155 155
         $events = [];
156 156
 
157 157
         foreach ($rows as $row) {
Please login to merge, or discard this patch.