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 ( 93b463...37c37a )
by Simon
09:04
created
src/Console/BuildLaravelEventStore.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
     public function handle()
50 50
     {
51 51
         if ($this->option('force') == 'true' || $this->confirm("Are you sure you want to make a new table '{$this->config->get('cqrses.eventstore_table')}'"
52
-                                                               . " on connection '{$this->config->get('cqrses.eventstore_connection')}'"
53
-                                                               . " Do you wish to continue?")
52
+                                                                . " on connection '{$this->config->get('cqrses.eventstore_connection')}'"
53
+                                                                . " Do you wish to continue?")
54 54
         ) {
55 55
             try {
56 56
                 return $this->buildEventStoreTable();
@@ -67,16 +67,16 @@  discard block
 block discarded – undo
67 67
     protected function buildEventStoreTable()
68 68
     {
69 69
         Schema::connection($this->config->get('cqrses.eventstore_connection'))
70
-              ->create($this->config->get('cqrses.eventstore_table'),
71
-                  function (Blueprint $table) {
72
-                      $table->increments('id');
73
-                      $table->string('uuid', 56);
74
-                      $table->integer('playhead')->unsigned();
75
-                      $table->text('metadata');
76
-                      $table->longText('payload');
77
-                      $table->timestamp('recorded_on', 32)->nullable()->index();
78
-                      $table->string('type', 255)->index();
79
-                      $table->unique(['uuid', 'playhead']);
80
-                  });
70
+                ->create($this->config->get('cqrses.eventstore_table'),
71
+                    function (Blueprint $table) {
72
+                        $table->increments('id');
73
+                        $table->string('uuid', 56);
74
+                        $table->integer('playhead')->unsigned();
75
+                        $table->text('metadata');
76
+                        $table->longText('payload');
77
+                        $table->timestamp('recorded_on', 32)->nullable()->index();
78
+                        $table->string('type', 255)->index();
79
+                        $table->unique(['uuid', 'playhead']);
80
+                    });
81 81
     }
82 82
 }
83 83
\ No newline at end of file
Please login to merge, or discard this patch.
src/EventStore/LaravelEventStore.php 1 patch
Indentation   +11 added lines, -11 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) {
@@ -154,13 +154,13 @@  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
-                         ->orderBy('playhead', 'asc')
163
-                         ->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
+                            ->orderBy('playhead', 'asc')
163
+                            ->get();
164 164
         $events = [];
165 165
 
166 166
         foreach ($rows as $row) {
Please login to merge, or discard this patch.
tests/EventDispatcher/PushEventThoughDispatcherQueueTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function test_pushing_event_to_queue()
26 26
     {
27 27
         $container = new Container();
28
-       // $container->bind(\Illuminate\Contracts\Container\Container::class, $container);
28
+        // $container->bind(\Illuminate\Contracts\Container\Container::class, $container);
29 29
         $queue = new Queue($container);
30 30
 
31 31
 
Please login to merge, or discard this patch.