Unverified Commit e8510d10 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #4133 from morozov/driver-deprecation-fixes

Fix more issues introduced by the deprecation of driver classes
parents f42cab92 54b04e33
......@@ -2,6 +2,8 @@
namespace Doctrine\DBAL\Driver;
use Doctrine\DBAL\Driver\PDO\Exception;
/**
* @deprecated Use {@link Exception} instead
*
......
......@@ -2,7 +2,7 @@
namespace Doctrine\DBAL\Driver\PDOSqlsrv;
use Doctrine\DBAL\Driver\PDO\Connection as BaseStatement;
use Doctrine\DBAL\Driver\PDO\Connection as BaseConnection;
use Doctrine\DBAL\Driver\Result;
use Doctrine\DBAL\ParameterType;
use PDO;
......@@ -14,7 +14,7 @@ use function substr;
/**
* Sqlsrv Connection implementation.
*/
class Connection extends BaseStatement
class Connection extends BaseConnection
{
/**
* {@inheritdoc}
......
......@@ -103,6 +103,7 @@
<!-- See https://github.com/slevomat/coding-standard/issues/770 -->
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
<exclude-pattern>lib/Doctrine/DBAL/Driver/ExceptionConverterDriver.php</exclude-pattern>
<exclude-pattern>lib/Doctrine/DBAL/Driver/PDOException.php</exclude-pattern>
</rule>
<!-- see https://github.com/doctrine/dbal/issues/3377 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment