Skip to content

Commit f60ac58

Browse files
committed
chore: update deprecation notice for MYSQL_ATTR_INIT_COMMAND in ConnectionConfig
1 parent b1a9cd7 commit f60ac58

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Config/MySQL/ConnectionConfig.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ abstract class ConnectionConfig extends BaseConnectionConfig
2727
\PDO::ATTR_CASE => \PDO::CASE_NATURAL,
2828
\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION,
2929
/**
30-
* @see PDO::MYSQL_ATTR_INIT_COMMAND
31-
* @see \Pdo\Mysql::ATTR_INIT_COMMAND
32-
*
30+
* @see \PDO::MYSQL_ATTR_INIT_COMMAND is deprecated since PHP 8.5
31+
* @todo Replace with {@see \Pdo\Mysql::ATTR_INIT_COMMAND} when minimum PHP version is 8.5
3332
* @todo Should be moved into common driver settings?
3433
*/
3534
1002 => 'SET NAMES "UTF8"',

0 commit comments

Comments
 (0)