We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845fdf0 commit befcabcCopy full SHA for befcabc
tests/Doctrine/EntityRegeneratorTest.php
@@ -38,6 +38,17 @@ class EntityRegeneratorTest extends TestCase
38
*/
39
public function testRegenerateEntities(string $expectedDirName, bool $overwrite)
40
{
41
+ /*
42
+ * Prior to symfony/doctrine-bridge 5.0 (which require
43
+ * PHP 7.3), the deprecated Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain
44
+ * is used when our test container. This shows up as a *direct*
45
+ * deprecation. We're choosing to silence it here, instead of
46
+ * ignoring all direct deprecations.
47
+ */
48
+ if (\PHP_VERSION_ID < 70300) {
49
+ $this->setGroups(['@legacy']);
50
+ }
51
+
52
$kernel = new TestEntityRegeneratorKernel('dev', true);
53
$this->doTestRegeneration(
54
__DIR__.'/fixtures/source_project',
0 commit comments