diff --git a/src/Symfony/Bundle/DoctrineBundle/Command/ImportMappingDoctrineCommand.php b/src/Symfony/Bundle/DoctrineBundle/Command/ImportMappingDoctrineCommand.php index eeb5408823..b5dc5e3812 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Command/ImportMappingDoctrineCommand.php +++ b/src/Symfony/Bundle/DoctrineBundle/Command/ImportMappingDoctrineCommand.php @@ -89,7 +89,7 @@ EOT $className = $class->name; $class->name = $bundle->getNamespace().'\\Entity\\'.$className; if ('annotation' === $type) { - $path = $destPath.'/'.$className.'.orm.php'; + $path = $destPath.'/'.$className.'.php'; } else { $path = $destPath.'/'.$className.'.orm.'.$type; }