Passed
Push — v7 ( 8c9e05...38b5a4 )
by Georges
01:38
created
lib/Phpfastcache/Drivers/Couchdb/Driver.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -16,14 +16,14 @@  discard block
 block discarded – undo
16 16
 namespace Phpfastcache\Drivers\Couchdb;
17 17
 
18 18
 use Doctrine\CouchDB\{
19
-  CouchDBClient as CouchdbClient, CouchDBException
19
+    CouchDBClient as CouchdbClient, CouchDBException
20 20
 };
21 21
 use Phpfastcache\Config\ConfigurationOption;
22 22
 use Phpfastcache\Core\Pool\{
23
-  DriverBaseTrait, ExtendedCacheItemPoolInterface
23
+    DriverBaseTrait, ExtendedCacheItemPoolInterface
24 24
 };
25 25
 use Phpfastcache\Exceptions\{
26
-  phpFastCacheDriverException, phpFastCacheInvalidArgumentException, phpFastCacheLogicException
26
+    phpFastCacheDriverException, phpFastCacheInvalidArgumentException, phpFastCacheLogicException
27 27
 };
28 28
 use Phpfastcache\Entities\DriverStatistic;
29 29
 use Phpfastcache\Util\ArrayObject;
@@ -75,9 +75,9 @@  discard block
 block discarded – undo
75 75
         $url .= $clientConfig[ 'path' ];
76 76
 
77 77
         $this->instance = CouchDBClient::create([
78
-          'dbname' => $this->getDatabaseName(),
79
-          'url' => $url,
80
-          'timeout' => $clientConfig[ 'timeout' ],
78
+            'dbname' => $this->getDatabaseName(),
79
+            'url' => $url,
80
+            'timeout' => $clientConfig[ 'timeout' ],
81 81
         ]);
82 82
 
83 83
         $this->createDatabase();
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         if ($item instanceof Item) {
123 123
             try {
124 124
                 $this->instance->putDocument(['data' => $this->encode($this->driverPreWrap($item))], $item->getEncodedKey(),
125
-                  $this->getLatestDocumentRevision($item->getEncodedKey()));
125
+                    $this->getLatestDocumentRevision($item->getEncodedKey()));
126 126
             } catch (CouchDBException $e) {
127 127
                 throw new phpFastCacheDriverException('Got error while trying to upsert a document: ' . $e->getMessage(), null, $e);
128 128
             }
@@ -179,10 +179,10 @@  discard block
 block discarded – undo
179 179
         $path = '/' . $this->getDatabaseName() . '/' . urlencode($docId);
180 180
 
181 181
         $response = $this->instance->getHttpClient()->request(
182
-          'HEAD',
183
-          $path,
184
-          null,
185
-          false
182
+            'HEAD',
183
+            $path,
184
+            null,
185
+            false
186 186
         );
187 187
         if (!empty($response->headers[ 'etag' ])) {
188 188
             return \trim($response->headers[ 'etag' ], " '\"\t\n\r\0\x0B");
@@ -236,9 +236,9 @@  discard block
 block discarded – undo
236 236
         $info = $this->instance->getDatabaseInfo();
237 237
 
238 238
         return (new DriverStatistic())
239
-          ->setSize($info[ 'sizes' ][ 'active' ])
240
-          ->setRawData($info)
241
-          ->setData(\implode(', ', \array_keys($this->itemInstances)))
242
-          ->setInfo('Couchdb version ' . $this->instance->getVersion() . "\n For more information see RawData.");
239
+            ->setSize($info[ 'sizes' ][ 'active' ])
240
+            ->setRawData($info)
241
+            ->setData(\implode(', ', \array_keys($this->itemInstances)))
242
+            ->setInfo('Couchdb version ' . $this->instance->getVersion() . "\n For more information see RawData.");
243 243
     }
244 244
 }
245 245
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Couchdb;
17 17
 
@@ -62,22 +62,22 @@  discard block
 block discarded – undo
62 62
 
63 63
         $clientConfig = $this->getConfig();
64 64
 
65
-        $url = ($clientConfig[ 'ssl' ] ? 'https://' : 'http://');
66
-        if ($clientConfig[ 'username' ]) {
65
+        $url = ($clientConfig['ssl'] ? 'https://' : 'http://');
66
+        if ($clientConfig['username']) {
67 67
             $url .= "{$clientConfig['username']}";
68
-            if ($clientConfig[ 'password' ]) {
68
+            if ($clientConfig['password']) {
69 69
                 $url .= ":{$clientConfig['password']}";
70 70
             }
71 71
             $url .= '@';
72 72
         }
73
-        $url .= $clientConfig[ 'host' ];
73
+        $url .= $clientConfig['host'];
74 74
         $url .= ":{$clientConfig['port']}";
75
-        $url .= $clientConfig[ 'path' ];
75
+        $url .= $clientConfig['path'];
76 76
 
77 77
         $this->instance = CouchDBClient::create([
78 78
           'dbname' => $this->getDatabaseName(),
79 79
           'url' => $url,
80
-          'timeout' => $clientConfig[ 'timeout' ],
80
+          'timeout' => $clientConfig['timeout'],
81 81
         ]);
82 82
 
83 83
         $this->createDatabase();
@@ -98,10 +98,10 @@  discard block
 block discarded – undo
98 98
             throw new phpFastCacheDriverException('Got error while trying to get a document: ' . $e->getMessage(), null, $e);
99 99
         }
100 100
 
101
-        if ($response->status === 404 || empty($response->body[ 'data' ])) {
101
+        if ($response->status === 404 || empty($response->body['data'])) {
102 102
             return null;
103 103
         } else if ($response->status === 200) {
104
-            return $this->decode($response->body[ 'data' ]);
104
+            return $this->decode($response->body['data']);
105 105
         } else {
106 106
             throw new phpFastCacheDriverException('Got unexpected HTTP status: ' . $response->status);
107 107
         }
@@ -184,8 +184,8 @@  discard block
 block discarded – undo
184 184
           null,
185 185
           false
186 186
         );
187
-        if (!empty($response->headers[ 'etag' ])) {
188
-            return \trim($response->headers[ 'etag' ], " '\"\t\n\r\0\x0B");
187
+        if (!empty($response->headers['etag'])) {
188
+            return \trim($response->headers['etag'], " '\"\t\n\r\0\x0B");
189 189
         }
190 190
 
191 191
         return null;
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
         $info = $this->instance->getDatabaseInfo();
237 237
 
238 238
         return (new DriverStatistic())
239
-          ->setSize($info[ 'sizes' ][ 'active' ])
239
+          ->setSize($info['sizes']['active'])
240 240
           ->setRawData($info)
241 241
           ->setData(\implode(', ', \array_keys($this->itemInstances)))
242 242
           ->setInfo('Couchdb version ' . $this->instance->getVersion() . "\n For more information see RawData.");
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Files/Item.php 2 patches
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\Files\Driver as FilesDriver;
21 21
 use Phpfastcache\Exceptions\{
22
-  phpFastCacheInvalidArgumentException
22
+    phpFastCacheInvalidArgumentException
23 23
 };
24 24
 
25 25
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Files;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Files/Driver.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
 use Phpfastcache\Core\Pool\{DriverBaseTrait, ExtendedCacheItemPoolInterface, IO\IOHelperTrait};
19 19
 use Phpfastcache\Exceptions\{
20
-  phpFastCacheInvalidArgumentException
20
+    phpFastCacheInvalidArgumentException
21 21
 };
22 22
 use Phpfastcache\Util\Directory;
23 23
 use Psr\Cache\CacheItemInterface;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Files;
17 17
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     protected function driverClear(): bool
145 145
     {
146
-        return (bool)Directory::rrmdir($this->getPath(true));
146
+        return (bool) Directory::rrmdir($this->getPath(true));
147 147
     }
148 148
 
149 149
     /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Couchbase/Item.php 2 patches
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\Couchbase\Driver as CouchbaseDriver;
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Couchbase;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Couchbase/Config.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
      * @var array
33 33
      */
34 34
     protected $buckets = [
35
-      [
35
+        [
36 36
         'bucket' => 'default',
37 37
         'password' => '',
38
-      ],
38
+        ],
39 39
     ];
40 40
 
41 41
     /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Couchbase/Driver.php 3 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@  discard block
 block discarded – undo
17 17
 
18 18
 use CouchbaseCluster as CouchbaseClient;
19 19
 use Phpfastcache\Core\Pool\{
20
-  DriverBaseTrait, ExtendedCacheItemPoolInterface
20
+    DriverBaseTrait, ExtendedCacheItemPoolInterface
21 21
 };
22 22
 use Phpfastcache\Entities\DriverStatistic;
23 23
 use Phpfastcache\Exceptions\{
24
-  phpFastCacheInvalidArgumentException, phpFastCacheLogicException
24
+    phpFastCacheInvalidArgumentException, phpFastCacheLogicException
25 25
 };
26 26
 use Phpfastcache\Util\ArrayObject;
27 27
 use Psr\Cache\CacheItemInterface;
@@ -187,10 +187,10 @@  discard block
 block discarded – undo
187 187
         $info = $this->getBucket()->manager()->info();
188 188
 
189 189
         return (new DriverStatistic())
190
-          ->setSize($info[ 'basicStats' ][ 'diskUsed' ])
191
-          ->setRawData($info)
192
-          ->setData(\implode(', ', \array_keys($this->itemInstances)))
193
-          ->setInfo('CouchBase version ' . $info[ 'nodes' ][ 0 ][ 'version' ] . ', Uptime (in days): ' . round($info[ 'nodes' ][ 0 ][ 'uptime' ] / 86400,
194
-              1) . "\n For more information see RawData.");
190
+            ->setSize($info[ 'basicStats' ][ 'diskUsed' ])
191
+            ->setRawData($info)
192
+            ->setData(\implode(', ', \array_keys($this->itemInstances)))
193
+            ->setInfo('CouchBase version ' . $info[ 'nodes' ][ 0 ][ 'version' ] . ', Uptime (in days): ' . round($info[ 'nodes' ][ 0 ][ 'uptime' ] / 86400,
194
+                1) . "\n For more information see RawData.");
195 195
     }
196 196
 }
197 197
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Couchbase;
17 17
 
@@ -69,16 +69,16 @@  discard block
 block discarded – undo
69 69
 
70 70
         $this->instance = new CouchbaseClient("couchbase://{$clientConfig['host']}:{$clientConfig['port']}");
71 71
 
72
-        if ($clientConfig[ 'username' ]) {
72
+        if ($clientConfig['username']) {
73 73
             $authenticator = new \Couchbase\ClassicAuthenticator();
74
-            $authenticator->cluster($clientConfig[ 'username' ], $clientConfig[ 'password' ]);
74
+            $authenticator->cluster($clientConfig['username'], $clientConfig['password']);
75 75
             //$authenticator->bucket('protected', 'secret');
76 76
             $this->instance->authenticate($authenticator);
77 77
         }
78 78
 
79
-        foreach ($clientConfig[ 'buckets' ] as $bucket) {
80
-            $this->bucketCurrent = $this->bucketCurrent ?: $bucket[ 'bucket' ];
81
-            $this->setBucket($bucket[ 'bucket' ], $this->instance->openBucket($bucket[ 'bucket' ], $bucket[ 'password' ]));
79
+        foreach ($clientConfig['buckets'] as $bucket) {
80
+            $this->bucketCurrent = $this->bucketCurrent ?: $bucket['bucket'];
81
+            $this->setBucket($bucket['bucket'], $this->instance->openBucket($bucket['bucket'], $bucket['password']));
82 82
         }
83 83
 
84 84
         return true;
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
          */
113 113
         if ($item instanceof Item) {
114 114
             try {
115
-                return (bool)$this->getBucket()->upsert($item->getEncodedKey(), $this->encode($this->driverPreWrap($item)), ['expiry' => $item->getTtl()]);
115
+                return (bool) $this->getBucket()->upsert($item->getEncodedKey(), $this->encode($this->driverPreWrap($item)), ['expiry' => $item->getTtl()]);
116 116
             } catch (\CouchbaseException $e) {
117 117
                 return false;
118 118
             }
@@ -132,9 +132,9 @@  discard block
 block discarded – undo
132 132
          * Check for Cross-Driver type confusion
133 133
          */
134 134
         if ($item instanceof Item) {
135
-            try{
136
-                return (bool)$this->getBucket()->remove($item->getEncodedKey());
137
-            }catch (\Couchbase\Exception $e){
135
+            try {
136
+                return (bool) $this->getBucket()->remove($item->getEncodedKey());
137
+            } catch (\Couchbase\Exception $e) {
138 138
                 return $e->getCode() === COUCHBASE_KEY_ENOENT;
139 139
             }
140 140
         }
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      */
157 157
     protected function getBucket(): \CouchbaseBucket
158 158
     {
159
-        return $this->bucketInstances[ $this->bucketCurrent ];
159
+        return $this->bucketInstances[$this->bucketCurrent];
160 160
     }
161 161
 
162 162
     /**
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     protected function setBucket($bucketName, \CouchbaseBucket $CouchbaseBucket)
168 168
     {
169 169
         if (!\array_key_exists($bucketName, $this->bucketInstances)) {
170
-            $this->bucketInstances[ $bucketName ] = $CouchbaseBucket;
170
+            $this->bucketInstances[$bucketName] = $CouchbaseBucket;
171 171
         } else {
172 172
             throw new phpFastCacheLogicException('A bucket instance with this name already exists.');
173 173
         }
@@ -187,10 +187,10 @@  discard block
 block discarded – undo
187 187
         $info = $this->getBucket()->manager()->info();
188 188
 
189 189
         return (new DriverStatistic())
190
-          ->setSize($info[ 'basicStats' ][ 'diskUsed' ])
190
+          ->setSize($info['basicStats']['diskUsed'])
191 191
           ->setRawData($info)
192 192
           ->setData(\implode(', ', \array_keys($this->itemInstances)))
193
-          ->setInfo('CouchBase version ' . $info[ 'nodes' ][ 0 ][ 'version' ] . ', Uptime (in days): ' . round($info[ 'nodes' ][ 0 ][ 'uptime' ] / 86400,
193
+          ->setInfo('CouchBase version ' . $info['nodes'][0]['version'] . ', Uptime (in days): ' . round($info['nodes'][0]['uptime'] / 86400,
194 194
               1) . "\n For more information see RawData.");
195 195
     }
196 196
 }
197 197
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
         if ($item instanceof Item) {
135 135
             try{
136 136
                 return (bool)$this->getBucket()->remove($item->getEncodedKey());
137
-            }catch (\Couchbase\Exception $e){
137
+            } catch (\Couchbase\Exception $e){
138 138
                 return $e->getCode() === COUCHBASE_KEY_ENOENT;
139 139
             }
140 140
         }
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Apcu/Item.php 2 patches
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\Apcu\Driver as ApcuDriver;
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Apcu;
17 17
 
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Apcu/Driver.php 2 patches
Indentation   +5 added lines, -5 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
 
@@ -121,10 +121,10 @@  discard block
 block discarded – undo
121 121
         $date = (new \DateTime())->setTimestamp($stats[ 'start_time' ]);
122 122
 
123 123
         return (new DriverStatistic())
124
-          ->setData(\implode(', ', \array_keys($this->itemInstances)))
125
-          ->setInfo(\sprintf("The APCU cache is up since %s, and have %d item(s) in cache.\n For more information see RawData.", $date->format(DATE_RFC2822),
124
+            ->setData(\implode(', ', \array_keys($this->itemInstances)))
125
+            ->setInfo(\sprintf("The APCU cache is up since %s, and have %d item(s) in cache.\n For more information see RawData.", $date->format(DATE_RFC2822),
126 126
             $stats[ 'num_entries' ]))
127
-          ->setRawData($stats)
128
-          ->setSize($stats[ 'mem_size' ]);
127
+            ->setRawData($stats)
128
+            ->setSize($stats[ 'mem_size' ]);
129 129
     }
130 130
 }
131 131
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Apcu;
17 17
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         if ($item instanceof Item) {
62 62
             $ttl = $item->getExpirationDate()->getTimestamp() - time();
63 63
 
64
-            return (bool)apcu_store($item->getKey(), $this->driverPreWrap($item), ($ttl > 0 ? $ttl : 0));
64
+            return (bool) apcu_store($item->getKey(), $this->driverPreWrap($item), ($ttl > 0 ? $ttl : 0));
65 65
         }
66 66
 
67 67
         throw new phpFastCacheInvalidArgumentException('Cross-Driver type confusion detected');
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
          * Check for Cross-Driver type confusion
93 93
          */
94 94
         if ($item instanceof Item) {
95
-            return (bool)apcu_delete($item->getKey());
95
+            return (bool) apcu_delete($item->getKey());
96 96
         }
97 97
 
98 98
         throw new phpFastCacheInvalidArgumentException('Cross-Driver type confusion detected');
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
      */
118 118
     public function getStats(): DriverStatistic
119 119
     {
120
-        $stats = (array)apcu_cache_info();
121
-        $date = (new \DateTime())->setTimestamp($stats[ 'start_time' ]);
120
+        $stats = (array) apcu_cache_info();
121
+        $date = (new \DateTime())->setTimestamp($stats['start_time']);
122 122
 
123 123
         return (new DriverStatistic())
124 124
           ->setData(\implode(', ', \array_keys($this->itemInstances)))
125 125
           ->setInfo(\sprintf("The APCU cache is up since %s, and have %d item(s) in cache.\n For more information see RawData.", $date->format(DATE_RFC2822),
126
-            $stats[ 'num_entries' ]))
126
+            $stats['num_entries']))
127 127
           ->setRawData($stats)
128
-          ->setSize($stats[ 'mem_size' ]);
128
+          ->setSize($stats['mem_size']);
129 129
     }
130 130
 }
131 131
\ No newline at end of file
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Devfalse/Item.php 2 patches
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\Devfalse\Driver as DevfalseDriver;
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @author Georges.L (Geolim4)  <[email protected]>
12 12
  *
13 13
  */
14
-declare(strict_types=1);
14
+declare(strict_types = 1);
15 15
 
16 16
 namespace Phpfastcache\Drivers\Devfalse;
17 17
 
Please login to merge, or discard this patch.