fixed line indention coding standards
This commit is contained in:
parent
eee2b74c08
commit
e815a7eb2e
@ -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;
|
||||||
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user