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 |
||
32 | 2 | public function getInterface(): string |
|
33 | { |
||
34 | 2 | $message = $this->message ?? \sprintf( |
|
35 | 2 | 'Using `%s` outside of the `%s` scope is deprecated and will be impossible in version %s.', |
|
36 | 2 | $this->interface, |
|
37 | 2 | $this->scope, |
|
38 | 2 | $this->version |
|
39 | 2 | ); |
|
40 | |||
41 | 2 | @trigger_error($message, \E_USER_DEPRECATED); |
|
42 | |||
43 | 2 | return parent::getInterface(); |
|
44 | } |
||
46 |