Test Failed
Push — master ( 0632cf...83a66e )
by Claude
14:31
created
src/Messages/Chunks/ChunkedMessageMetadata.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@  discard block
 block discarded – undo
15 15
     private string
16 16
         $checksum;
17 17
 
18
-    public function __construct(string|Uuid $uuid, int $size, int $nbChunks, string $checksum)
18
+    public function __construct(string | Uuid $uuid, int $size, int $nbChunks, string $checksum)
19 19
     {
20
-        if(! $uuid instanceof Uuid)
20
+        if( ! $uuid instanceof Uuid)
21 21
         {
22 22
             $uuid = new Uuid($uuid);
23 23
         }
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
         foreach($requiredKeys as $key)
36 36
         {
37
-            if(! isset($headers[$key]))
37
+            if( ! isset($headers[$key]))
38 38
             {
39 39
                 throw new \InvalidArgumentException("Missing $key in chunked message metadata");
40 40
             }
Please login to merge, or discard this patch.
src/Workers/WorkerContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Puzzle\AMQP\Workers;
6 6
 
Please login to merge, or discard this patch.
src/Workers/WorkerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Puzzle\AMQP\Workers;
6 6
 
Please login to merge, or discard this patch.
src/Consumers/InstantRetry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
             'max_execution_time' => self::DEFAULT_MAX_EXECUTION_TIME,
42 42
         ];
43 43
 
44
-        if(!empty($this->retries))
44
+        if( ! empty($this->retries))
45 45
         {
46 46
             $options['instant_retry_attempts'] = $this->retries;
47 47
         }
48 48
 
49
-        if(!empty($this->delay))
49
+        if( ! empty($this->delay))
50 50
         {
51 51
             $options['instant_retry_delay'] = $this->delay * 1000000; //computed in microseconds
52 52
         }
Please login to merge, or discard this patch.
src/Consumers/Retry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             'retry_key_pattern' => sprintf(self::RETRY_ROUTING_KEY_PATTERN, $queue),
52 52
         ];
53 53
 
54
-        if(! empty($this->retries))
54
+        if( ! empty($this->retries))
55 55
         {
56 56
             $options['retry_attempts'] = $this->retries;
57 57
         }
Please login to merge, or discard this patch.
src/ValueObjects/Uuid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Puzzle\AMQP\ValueObjects;
6 6
 
Please login to merge, or discard this patch.