Skip to content

Commit aa3b331

Browse files
committed
Remove unused trait
1 parent 3918dcf commit aa3b331

File tree

8 files changed

+0
-23
lines changed

8 files changed

+0
-23
lines changed

tests/Tests/ORM/ConfigurationTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Doctrine\Tests\ORM;
66

7-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
87
use Doctrine\ORM\Cache\CacheConfiguration;
98
use Doctrine\ORM\Configuration;
109
use Doctrine\ORM\EntityRepository;
@@ -26,8 +25,6 @@
2625
*/
2726
class ConfigurationTest extends TestCase
2827
{
29-
use VerifyDeprecations;
30-
3128
private Configuration $configuration;
3229

3330
protected function setUp(): void

tests/Tests/ORM/EntityManagerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Doctrine\Common\EventManager;
88
use Doctrine\DBAL\Connection;
9-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
109
use Doctrine\ORM\Configuration;
1110
use Doctrine\ORM\EntityManagerInterface;
1211
use Doctrine\ORM\Exception\EntityManagerClosed;
@@ -27,8 +26,6 @@
2726

2827
class EntityManagerTest extends OrmTestCase
2928
{
30-
use VerifyDeprecations;
31-
3229
private EntityManagerMock $entityManager;
3330

3431
protected function setUp(): void

tests/Tests/ORM/Functional/NativeQueryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Doctrine\DBAL\ArrayParameterType;
99
use Doctrine\DBAL\Platforms\AbstractPlatform;
1010
use Doctrine\DBAL\Types\Type as DBALType;
11-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
1211
use Doctrine\ORM\Internal\Hydration\HydrationException;
1312
use Doctrine\ORM\Internal\SQLResultCasing;
1413
use Doctrine\ORM\PersistentCollection;
@@ -33,7 +32,6 @@
3332
class NativeQueryTest extends OrmFunctionalTestCase
3433
{
3534
use SQLResultCasing;
36-
use VerifyDeprecations;
3735

3836
private AbstractPlatform|null $platform = null;
3937

tests/Tests/ORM/Functional/Ticket/DDC117Test.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Doctrine\Tests\ORM\Functional\Ticket;
66

7-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
87
use Doctrine\ORM\UnitOfWork;
98
use Doctrine\Tests\Models\DDC117\DDC117ApproveChanges;
109
use Doctrine\Tests\Models\DDC117\DDC117Article;
@@ -23,8 +22,6 @@
2322
#[Group('DDC-117')]
2423
class DDC117Test extends OrmFunctionalTestCase
2524
{
26-
use VerifyDeprecations;
27-
2825
private DDC117Article|null $article1;
2926

3027
private DDC117Article|null $article2;

tests/Tests/ORM/Mapping/BasicInheritanceMappingTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Doctrine\Tests\ORM\Mapping;
66

7-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
87
use Doctrine\ORM\EntityRepository;
98
use Doctrine\ORM\Id\SequenceGenerator as IdSequenceGenerator;
109
use Doctrine\ORM\Mapping\ClassMetadata;
@@ -42,8 +41,6 @@
4241

4342
class BasicInheritanceMappingTest extends OrmTestCase
4443
{
45-
use VerifyDeprecations;
46-
4744
private ClassMetadataFactory $cmf;
4845

4946
protected function setUp(): void

tests/Tests/ORM/Mapping/ClassMetadataFactoryTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Doctrine\DBAL\Driver;
1010
use Doctrine\DBAL\Platforms\AbstractPlatform;
1111
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
12-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
1312
use Doctrine\ORM\Configuration;
1413
use Doctrine\ORM\EntityManagerInterface;
1514
use Doctrine\ORM\Event\OnClassMetadataNotFoundEventArgs;
@@ -55,8 +54,6 @@
5554

5655
class ClassMetadataFactoryTest extends OrmTestCase
5756
{
58-
use VerifyDeprecations;
59-
6057
public function testGetMetadataForSingleClass(): void
6158
{
6259
$platform = $this->createMock(AbstractPlatform::class);

tests/Tests/ORM/Query/QueryTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Doctrine\DBAL\ParameterType;
1616
use Doctrine\DBAL\Platforms\AbstractPlatform;
1717
use Doctrine\DBAL\Types\Types;
18-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
1918
use Doctrine\ORM\Query\Parameter;
2019
use Doctrine\ORM\Query\QueryException;
2120
use Doctrine\ORM\UnitOfWork;
@@ -40,8 +39,6 @@
4039

4140
class QueryTest extends OrmTestCase
4241
{
43-
use VerifyDeprecations;
44-
4542
/** @var EntityManagerMock */
4643
protected $entityManager;
4744

tests/Tests/ORM/UnitOfWorkTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Doctrine\DBAL\Driver\Statement;
1212
use Doctrine\DBAL\Exception;
1313
use Doctrine\DBAL\Platforms\AbstractPlatform;
14-
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
1514
use Doctrine\ORM\EntityNotFoundException;
1615
use Doctrine\ORM\Exception\EntityIdentityCollisionException;
1716
use Doctrine\ORM\Mapping\ClassMetadata;
@@ -46,8 +45,6 @@
4645
*/
4746
class UnitOfWorkTest extends OrmTestCase
4847
{
49-
use VerifyDeprecations;
50-
5148
/**
5249
* SUT
5350
*/

0 commit comments

Comments
 (0)