Completed
Branch unit-tests (29d80d)
by Ekin
02:59
created
server.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
 use Aerys\Host;
4 4
 use Amp\Redis\Client;
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 $injector->define(Handler::class, [
25 25
     ':origins' => [
26 26
         'http://' . $configuration['origins']['websocket'],
27
-        'http://' . $configuration['origins']['server'] ,
27
+        'http://' . $configuration['origins']['server'],
28 28
     ],
29 29
 ]);
30 30
 
Please login to merge, or discard this patch.
src/Events/Type/BaseEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function __construct(
24 24
         int $id, string $type, string $action, string $repository,
25 25
         string $actorName, string $eventUrl, string $message
26
-    ){
26
+    ) {
27 27
         $this->id         = $id;
28 28
         $this->type       = $type;
29 29
         $this->action     = $action;
Please login to merge, or discard this patch.
src/Websocket/Handler.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 ekinhbayar\GitAmp\Client;
4 4
 
Please login to merge, or discard this patch.
src/Storage/RedisCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     public function set(string $key, int $val): Promise {
61
-        return resolve(function () use ($key, $val) {
61
+        return resolve(function() use ($key, $val) {
62 62
             try {
63 63
                 return yield $this->redis->set($key, $val);
64 64
             } catch (RedisException $e) {
Please login to merge, or discard this patch.