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 f003e99 commit 4d1c29eCopy full SHA for 4d1c29e
tests/Maker/MakeEntityTest.php
@@ -41,6 +41,15 @@ private function createMakeEntityTest(bool $withDatabase = true): MakerTestDetai
41
);
42
}
43
44
+ // type is no longer set by default in flex.. we cant use attributes in PHP < 8.0
45
+ if (isset($config['doctrine']['orm']['mappings']['App']) && !$this->useAttributes($runner)) {
46
+ $runner->modifyYamlFile('config/packages/doctrine.yaml', function (array $data) {
47
+ $data['doctrine']['orm']['mappings']['App']['type'] = 'annotation';
48
+
49
+ return $data;
50
+ });
51
+ }
52
53
if ($withDatabase) {
54
$runner->configureDatabase();
55
0 commit comments