Test Setup Failed
Push — nln-bump-to-php8.3 ( 4ce985...2d3a4a )
by Nicolas
07:48 queued 06:51
created
src/Formatters/Rules.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Formatters;
6 6
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         if($value === '<string>')
53 53
         {
54
-            $result = static function ($value) use ($result) {
54
+            $result = static function($value) use ($result) {
55 55
                 return str_replace('<string>', $value, $result);
56 56
             };
57 57
         }
Please login to merge, or discard this patch.
src/Filesystem/Adapters/Cache.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Filesystem\Adapters;
6 6
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         $this->cache = $cache;
25 25
         $this->ttl = $ttl;
26 26
 
27
-        if(!$serializeCache)
27
+        if( ! $serializeCache)
28 28
         {
29 29
             $serializeCache = new InMemory();
30 30
         }
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     public function read($key)
52 52
     {
53
-        if ($this->needsReload($key))
53
+        if($this->needsReload($key))
54 54
         {
55 55
             $contents = $this->source->read($key);
56 56
             $this->cache->write($key, $contents);
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     public function exists($key)
91 91
     {
92
-        if ($this->needsReload($key))
92
+        if($this->needsReload($key))
93 93
         {
94 94
             return $this->source->exists($key);
95 95
         }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $cacheFile = 'keys.cache';
108 108
 
109
-        if ($this->needsRebuild($cacheFile))
109
+        if($this->needsRebuild($cacheFile))
110 110
         {
111 111
             $keys = $this->source->keys();
112 112
             sort($keys);
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
                     $needsReload = $dateCache < $dateSource;
174 174
                 }
175 175
             }
176
-            catch (\RuntimeException $e)
176
+            catch(\RuntimeException $e)
177 177
             {
178 178
             }
179 179
         }
Please login to merge, or discard this patch.