Passed
Push — v7 ( f08608...4c8ab7 )
by Georges
01:47
created
lib/Phpfastcache/CacheManager.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 use Phpfastcache\Config\ConfigurationOption;
19 19
 use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
20 20
 use Phpfastcache\Exceptions\{
21
-  PhpfastcacheDeprecatedException, PhpfastcacheDriverCheckException, PhpfastcacheDriverNotFoundException, PhpfastcacheInstanceNotFoundException, PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidConfigurationException, PhpfastcacheLogicException, PhpfastcacheUnsupportedOperationException
21
+    PhpfastcacheDeprecatedException, PhpfastcacheDriverCheckException, PhpfastcacheDriverNotFoundException, PhpfastcacheInstanceNotFoundException, PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidConfigurationException, PhpfastcacheLogicException, PhpfastcacheUnsupportedOperationException
22 22
 };
23 23
 use Phpfastcache\Util\ClassNamespaceResolverTrait;
24 24
 
@@ -102,8 +102,8 @@  discard block
 block discarded – undo
102 102
         if (is_array($config)) {
103 103
             $config = new ConfigurationOption($config);
104 104
             trigger_error(
105
-              'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead',
106
-              E_USER_DEPRECATED
105
+                'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead',
106
+                E_USER_DEPRECATED
107 107
             );
108 108
         }elseif ($config === null){
109 109
             $config = self::getDefaultConfig();
@@ -304,27 +304,27 @@  discard block
 block discarded – undo
304 304
     {
305 305
         trigger_error(sprintf('Method "%s" is deprecated as of the V7 and will be removed soon or later, use CacheManager::getDriverList() instead.', __METHOD__), E_USER_DEPRECATED);
306 306
         return [
307
-          'Apc',
308
-          'Apcu',
309
-          'Cassandra',
310
-          'Couchbase',
311
-          'Couchdb',
312
-          'Devnull',
313
-          'Files',
314
-          'Leveldb',
315
-          'Memcache',
316
-          'Memcached',
317
-          'Memstatic',
318
-          'Mongodb',
319
-          'Predis',
320
-          'Redis',
321
-          'Riak',
322
-          'Ssdb',
323
-          'Sqlite',
324
-          'Wincache',
325
-          'Xcache',
326
-          'Zenddisk',
327
-          'Zendshm',
307
+            'Apc',
308
+            'Apcu',
309
+            'Cassandra',
310
+            'Couchbase',
311
+            'Couchdb',
312
+            'Devnull',
313
+            'Files',
314
+            'Leveldb',
315
+            'Memcache',
316
+            'Memcached',
317
+            'Memstatic',
318
+            'Mongodb',
319
+            'Predis',
320
+            'Redis',
321
+            'Riak',
322
+            'Ssdb',
323
+            'Sqlite',
324
+            'Wincache',
325
+            'Xcache',
326
+            'Zenddisk',
327
+            'Zendshm',
328 328
         ];
329 329
     }
330 330
 
@@ -336,9 +336,9 @@  discard block
 block discarded – undo
336 336
     {
337 337
         trigger_error(sprintf('Method "%s" is deprecated as of the V7 and will be removed soon or later, use CacheManager::getDriverList() instead.', __METHOD__), E_USER_DEPRECATED);
338 338
         return \array_merge(self::getStaticSystemDrivers(), [
339
-          'Devtrue',
340
-          'Devfalse',
341
-          'Cookie',
339
+            'Devtrue',
340
+            'Devfalse',
341
+            'Cookie',
342 342
         ]);
343 343
     }
344 344
 
Please login to merge, or discard this patch.