Test Failed
Branch develop (82f08a)
by Andreas
15:40
created
vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Drivers/Apcu/Driver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function getStats(): DriverStatistic
50 50
     {
51
-        $stats = (array)apcu_cache_info();
51
+        $stats = (array) apcu_cache_info();
52 52
         $date = (new DateTime())->setTimestamp($stats['start_time']);
53 53
 
54 54
         return (new DriverStatistic())
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
                 )
62 62
             )
63 63
             ->setRawData($stats)
64
-            ->setSize((int)$stats['mem_size']);
64
+            ->setSize((int) $stats['mem_size']);
65 65
     }
66 66
 
67 67
     /**
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     protected function driverWrite(ExtendedCacheItemInterface $item): bool
81 81
     {
82 82
 
83
-        return (bool)apcu_store($item->getKey(), $this->driverPreWrap($item), $item->getTtl());
83
+        return (bool) apcu_store($item->getKey(), $this->driverPreWrap($item), $item->getTtl());
84 84
     }
85 85
 
86 86
     /**
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     protected function driverDelete(string $key, string $encodedKey): bool
107 107
     {
108
-        return (bool)apcu_delete($key);
108
+        return (bool) apcu_delete($key);
109 109
     }
110 110
 
111 111
     /**
Please login to merge, or discard this patch.
phpfastcache/phpfastcache/lib/Phpfastcache/Drivers/Zenddisk/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     protected function driverDelete(string $key, string $encodedKey): bool
110 110
     {
111 111
 
112
-        return (bool)zend_disk_cache_delete($key);
112
+        return (bool) zend_disk_cache_delete($key);
113 113
     }
114 114
 
115 115
 
Please login to merge, or discard this patch.
phpfastcache/phpfastcache/lib/Phpfastcache/Drivers/Leveldb/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     protected function driverWrite(ExtendedCacheItemInterface $item): bool
79 79
     {
80 80
 
81
-        return (bool)$this->instance->set($item->getKey(), $this->encode($this->driverPreWrap($item)));
81
+        return (bool) $this->instance->set($item->getKey(), $this->encode($this->driverPreWrap($item)));
82 82
     }
83 83
 
84 84
     /**
Please login to merge, or discard this patch.
vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Drivers/Memory/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     protected function driverReadAllKeys(string $pattern = ''): iterable
70 70
     {
71
-        return array_filter(array_keys($this->staticStack), function (string $key) use ($pattern) {
71
+        return array_filter(array_keys($this->staticStack), function(string $key) use ($pattern) {
72 72
             return $pattern
73 73
                 ? preg_match('/' . str_replace('*', '(.*)', $pattern) . '/', $key)
74 74
                 : true;
Please login to merge, or discard this patch.
vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Drivers/Redis/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         return (new DriverStatistic())
57 57
             ->setData(implode(', ', array_keys($this->itemInstances)))
58 58
             ->setRawData($info)
59
-            ->setSize((int)$info['used_memory_dataset'])
59
+            ->setSize((int) $info['used_memory_dataset'])
60 60
             ->setInfo(
61 61
                 sprintf(
62 62
                     "The Redis daemon v%s, php-ext v%s, is up since %s.\n For more information see RawData.",
Please login to merge, or discard this patch.
php/vendor/phpfastcache/phpfastcache/lib/Phpfastcache/EventManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * @throws PhpfastcacheEventManagerException
119 119
      */
120
-    public function on(array|string $events, callable $callback): void
120
+    public function on(array | string $events, callable $callback): void
121 121
     {
122 122
         if (is_string($events)) {
123 123
             $events = [$events];
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
         }
185 185
         $this->itemPoolContext = $pool;
186 186
 
187
-        $this->onEveryEvents(function (string $eventName, ...$args) {
187
+        $this->onEveryEvents(function(string $eventName, ...$args) {
188 188
             EventManager::getInstance()->dispatch($eventName, ...$args);
189 189
         }, 'Scoped' . $pool->getDriverName() . spl_object_hash($this));
190 190
 
Please login to merge, or discard this patch.
phpfastcache/lib/Phpfastcache/Core/Item/ExtendedCacheItemTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * @throws PhpfastcacheInvalidTypeException
242 242
      */
243
-    public function append(array|string $data): ExtendedCacheItemInterface
243
+    public function append(array | string $data): ExtendedCacheItemInterface
244 244
     {
245 245
         if ($this->data !== null && !\is_string($this->data) && !\is_array($this->data)) {
246 246
             throw new PhpfastcacheInvalidTypeException(\sprintf('Cannot append on a "%s" type.', \gettype($this->data)));
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
     /**
259 259
      * @throws PhpfastcacheInvalidTypeException
260 260
      */
261
-    public function prepend(array|string $data): ExtendedCacheItemInterface
261
+    public function prepend(array | string $data): ExtendedCacheItemInterface
262 262
     {
263 263
         if ($this->data !== null && !\is_string($this->data) && !\is_array($this->data)) {
264 264
             throw new PhpfastcacheInvalidTypeException(\sprintf('Cannot prepend on a "%s" type.', \gettype($this->data)));
Please login to merge, or discard this patch.
phpfastcache/lib/Phpfastcache/Core/Item/ExtendedCacheItemInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      * @return ExtendedCacheItemInterface
173 173
      * @throws PhpfastcacheInvalidTypeException
174 174
      */
175
-    public function append(array|string $data): ExtendedCacheItemInterface;
175
+    public function append(array | string $data): ExtendedCacheItemInterface;
176 176
 
177 177
     /**
178 178
      * @param mixed[]|string $data
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      * @return ExtendedCacheItemInterface
181 181
      * @throws PhpfastcacheInvalidTypeException
182 182
      */
183
-    public function prepend(array|string $data): ExtendedCacheItemInterface;
183
+    public function prepend(array | string $data): ExtendedCacheItemInterface;
184 184
 
185 185
     /**
186 186
      * Return the data as a well-formatted string.
Please login to merge, or discard this patch.
phpfastcache/phpfastcache/lib/Phpfastcache/Core/Item/CacheItemTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      * @throws PhpfastcacheInvalidArgumentException
116 116
      * @throws \Exception
117 117
      */
118
-    public function expiresAfter(int|\DateInterval|null $time): static
118
+    public function expiresAfter(int | \DateInterval | null $time): static
119 119
     {
120 120
         if (\is_numeric($time)) {
121 121
             if ($time <= 0) {
Please login to merge, or discard this patch.