driftphp / reactphp-dbal

DBAL for ReactPHP on top of Doctrine
https://driftphp.io
41 stars 6 forks source link

Fix/deprecations #27

Closed marinhekman closed 2 years ago

marinhekman commented 2 years ago

fixes deprecations notices below. And one "internal" notice.

Method "Doctrine\DBAL\Driver::connect()" might add "DriverConnection" as a native return type declaration in the future. Do the same in implementation "Drift\DBAL\Driver\Mysql\EmptyDoctrineMysqlDriver" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

Method "Doctrine\DBAL\Connection::quote()" might add "mixed" as a native return type declaration in the future. Do the same in child class "Drift\DBAL\Mock\MockedDBALConnection" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

Method "Doctrine\DBAL\Connection::lastInsertId()" might add "string|int|false" as a native return type declaration in the future. Do the same in child class "Drift\DBAL\Mock\MockedDBALConnection" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

Method "Doctrine\DBAL\Connection::beginTransaction()" might add "bool" as a native return type declaration in the future. Do the same in child class "Drift\DBAL\Mock\MockedDBALConnection" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

Method "Doctrine\DBAL\Connection::commit()" might add "bool" as a native return type declaration in the future. Do the same in child class "Drift\DBAL\Mock\MockedDBALConnection" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

Method "Doctrine\DBAL\Connection::rollBack()" might add "bool" as a native return type declaration in the future. Do the same in child class "Drift\DBAL\Mock\MockedDBALConnection" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

Method "Doctrine\DBAL\Driver::connect()" might add "DriverConnection" as a native return type declaration in the future. Do the same in implementation "Drift\DBAL\Mock\MockedDriver" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

Method "Doctrine\DBAL\Driver::getDatabasePlatform()" might add "AbstractPlatform" as a native return type declaration in the future. Do the same in implementation "Drift\DBAL\Mock\MockedDriver" now to avoid errors or add an explicit @return annotation to suppress this message.
\vendor\symfony\error-handler\DebugClassLoader.php@325

The "Doctrine\DBAL\Driver\AbstractException" class is considered internal. It may change without further notice. You should not use it from "Drift\DBAL\Driver\Exception".
\vendor\symfony\error-handler\DebugClassLoader.php@325
marinhekman commented 2 years ago

@mmoreram Another PR to review. 😅