Passed
Push — v7 ( d0ef53...e507a8 )
by Georges
01:44
created
lib/Phpfastcache/Drivers/Zenddisk/Driver.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 use Phpfastcache\Core\Pool\{DriverBaseTrait, ExtendedCacheItemPoolInterface};
18 18
 use Phpfastcache\Entities\DriverStatistic;
19 19
 use Phpfastcache\Exceptions\{
20
-  PhpfastcacheInvalidArgumentException
20
+    PhpfastcacheInvalidArgumentException
21 21
 };
22 22
 use Psr\Cache\CacheItemInterface;
23 23
 
@@ -131,9 +131,9 @@  discard block
 block discarded – undo
131 131
     {
132 132
         $stat = new DriverStatistic();
133 133
         $stat->setInfo('[ZendDisk] A void info string')
134
-          ->setSize(0)
135
-          ->setData(\implode(', ', \array_keys($this->itemInstances)))
136
-          ->setRawData(false);
134
+            ->setSize(0)
135
+            ->setData(\implode(', ', \array_keys($this->itemInstances)))
136
+            ->setRawData(false);
137 137
 
138 138
         return $stat;
139 139
     }
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Zenddisk/Item.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
19 19
 use Phpfastcache\Drivers\Zenddisk\Driver as ZendDiskDriver;
20 20
 use Phpfastcache\Exceptions\{
21
-  PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
21
+    PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
22 22
 };
23 23
 
24 24
 /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Devtrue/Driver.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 use Phpfastcache\Core\Pool\{DriverBaseTrait, ExtendedCacheItemPoolInterface};
19 19
 use Phpfastcache\Entities\DriverStatistic;
20 20
 use Phpfastcache\Exceptions\{
21
-  PhpfastcacheInvalidArgumentException
21
+    PhpfastcacheInvalidArgumentException
22 22
 };
23 23
 use Psr\Cache\CacheItemInterface;
24 24
 
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     protected function driverRead(CacheItemInterface $item): array
65 65
     {
66 66
         return [
67
-          self::DRIVER_DATA_WRAPPER_INDEX => true,
68
-          self::DRIVER_TAGS_WRAPPER_INDEX => [],
69
-          self::DRIVER_EDATE_WRAPPER_INDEX => new \DateTime(),
67
+            self::DRIVER_DATA_WRAPPER_INDEX => true,
68
+            self::DRIVER_TAGS_WRAPPER_INDEX => [],
69
+            self::DRIVER_EDATE_WRAPPER_INDEX => new \DateTime(),
70 70
         ];
71 71
     }
72 72
 
@@ -116,9 +116,9 @@  discard block
 block discarded – undo
116 116
     {
117 117
         $stat = new DriverStatistic();
118 118
         $stat->setInfo('[Devtrue] A void info string')
119
-          ->setSize(0)
120
-          ->setData(\implode(', ', \array_keys($this->itemInstances)))
121
-          ->setRawData(true);
119
+            ->setSize(0)
120
+            ->setData(\implode(', ', \array_keys($this->itemInstances)))
121
+            ->setRawData(true);
122 122
 
123 123
         return $stat;
124 124
     }
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Devtrue/Item.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
20 20
 use Phpfastcache\Drivers\Devtrue\Driver as DevtrueDriver;
21 21
 use Phpfastcache\Exceptions\{
22
-  PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
22
+    PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
23 23
 };
24 24
 
25 25
 /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Cassandra/Item.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
21 21
 use Phpfastcache\Drivers\Cassandra\Driver as CassandraDriver;
22 22
 use Phpfastcache\Exceptions\{
23
-  PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
23
+    PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
24 24
 };
25 25
 
26 26
 /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Wincache/Item.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
20 20
 use Phpfastcache\Drivers\Wincache\Driver as WincacheDriver;
21 21
 use Phpfastcache\Exceptions\{
22
-  PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
22
+    PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
23 23
 };
24 24
 
25 25
 /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Memcache/Item.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
20 20
 use Phpfastcache\Drivers\Memcache\Driver as MemcacheDriver;
21 21
 use Phpfastcache\Exceptions\{
22
-  PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
22
+    PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
23 23
 };
24 24
 
25 25
 /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Leveldb/Driver.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use LevelDB as LeveldbClient;
19 19
 use Phpfastcache\Core\Pool\{DriverBaseTrait, ExtendedCacheItemPoolInterface, IO\IOHelperTrait};
20 20
 use Phpfastcache\Exceptions\{
21
-  PhpfastcacheInvalidArgumentException, PhpfastcacheLogicException
21
+    PhpfastcacheInvalidArgumentException, PhpfastcacheLogicException
22 22
 };
23 23
 use Psr\Cache\CacheItemInterface;
24 24
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
          * Check for Cross-Driver type confusion
85 85
          */
86 86
         if ($item instanceof Item) {
87
-            return (bool)$this->instance->set($item->getKey(), $this->encode($this->driverPreWrap($item)));
87
+            return (bool) $this->instance->set($item->getKey(), $this->encode($this->driverPreWrap($item)));
88 88
         }
89 89
 
90 90
         throw new PhpfastcacheInvalidArgumentException('Cross-Driver type confusion detected');
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             $this->instance->close();
117 117
             $this->instance = null;
118 118
         }
119
-        $result = (bool)LeveldbClient::destroy($this->getLeveldbFile());
119
+        $result = (bool) LeveldbClient::destroy($this->getLeveldbFile());
120 120
         $this->driverConnect();
121 121
 
122 122
         return $result;
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Leveldb/Item.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
20 20
 use Phpfastcache\Drivers\Leveldb\Driver as LeveldbDriver;
21 21
 use Phpfastcache\Exceptions\{
22
-  PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
22
+    PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException
23 23
 };
24 24
 
25 25
 /**
Please login to merge, or discard this patch.