@@ -18,7 +18,7 @@ discard block |
||
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 | |
@@ -114,8 +114,8 @@ discard block |
||
114 | 114 | if (\is_array($config)) { |
115 | 115 | $config = new ConfigurationOption($config); |
116 | 116 | trigger_error( |
117 | - 'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead', |
|
118 | - E_USER_DEPRECATED |
|
117 | + 'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead', |
|
118 | + E_USER_DEPRECATED |
|
119 | 119 | ); |
120 | 120 | }elseif ($config === null){ |
121 | 121 | $config = self::getDefaultConfig(); |
@@ -318,27 +318,27 @@ discard block |
||
318 | 318 | { |
319 | 319 | 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); |
320 | 320 | return [ |
321 | - 'Apc', |
|
322 | - 'Apcu', |
|
323 | - 'Cassandra', |
|
324 | - 'Couchbase', |
|
325 | - 'Couchdb', |
|
326 | - 'Devnull', |
|
327 | - 'Files', |
|
328 | - 'Leveldb', |
|
329 | - 'Memcache', |
|
330 | - 'Memcached', |
|
331 | - 'Memstatic', |
|
332 | - 'Mongodb', |
|
333 | - 'Predis', |
|
334 | - 'Redis', |
|
335 | - 'Riak', |
|
336 | - 'Ssdb', |
|
337 | - 'Sqlite', |
|
338 | - 'Wincache', |
|
339 | - 'Xcache', |
|
340 | - 'Zenddisk', |
|
341 | - 'Zendshm', |
|
321 | + 'Apc', |
|
322 | + 'Apcu', |
|
323 | + 'Cassandra', |
|
324 | + 'Couchbase', |
|
325 | + 'Couchdb', |
|
326 | + 'Devnull', |
|
327 | + 'Files', |
|
328 | + 'Leveldb', |
|
329 | + 'Memcache', |
|
330 | + 'Memcached', |
|
331 | + 'Memstatic', |
|
332 | + 'Mongodb', |
|
333 | + 'Predis', |
|
334 | + 'Redis', |
|
335 | + 'Riak', |
|
336 | + 'Ssdb', |
|
337 | + 'Sqlite', |
|
338 | + 'Wincache', |
|
339 | + 'Xcache', |
|
340 | + 'Zenddisk', |
|
341 | + 'Zendshm', |
|
342 | 342 | ]; |
343 | 343 | } |
344 | 344 | |
@@ -350,9 +350,9 @@ discard block |
||
350 | 350 | { |
351 | 351 | 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); |
352 | 352 | return \array_merge(self::getStaticSystemDrivers(), [ |
353 | - 'Devtrue', |
|
354 | - 'Devfalse', |
|
355 | - 'Cookie', |
|
353 | + 'Devtrue', |
|
354 | + 'Devfalse', |
|
355 | + 'Cookie', |
|
356 | 356 | ]); |
357 | 357 | } |
358 | 358 | |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | |
431 | 431 | if(!\class_exists($className)){ |
432 | 432 | throw new PhpfastcacheInvalidArgumentException( |
433 | - sprintf("Can't add '%s' because the class '%s' does not exists", $driverName, $className) |
|
433 | + sprintf("Can't add '%s' because the class '%s' does not exists", $driverName, $className) |
|
434 | 434 | ); |
435 | 435 | } |
436 | 436 | |
@@ -483,7 +483,7 @@ discard block |
||
483 | 483 | |
484 | 484 | if(!\class_exists($className)){ |
485 | 485 | throw new PhpfastcacheInvalidArgumentException( |
486 | - sprintf("Can't override '%s' because the class '%s' does not exists", $driverName, $className) |
|
486 | + sprintf("Can't override '%s' because the class '%s' does not exists", $driverName, $className) |
|
487 | 487 | ); |
488 | 488 | } |
489 | 489 |