Test Setup Failed
Branch master (8cfc86)
by Ekin
05:52
created
src/Events/Type/CreateEvent.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\Events\Type;
4 4
 
Please login to merge, or discard this patch.
src/Events/GithubEventType.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\Events;
4 4
 
Please login to merge, or discard this patch.
src/Events/Factory.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\Events;
4 4
 
Please login to merge, or discard this patch.
src/Response/DecodingFailedException.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\Response;
4 4
 
Please login to merge, or discard this patch.
src/Response/Results.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\Response;
4 4
 
Please login to merge, or discard this patch.
src/Response/ResultsIterator.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\Response;
4 4
 
Please login to merge, or discard this patch.
src/Storage/Counter.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\Storage;
4 4
 
Please login to merge, or discard this patch.
src/Storage/StorageFailedException.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\Storage;
4 4
 
Please login to merge, or discard this patch.
src/Storage/RedisCounter.php 1 patch
Spacing   +4 added lines, -4 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 ekinhbayar\GitAmp\Storage;
4 4
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     public function increment(string $key): Promise {
29
-        return resolve(function () use ($key) {
29
+        return resolve(function() use ($key) {
30 30
             try {
31 31
                 return yield $this->redis->incr($key);
32 32
             } catch (RedisException $e) {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     public function decrement(string $key): Promise {
39
-        return resolve(function () use ($key) {
39
+        return resolve(function() use ($key) {
40 40
             try {
41 41
                 return yield $this->redis->eval(self::SCRIPT_DECREMENT, [$key], []);
42 42
             } catch (RedisException $e) {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     }
47 47
 
48 48
     public function get(string $key): Promise {
49
-        return resolve(function () use ($key) {
49
+        return resolve(function() use ($key) {
50 50
             try {
51 51
                 $result = yield $this->redis->get($key);
52 52
 
Please login to merge, or discard this patch.