Passed
Push — master ( 3847de...717744 )
by Korvin
02:25
created
src/Bot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,11 +182,11 @@
 block discarded – undo
182 182
 
183 183
         if ($duration) {
184 184
             $this->rtmClient->typing($channel);
185
-            $this->getLoop()->addTimer($duration, function () use ($channel, $message, $deferred) {
185
+            $this->getLoop()->addTimer($duration, function() use ($channel, $message, $deferred) {
186 186
                 if ($message) {
187 187
                     $this->rtmClient
188 188
                         ->sendMessage($message, $channel)
189
-                        ->done(function (array $result) use ($deferred) {
189
+                        ->done(function(array $result) use ($deferred) {
190 190
                             $this->logger->info('[<bold>BOT.TYP</bold>] Done Typing');
191 191
                             $deferred->resolve($result);
192 192
                         });
Please login to merge, or discard this patch.
src/Command/SignatureParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             throw new InvalidArgumentException('Console command definition is empty.');
49 49
         }
50 50
 
51
-        if (! preg_match('/[^\s]+/', $expression, $matches)) {
51
+        if (!preg_match('/[^\s]+/', $expression, $matches)) {
52 52
             throw new InvalidArgumentException('Unable to determine command name from signature.');
53 53
         }
54 54
 
Please login to merge, or discard this patch.
src/Command/SimpleCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
             $output[] = '*' . mb_convert_case($type, MB_CASE_TITLE) . ' Arguments:*';
194 194
 
195 195
             foreach ($filteredArguments as $argument) {
196
-                $argumentString = '`' .$summary->argument($argument) . '`';
196
+                $argumentString = '`' . $summary->argument($argument) . '`';
197 197
 
198 198
                 if ($description = $argument->description()) {
199 199
                     $argumentString .= " _{$description}_";
Please login to merge, or discard this patch.
src/Slack/Rtm/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         $promise->done(function() use ($stack) {
131 131
             $this->logger->info('-- Starting to listen... --');
132 132
 
133
-            $this->listener = function (Message $message) use ($stack) {
133
+            $this->listener = function(Message $message) use ($stack) {
134 134
                 if (!$this->connected) {
135 135
                     // After we disconnect stop listening.
136 136
                     return false;
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         $listener = null;
247 247
 
248 248
         // Listen for a reply
249
-        $listener = function (Message $message) use ($deferred, $currentId, &$listener) {
249
+        $listener = function(Message $message) use ($deferred, $currentId, &$listener) {
250 250
             $payload = json_decode($message->getPayload(), true);
251 251
             $replyTo = $payload['reply_to'] ?? 0;
252 252
 
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
         // Manage connecting
332 332
         $connection = websocketConnect($rtmPayload->getUrl(), [], [], $loop);
333 333
         $connection->then(
334
-            function (WebSocket $connection) use ($deferred, $rtmPayload) {
334
+            function(WebSocket $connection) use ($deferred, $rtmPayload) {
335 335
                 $this->connected($connection, $rtmPayload);
336 336
                 $deferred->resolve([$connection, $rtmPayload]);
337 337
 
Please login to merge, or discard this patch.