Completed
Push — master ( 517741...718c02 )
by Georges
16s queued 13s
created

Config   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 8
c 2
b 0
f 0
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 11 1
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\Config;
18
19
/**
20
 * @deprecated This class is deprecated and will be removed in v10, use ConfigurationOption instead
21
 */
22
class Config extends ConfigurationOption
23
{
24
    public function __construct(array $parameters = [])
25
    {
26
        \trigger_error(
27
            \sprintf(
28
                '%s class is deprecated and will be removed in v10, use %s instead.',
29
                self::class,
30
                ConfigurationOption::class
31
            ),
32
            \E_USER_DEPRECATED
33
        );
34
        parent::__construct($parameters);
35
    }
36
}
37