fixed line indention coding standards

This commit is contained in:
Dennis Benkert 2010-04-07 22:13:27 +02:00 committed by Fabien Potencier
parent eee2b74c08
commit e815a7eb2e
2 changed files with 6 additions and 6 deletions

View File

@ -53,8 +53,8 @@ class XmlFileLoader extends FileLoader
switch ($node->tagName) switch ($node->tagName)
{ {
case 'route': case 'route':
$this->parseRoute($collection, $node, $path); $this->parseRoute($collection, $node, $path);
break; break;
case 'import': case 'import':
$this->parseImport($collection, $node, $path); $this->parseImport($collection, $node, $path);
break; break;

View File

@ -103,9 +103,9 @@ Now you have a new entity and your database has been updated.
</entity> </entity>
</doctrine-mapping>', </doctrine-mapping>',
$fullEntityClassName, $fullEntityClassName,
str_replace('\\', '_', strtolower($entity)) str_replace('\\', '_', strtolower($entity))
); );
if (!is_dir($dir = dirname($path))) if (!is_dir($dir = dirname($path)))
{ {
@ -115,4 +115,4 @@ Now you have a new entity and your database has been updated.
file_put_contents($path, $xml); file_put_contents($path, $xml);
$this->runCommand('doctrine:build-entities'); $this->runCommand('doctrine:build-entities');
} }
} }