diff --git a/src/Doctrine/EntityRegenerator.php b/src/Doctrine/EntityRegenerator.php index 77e6ce02e..3b3aea7b7 100644 --- a/src/Doctrine/EntityRegenerator.php +++ b/src/Doctrine/EntityRegenerator.php @@ -202,7 +202,7 @@ private function createClassManipulator(string $classPath): ClassSourceManipulat sourceCode: $this->fileManager->getFileContents($classPath), overwrite: $this->overwrite, // if properties need to be generated then, by definition, - // some non-annotation config is being used, and so, the + // some non-annotation config is being used (e.g. XML), and so, the // properties should not have annotations added to them useAttributesForDoctrineMapping: false ); diff --git a/tests/Doctrine/EntityRegeneratorTest.php b/tests/Doctrine/EntityRegeneratorTest.php index ec9760e58..e59f3dec3 100644 --- a/tests/Doctrine/EntityRegeneratorTest.php +++ b/tests/Doctrine/EntityRegeneratorTest.php @@ -159,9 +159,6 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load 'utf8' => true, ], 'http_method_override' => false, - 'annotations' => [ - 'enabled' => true, - ], ]); $dbal = [