File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,6 @@ private function createMakeEntityTest(bool $withDatabase = true): MakerTestDetai
29
29
{
30
30
return $ this ->createMakerTest ()
31
31
->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
-
45
32
if ($ withDatabase ) {
46
33
$ runner ->configureDatabase ();
47
34
}
You can’t perform that action at this time.
0 commit comments