Passed
Push — master ( c82647...c877fa )
by Georges
11:01
created

Config::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 *
5
 * This file is part of Phpfastcache.
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For full copyright and license information, please see the docs/CREDITS.txt and LICENCE files.
10
 *
11
 * @author Georges.L (Geolim4)  <[email protected]>
12
 * @author Contributors  https://github.com/PHPSocialNetwork/phpfastcache/graphs/contributors
13
 */
14
15
declare(strict_types=1);
16
17
namespace Phpfastcache\Drivers\Memstatic;
18
19
/**
20
 * @deprecated Memstatic driver has changed its name, it is now called "Memory".
21
 * @see \Phpfastcache\Drivers\Memory\Config
22
 */
23
class Config extends \Phpfastcache\Drivers\Memory\Config
24
{
25
    public function __construct(array $parameters = [])
26
    {
27
        trigger_error('Memstatic driver has changed its name, it is now called "Memory"', E_USER_DEPRECATED);
28
        parent::__construct($parameters);
29
    }
30
}
31