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/StrongConsistency/StrongConsistencyCommandBusMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\StrongConsistency;
4 4
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function execute(Command $command, callable $next)
25 25
     {
26
-        $this->lastCommandId = (string)$command;
26
+        $this->lastCommandId = (string) $command;
27 27
         $next($command);
28 28
     }
29 29
 
Please login to merge, or discard this patch.
src/StrongConsistency/QueueToEventDispatcherWithCommandId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\StrongConsistency;
4 4
 
Please login to merge, or discard this patch.
src/Console/BuildLaravelEventStore.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\Console;
4 4
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         Schema::connection($this->config->get('cqrses.eventstore_connection'))
74 74
               ->create(
75 75
                   $this->config->get('cqrses.eventstore_table'),
76
-                  function (Blueprint $table) {
76
+                  function(Blueprint $table) {
77 77
                       $table->increments('id');
78 78
                       $table->string('uuid', 56);
79 79
                       $table->integer('playhead')->unsigned();
Please login to merge, or discard this patch.
src/Console/ExportEventStore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\Console;
4 4
 
Please login to merge, or discard this patch.
src/Console/RunProjectionCommand.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\Console;
4 4
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $projectionRequest = collect(explode(',', $this->argument('projections')));
76 76
 
77 77
         $projectionsServiceProviders = $projectionRequest->each(
78
-            function ($projectionName) {
78
+            function($projectionName) {
79 79
                 if (!isset($this->config->get('cqrses.projections_service_providers')[$projectionName])) {
80 80
                     $this->error("{$projectionName} Does not exist, check cqrses config");
81 81
 
@@ -83,26 +83,26 @@  discard block
 block discarded – undo
83 83
                 }
84 84
             }
85 85
         )->map(
86
-            function ($projectionName) {
86
+            function($projectionName) {
87 87
                 return $this->application->make(
88 88
                     $this->config->get('cqrses.projections_service_providers')[$projectionName]
89 89
                 );
90 90
             }
91 91
         )->each(
92
-            function (ProjectionServiceProvider $projectionClass) {
92
+            function(ProjectionServiceProvider $projectionClass) {
93 93
                 $this->downMigration($projectionClass);
94 94
             }
95 95
         )->each(
96
-            function (ProjectionServiceProvider $projectionClass) {
96
+            function(ProjectionServiceProvider $projectionClass) {
97 97
                 $this->upMigration($projectionClass);
98 98
             }
99 99
         );
100 100
 
101 101
         /** @var Collection|Subscriber[] $projections */
102 102
         $projections = $projectionsServiceProviders->map(
103
-            function (ProjectionServiceProvider $projectServiceProvider) {
103
+            function(ProjectionServiceProvider $projectServiceProvider) {
104 104
                 return collect($projectServiceProvider->getProjections())->map(
105
-                    function ($projection) {
105
+                    function($projection) {
106 106
                         return $this->application->make($projection);
107 107
                     }
108 108
                 );
@@ -110,11 +110,11 @@  discard block
 block discarded – undo
110 110
         )->collapse();
111 111
 
112 112
         $events = $projections->map(
113
-            function (Subscriber $subscriber) {
113
+            function(Subscriber $subscriber) {
114 114
                 return array_keys($subscriber->getSubscribedEvents());
115 115
             }
116 116
         )->collapse()->map(
117
-            function ($eventClassName) {
117
+            function($eventClassName) {
118 118
                 return str_replace('\\', '.', $eventClassName);
119 119
             }
120 120
         );
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     protected function replayEvents($projections, $events)
146 146
     {
147 147
         $eventCount = $this->eventStore->getEventCountByTypes($events);
148
-        $take = (int)$this->config->get('cqrses.rebuild_transaction_size', 1000);
148
+        $take = (int) $this->config->get('cqrses.rebuild_transaction_size', 1000);
149 149
 
150 150
         $this->output->progressStart($eventCount);
151 151
         $dispatcher = $this->buildAndRegisterDispatcher($projections);
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         }
162 162
 
163 163
         $this->output->progressFinish();
164
-        $this->line((memory_get_peak_usage(true) / 1024 / 1024) . "mb Peak Usage", false);
164
+        $this->line((memory_get_peak_usage(true) / 1024 / 1024)."mb Peak Usage", false);
165 165
     }
166 166
 
167 167
     /**
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         );
195 195
 
196 196
         $projections->each(
197
-            function ($projection) use ($dispatcher) {
197
+            function($projection) use ($dispatcher) {
198 198
                 $dispatcher->addSubscriber($projection);
199 199
             }
200 200
         );
Please login to merge, or discard this patch.
src/Console/RebuildProjectionsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\Console;
4 4
 
Please login to merge, or discard this patch.
src/Console/ImportEventStore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\Console;
4 4
 
Please login to merge, or discard this patch.
src/EventBus/PushEventsThroughQueue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\EventBus;
4 4
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $this->queue->push(
46 46
             QueueToEventDispatcher::class,
47 47
             [
48
-                'uuid'        => (string)$domainMessage->getId(),
48
+                'uuid'        => (string) $domainMessage->getId(),
49 49
                 'playhead'    => $domainMessage->getPlayHead(),
50 50
                 'metadata'    => json_encode($this->serializer->serialize($domainMessage->getMetadata())),
51 51
                 'payload'     => json_encode($this->serializer->serialize($domainMessage->getPayload())),
Please login to merge, or discard this patch.
src/EventBus/EventBusLogger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace SmoothPhp\LaravelAdapter\EventBus;
4 4
 
@@ -34,6 +34,6 @@  discard block
 block discarded – undo
34 34
         $name = explode('.', $domainMessage->getType());
35 35
 
36 36
         $name = preg_replace('/(?!^)[A-Z]{2,}(?=[A-Z][a-z])|[A-Z][a-z]/', ' $0', end($name));
37
-        $this->log->debug(trim(ucwords($name)) . " ({$domainMessage->getType()})");
37
+        $this->log->debug(trim(ucwords($name))." ({$domainMessage->getType()})");
38 38
     }
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.