Skip to content

Commit ff78148

Browse files
authored
EntityRegenerator - no need to set annotations in tests (#1260)
1 parent 6ee334d commit ff78148

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Doctrine/EntityRegenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private function createClassManipulator(string $classPath): ClassSourceManipulat
202202
sourceCode: $this->fileManager->getFileContents($classPath),
203203
overwrite: $this->overwrite,
204204
// if properties need to be generated then, by definition,
205-
// some non-annotation config is being used, and so, the
205+
// some non-annotation config is being used (e.g. XML), and so, the
206206
// properties should not have annotations added to them
207207
useAttributesForDoctrineMapping: false
208208
);

tests/Doctrine/EntityRegeneratorTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
159159
'utf8' => true,
160160
],
161161
'http_method_override' => false,
162-
'annotations' => [
163-
'enabled' => true,
164-
],
165162
]);
166163

167164
$dbal = [

0 commit comments

Comments
 (0)