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 ( 1811c0...f97525 )
by Simon
06:19
created
src/EventStore/LaravelEventStore.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
     public function load($id) : DomainEventStream
56 56
     {
57 57
         $rows = $this->db->table($this->eventStoreTableName)
58
-                         ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
59
-                         ->where('uuid', $id)
60
-                         ->orderBy('playhead', 'asc')
61
-                         ->get();
58
+                            ->select(['uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
59
+                            ->where('uuid', $id)
60
+                            ->orderBy('playhead', 'asc')
61
+                            ->get();
62 62
         $events = [];
63 63
 
64 64
         foreach ($rows as $row) {
@@ -153,12 +153,12 @@  discard block
 block discarded – undo
153 153
         $lastId = 0;
154 154
         do {
155 155
             $rows = $this->db->table($this->eventStoreTableName)
156
-                             ->select(['id', 'uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
157
-                             ->whereIn('type', $eventTypes)
158
-                             ->where('id', '>', $lastId)
159
-                             ->take($take)
160
-                             ->orderBy('id')
161
-                             ->get();
156
+                                ->select(['id', 'uuid', 'playhead', 'metadata', 'payload', 'recorded_on'])
157
+                                ->whereIn('type', $eventTypes)
158
+                                ->where('id', '>', $lastId)
159
+                                ->take($take)
160
+                                ->orderBy('id')
161
+                                ->get();
162 162
             $events = [];
163 163
             foreach ($rows as $row) {
164 164
                 $events[] = $this->deserializeEvent($row);
Please login to merge, or discard this patch.
src/Console/BuildLaravelEventStore.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -71,20 +71,20 @@
 block discarded – undo
71 71
     protected function buildEventStoreTable()
72 72
     {
73 73
         Schema::connection($this->config->get('cqrses.eventstore_connection'))
74
-              ->create(
75
-                  $this->config->get('cqrses.eventstore_table'),
76
-                  function (Blueprint $table) {
77
-                      $table->increments('id');
78
-                      $table->string('uuid', 56);
79
-                      $table->integer('playhead')->unsigned();
80
-                      $table->text('metadata');
81
-                      $table->longText('payload');
82
-                      $table->timestamp('recorded_on')->nullable()->index();
83
-                      $table->string('type', 255)->index();
84
-                      $table->unique(['uuid', 'playhead']);
74
+                ->create(
75
+                    $this->config->get('cqrses.eventstore_table'),
76
+                    function (Blueprint $table) {
77
+                        $table->increments('id');
78
+                        $table->string('uuid', 56);
79
+                        $table->integer('playhead')->unsigned();
80
+                        $table->text('metadata');
81
+                        $table->longText('payload');
82
+                        $table->timestamp('recorded_on')->nullable()->index();
83
+                        $table->string('type', 255)->index();
84
+                        $table->unique(['uuid', 'playhead']);
85 85
 
86
-                      $table->index(['id', 'type']);
87
-                  }
88
-              );
86
+                        $table->index(['id', 'type']);
87
+                    }
88
+                );
89 89
     }
90 90
 }
91 91
\ No newline at end of file
Please login to merge, or discard this patch.