Skip to content

Commit 0fca04e

Browse files
committed
remove legacy comment
1 parent ae29513 commit 0fca04e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/Maker/MakeEntityTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,6 @@ private function createMakeEntityTest(bool $withDatabase = true): MakerTestDetai
2929
{
3030
return $this->createMakerTest()
3131
->preRun(function (MakerTestRunner $runner) use ($withDatabase) {
32-
$config = $runner->readYaml('config/packages/doctrine.yaml');
33-
34-
/* @legacy Refactor when annotations are no longer supported. */
35-
// if (isset($config['doctrine']['orm']['mappings']['App']) && !$this->useAttributes($runner)) {
36-
// // Attributes are only supported w/ PHP 8, FrameworkBundle >=5.2,
37-
// // ORM >=2.9, & DoctrineBundle >=2.4
38-
// $runner->modifyYamlFile('config/packages/doctrine.yaml', function (array $data) {
39-
// $data['doctrine']['orm']['mappings']['App']['type'] = 'annotation';
40-
//
41-
// return $data;
42-
// });
43-
// }
44-
4532
if ($withDatabase) {
4633
$runner->configureDatabase();
4734
}

0 commit comments

Comments
 (0)