| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | 4 | public function __construct($dsn, $username = null, $passwd = null, $options = []) |
|
| 32 | { |
||
| 33 | 4 | trigger_error( |
|
| 34 | 4 | "The API interface `Crate\PDO\PDO` is deprecated and will be removed on one of the upcoming " . |
|
| 35 | 4 | "releases. Please use `Crate\PDO\PDOCrateDB` instead.", |
|
| 36 | 4 | E_USER_DEPRECATED |
|
| 37 | 4 | ); |
|
| 38 | 4 | parent::__construct($dsn, $username, $passwd, $options); |
|
| 39 | } |
||
| 41 |