Skip to content

Commit a4eca3a

Browse files
committed
Merge remote-tracking branch 'origin/2.17.x' into 3.0.x
2 parents f20197f + 35c01af commit a4eca3a

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
bootstrap="tests/bootstrap.php"
43
colors="true"
54
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
65
displayDetailsOnTestsThatTriggerDeprecations="true"

tests/Command/Proxy/InfoDoctrineCommandTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use Symfony\Component\Console\Tester\CommandTester;
1212

1313
use function interface_exists;
14+
use function restore_exception_handler;
1415

1516
class InfoDoctrineCommandTest extends TestCase
1617
{
@@ -38,5 +39,7 @@ public function testExecute(): void
3839
'Found 3 mapped entities',
3940
$commandTester->getDisplay(),
4041
);
42+
43+
restore_exception_handler();
4144
}
4245
}

tests/RegistryTest.php

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

1717
use function assert;
1818
use function interface_exists;
19+
use function restore_exception_handler;
1920

2021
class RegistryTest extends TestCase
2122
{
@@ -146,5 +147,7 @@ public function testIdentityMapsStayConsistentAfterReset(): void
146147
$this->assertFalse($repository->getEntityManager()->getUnitOfWork()->isEntityScheduled($entity));
147148

148149
$entityManager->flush();
150+
151+
restore_exception_handler();
149152
}
150153
}

tests/bootstrap.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)