Passed
Push — main ( 9f1665...bf42c8 )
by Teodoro
02:24
created
tests/ChildTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function handle(): void
36 36
     {
37
-        $closure = function () {
37
+        $closure = function() {
38 38
             return 33;
39 39
         };
40 40
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function handleException(): void
56 56
     {
57
-        $closure = function () {
57
+        $closure = function() {
58 58
             throw new \Exception('Test message');
59 59
         };
60 60
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function write(): void
76 76
     {
77
-        $closure = function () {
77
+        $closure = function() {
78 78
             return 'Same return value';
79 79
         };
80 80
 
Please login to merge, or discard this patch.
tests/AsyncTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function add(): void
30 30
     {
31
-        $this->async->add(static function () {
31
+        $this->async->add(static function() {
32 32
             usleep(8000);
33 33
 
34 34
             return 555;
35 35
         });
36
-        $this->async->add(static function () {
36
+        $this->async->add(static function() {
37 37
             return 2;
38 38
         });
39 39
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function then(): void
50 50
     {
51
-        $this->async->add(static function () {
51
+        $this->async->add(static function() {
52 52
             return 555;
53
-        })->then(static function (int $value) {
53
+        })->then(static function(int $value) {
54 54
             static::assertEquals(555, $value);
55 55
         });
56 56
 
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function failed(): void
65 65
     {
66
-        $this->async->add(static function () {
66
+        $this->async->add(static function() {
67 67
             throw new Exception('Test message');
68
-        })->catch(function ($exception) {
68
+        })->catch(function($exception) {
69 69
             static::assertStringContainsString('Test message', $exception->getMessage());
70 70
         });
71 71
 
Please login to merge, or discard this patch.