| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | 2 | public function getInterface(): string |
|
| 30 | { |
||
| 31 | 2 | $message = $this->message ?? \sprintf( |
|
| 32 | 2 | 'Using `%s` outside of the `%s` scope is deprecated and will be impossible in version %s.', |
|
| 33 | 2 | $this->interface, |
|
| 34 | 2 | $this->scope, |
|
| 35 | 2 | $this->version |
|
| 36 | 2 | ); |
|
| 37 | |||
| 38 | 2 | @trigger_error($message, \E_USER_DEPRECATED); |
|
| 39 | |||
| 40 | 2 | return parent::getInterface(); |
|
| 41 | } |
||
| 43 |