| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait Deprecation |
||
| 11 | { |
||
| 12 | protected static $next_version = '4.0'; |
||
| 13 | |||
| 14 | protected static function deprecatedClass(string $new_class): void |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | |||
| 26 | protected static function deprecatedMethod(string $old_method, string $new_class, string $new_method = null): void |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | protected static function getDeprecatedNamespace(): string |
||
| 41 | { |
||
| 42 | return static::class; |
||
| 43 | } |
||
| 44 | |||
| 45 | protected static function deprecated(string $message, ...$args): void |
||
| 48 | } |
||
| 49 | } |
||
| 50 |