Test Failed
Push — main ( 8cc469...ccfd6b )
by Mehmet
02:18
created
src/MemcachedCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function __construct(Memcached $handler)
26 26
     {
27 27
         $this->handler = $handler;
28
-        if (! defined('Memcached::HAVE_IGBINARY') || ! extension_loaded('igbinary')) {
28
+        if (!defined('Memcached::HAVE_IGBINARY') || !extension_loaded('igbinary')) {
29 29
             return;
30 30
         }
31 31
 
Please login to merge, or discard this patch.
src/Common.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     protected function checkReservedCharacters($key): void
21 21
     {
22
-        if (! is_string($key)) {
22
+        if (!is_string($key)) {
23 23
             $message = sprintf('key %s is not a string.', $key);
24 24
 
25 25
             throw new InvalidArgumentException($message);
Please login to merge, or discard this patch.
src/RedisCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     public function __construct(private Redis $handler)
23 23
     {
24
-        if (! defined('Redis::SERIALIZER_IGBINARY') || ! extension_loaded('igbinary')) {
24
+        if (!defined('Redis::SERIALIZER_IGBINARY') || !extension_loaded('igbinary')) {
25 25
             return;
26 26
         }
27 27
 
Please login to merge, or discard this patch.
src/ArrayCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     public function get($key, $default = null)
19 19
     {
20 20
         $this->checkReservedCharacters($key);
21
-        if (! $this->has($key)) {
21
+        if (!$this->has($key)) {
22 22
             return $default;
23 23
         }
24 24
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     public function has($key): bool
64 64
     {
65 65
         $this->checkReservedCharacters($key);
66
-        if (! array_key_exists($key, $this->bucket)) {
66
+        if (!array_key_exists($key, $this->bucket)) {
67 67
             return false;
68 68
         }
69 69
 
Please login to merge, or discard this patch.