Skip to content

Commit 35f91d2

Browse files
committed
replace WithoutErrorHandler
1 parent a5f1c46 commit 35f91d2

3 files changed

Lines changed: 0 additions & 7 deletions

File tree

tests/ConnectionFactoryTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Doctrine\DBAL\Driver;
99
use Doctrine\DBAL\Schema\DefaultSchemaManagerFactory;
1010
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
11-
use PHPUnit\Framework\Attributes\WithoutErrorHandler;
1211

1312
use function array_intersect_key;
1413

@@ -62,7 +61,6 @@ public function testDefaultCollationMySql(): void
6261
);
6362
}
6463

65-
#[WithoutErrorHandler]
6664
public function testCollateMapsToCollationForMySql(): void
6765
{
6866
$factory = new ConnectionFactory([]);
@@ -86,7 +84,6 @@ public function testCollateMapsToCollationForMySql(): void
8684
);
8785
}
8886

89-
#[WithoutErrorHandler]
9087
public function testConnectionOverrideOptions(): void
9188
{
9289
$params = [

tests/RegistryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Fixtures\Bundles\RepositoryServiceBundle\Repository\TestCustomClassRepoRepository;
1313
use InvalidArgumentException;
1414
use PHPUnit\Framework\Attributes\RequiresPhp;
15-
use PHPUnit\Framework\Attributes\WithoutErrorHandler;
1615
use ProxyManager\Proxy\ProxyInterface;
1716
use Symfony\Component\DependencyInjection\Container;
1817
use Symfony\Component\VarExporter\LazyObjectInterface;
@@ -120,7 +119,6 @@ public function testResetUnknownEntityManager(): void
120119
$registry->resetManager('default');
121120
}
122121

123-
#[WithoutErrorHandler]
124122
#[RequiresPhp('<8.4')]
125123
public function testReset(): void
126124
{

tests/UrlOverrideTest.php

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

55
use Doctrine\Bundle\DoctrineBundle\Tests\DependencyInjection\Fixtures\DbalTestKernel;
66
use PHPUnit\Framework\Attributes\DataProvider;
7-
use PHPUnit\Framework\Attributes\WithoutErrorHandler;
87

98
use function array_intersect_key;
109

@@ -14,7 +13,6 @@ class UrlOverrideTest extends TestCase
1413
* @param array<string, (bool|string|null)> $config
1514
* @param array<string, (bool|string|null)> $expectedParams
1615
*/
17-
#[WithoutErrorHandler]
1816
#[DataProvider('connectionDataProvider')]
1917
public function testConnectionConfiguration(array $config, array $expectedParams): void
2018
{

0 commit comments

Comments
 (0)