Skip to content

Commit 5ee2005

Browse files
committed
fixup! replace WithoutErrorHandler
1 parent daf466c commit 5ee2005

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

tests/DependencyInjection/Compiler/CacheCompatibilityPassTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Doctrine\ORM\Cache\Region;
1010
use Doctrine\ORM\EntityManagerInterface;
1111
use PHPUnit\Framework\Attributes\DoesNotPerformAssertions;
12-
use PHPUnit\Framework\Attributes\WithoutErrorHandler;
1312
use Symfony\Component\Cache\Adapter\ArrayAdapter;
1413
use Symfony\Component\Config\Loader\LoaderInterface;
1514
use Symfony\Component\DependencyInjection\ContainerBuilder;
@@ -108,7 +107,6 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
108107
})->boot();
109108
}
110109

111-
#[WithoutErrorHandler]
112110
public function testMetadataCacheConfigUsingNonPsr6ServiceDefinedByApplication(): void
113111
{
114112
$this->expectDeprecationWithIdentifier('https://github.com/doctrine/DoctrineBundle/pull/1365');

tests/DependencyInjection/DoctrineExtensionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ class DoctrineExtensionTest extends TestCase
7474
* https://github.com/doctrine/orm/pull/7953 needed, otherwise ORM classes
7575
* we define services for trigger deprecations
7676
*/
77-
#[WithoutErrorHandler]
7877
public function testAutowiringAlias(): void
7978
{
8079
if (! interface_exists(EntityManagerInterface::class)) {

0 commit comments

Comments
 (0)