Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
14 | protected static function deprecatedClass(string $new_class, string $old_class = null): void |
||
15 | { |
||
16 | $old_class = static::getDeprecatedNamespace($old_class); |
||
17 | |||
18 | static::deprecated( |
||
19 | 'The %s class has been deprecated and will be removed in version %s, use %s instead.', |
||
20 | $old_class, |
||
21 | static::$next_version, |
||
22 | $new_class |
||
23 | ); |
||
50 |