From 16357c56660aff8b286e8f7186d1e46f4ee3f4fe Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 24 Aug 2021 04:59:12 +0200 Subject: [PATCH] Fix references to deprecated DBALException Signed-off-by: Alexander M. Turek --- lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php | 2 +- lib/Doctrine/ORM/Persisters/Collection/OneToManyPersister.php | 2 +- tests/Doctrine/Tests/ORM/Functional/SchemaValidatorTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php b/lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php index 01e1e78d3bd..cd840de64ef 100644 --- a/lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php +++ b/lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php @@ -6,7 +6,7 @@ use BadMethodCallException; use Doctrine\Common\Collections\Criteria; -use Doctrine\DBAL\DBALException; +use Doctrine\DBAL\Exception as DBALException; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\PersistentCollection; use Doctrine\ORM\Persisters\SqlValueVisitor; diff --git a/lib/Doctrine/ORM/Persisters/Collection/OneToManyPersister.php b/lib/Doctrine/ORM/Persisters/Collection/OneToManyPersister.php index 20f62d47696..26dba715b6d 100644 --- a/lib/Doctrine/ORM/Persisters/Collection/OneToManyPersister.php +++ b/lib/Doctrine/ORM/Persisters/Collection/OneToManyPersister.php @@ -6,7 +6,7 @@ use BadMethodCallException; use Doctrine\Common\Collections\Criteria; -use Doctrine\DBAL\DBALException; +use Doctrine\DBAL\Exception as DBALException; use Doctrine\DBAL\Types\Type; use Doctrine\ORM\PersistentCollection; use Doctrine\ORM\Utility\PersisterHelper; diff --git a/tests/Doctrine/Tests/ORM/Functional/SchemaValidatorTest.php b/tests/Doctrine/Tests/ORM/Functional/SchemaValidatorTest.php index 7ca51439525..6871df64e37 100644 --- a/tests/Doctrine/Tests/ORM/Functional/SchemaValidatorTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/SchemaValidatorTest.php @@ -4,7 +4,7 @@ namespace Doctrine\Tests\ORM\Functional; -use Doctrine\DBAL\DBALException; +use Doctrine\DBAL\Exception as DBALException; use Doctrine\DBAL\Types\Type as DBALType; use Doctrine\ORM\Tools\SchemaValidator; use Doctrine\Tests\DbalTypes\CustomIdObjectType;