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 ( 7b2ad3...a26bc3 )
by Simon
05:46
created
src/EventStore/LaravelEventStore.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
     public function load($id)
55 55
     {
56 56
         $rows = $this->db->table($this->eventStoreTableName)
57
-                         ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
58
-                         ->where('uuid', $id)
59
-                         ->orderBy('playhead', 'asc')
60
-                         ->get();
57
+                            ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
58
+                            ->where('uuid', $id)
59
+                            ->orderBy('playhead', 'asc')
60
+                            ->get();
61 61
         $events = [];
62 62
 
63 63
         foreach ($rows as $row) {
@@ -101,16 +101,16 @@  discard block
 block discarded – undo
101 101
     {
102 102
         try {
103 103
             $this->db->table($this->eventStoreTableName)
104
-                     ->insert(
105
-                         [
106
-                             'uuid'        => (string)$domainMessage->getId(),
107
-                             'playhead'    => $domainMessage->getPlayHead(),
108
-                             'metadata'    => json_encode($this->serializer->serialize($domainMessage->getMetadata())),
109
-                             'payload'     => json_encode($this->serializer->serialize($domainMessage->getPayload())),
110
-                             'recorded_on' => (string)$domainMessage->getRecordedOn(),
111
-                             'type'        => $domainMessage->getType(),
112
-                         ]
113
-                     );
104
+                        ->insert(
105
+                            [
106
+                                'uuid'        => (string)$domainMessage->getId(),
107
+                                'playhead'    => $domainMessage->getPlayHead(),
108
+                                'metadata'    => json_encode($this->serializer->serialize($domainMessage->getMetadata())),
109
+                                'payload'     => json_encode($this->serializer->serialize($domainMessage->getPayload())),
110
+                                'recorded_on' => (string)$domainMessage->getRecordedOn(),
111
+                                'type'        => $domainMessage->getType(),
112
+                            ]
113
+                        );
114 114
         } catch (\PDOException $ex) {
115 115
             if ($ex->getCode() == 23000) {
116 116
                 throw new DuplicateAggregatePlayhead((string)$domainMessage->getId(), $domainMessage->getPlayHead());
@@ -154,12 +154,12 @@  discard block
 block discarded – undo
154 154
     public function getEventsByType($eventTypes, $skip, $take)
155 155
     {
156 156
         $rows = $this->db->table($this->eventStoreTableName)
157
-                         ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
158
-                         ->whereIn('type', $eventTypes)
159
-                         ->skip($skip)
160
-                         ->take($take)
161
-                         ->orderBy('recorded_on', 'asc')
162
-                         ->get();
157
+                            ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
158
+                            ->whereIn('type', $eventTypes)
159
+                            ->skip($skip)
160
+                            ->take($take)
161
+                            ->orderBy('recorded_on', 'asc')
162
+                            ->get();
163 163
         $events = [];
164 164
 
165 165
         foreach ($rows as $row) {
Please login to merge, or discard this patch.