@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | foreach ($props as $name => $prop) { |
52 | 52 | $ident += 4; |
53 | 53 | $str .= str_repeat(' ', $ident) . '"' . $name . '": ' |
54 | - . $this->dump($prop) . ',' . PHP_EOL; |
|
54 | + . $this->dump($prop) . ',' . PHP_EOL; |
|
55 | 55 | $ident -= 4; |
56 | 56 | } |
57 | 57 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | |
64 | 64 | foreach ($obj as $k => $v) { |
65 | 65 | $str .= PHP_EOL . str_repeat(' ', $ident) . '"' |
66 | - . $k . '" => ' . $this->dump($v) . ','; |
|
66 | + . $k . '" => ' . $this->dump($v) . ','; |
|
67 | 67 | $some = true; |
68 | 68 | } |
69 | 69 |
@@ -291,8 +291,8 @@ discard block |
||
291 | 291 | |
292 | 292 | // FIXME: Order with composite keys might not be correct |
293 | 293 | $sql = 'SELECT ' . $columnName |
294 | - . ' FROM ' . $tableName |
|
295 | - . ' WHERE ' . implode(' = ? AND ', $identifier) . ' = ?'; |
|
294 | + . ' FROM ' . $tableName |
|
295 | + . ' WHERE ' . implode(' = ? AND ', $identifier) . ' = ?'; |
|
296 | 296 | |
297 | 297 | $flattenedId = $this->em->getIdentifierFlattener()->flattenIdentifier($versionedClass, $id); |
298 | 298 | $versionType = $versionProperty->getType(); |
@@ -506,8 +506,8 @@ discard block |
||
506 | 506 | } |
507 | 507 | |
508 | 508 | $sql = 'UPDATE ' . $quotedTableName |
509 | - . ' SET ' . implode(', ', $set) |
|
510 | - . ' WHERE ' . implode(' = ? AND ', $where) . ' = ?'; |
|
509 | + . ' SET ' . implode(', ', $set) |
|
510 | + . ' WHERE ' . implode(' = ? AND ', $where) . ' = ?'; |
|
511 | 511 | |
512 | 512 | $result = $this->conn->executeUpdate($sql, $params, $types); |
513 | 513 | |
@@ -1633,9 +1633,9 @@ discard block |
||
1633 | 1633 | $lock = $this->getLockTablesSql($lockMode); |
1634 | 1634 | $where = ($conditionSql ? ' WHERE ' . $conditionSql : '') . ' '; |
1635 | 1635 | $sql = 'SELECT 1 ' |
1636 | - . $lock |
|
1637 | - . $where |
|
1638 | - . $lockSql; |
|
1636 | + . $lock |
|
1637 | + . $where |
|
1638 | + . $lockSql; |
|
1639 | 1639 | |
1640 | 1640 | list($params, $types) = $this->expandParameters($criteria); |
1641 | 1641 | |
@@ -2104,8 +2104,8 @@ discard block |
||
2104 | 2104 | $alias = $this->getSQLTableAlias($this->class->getTableName()); |
2105 | 2105 | |
2106 | 2106 | $sql = 'SELECT 1 ' |
2107 | - . $this->getLockTablesSql(null) |
|
2108 | - . ' WHERE ' . $this->getSelectConditionSQL($criteria); |
|
2107 | + . $this->getLockTablesSql(null) |
|
2108 | + . ' WHERE ' . $this->getSelectConditionSQL($criteria); |
|
2109 | 2109 | |
2110 | 2110 | list($params, $types) = $this->expandParameters($criteria); |
2111 | 2111 |
@@ -30,9 +30,9 @@ discard block |
||
30 | 30 | protected function configure() |
31 | 31 | { |
32 | 32 | $this->setName('orm:mapping:describe') |
33 | - ->addArgument('entityName', InputArgument::REQUIRED, 'Full or partial name of entity') |
|
34 | - ->setDescription('Display information about mapped objects') |
|
35 | - ->setHelp(<<<'EOT' |
|
33 | + ->addArgument('entityName', InputArgument::REQUIRED, 'Full or partial name of entity') |
|
34 | + ->setDescription('Display information about mapped objects') |
|
35 | + ->setHelp(<<<'EOT' |
|
36 | 36 | The %command.full_name% command describes the metadata for the given full or partial entity class name. |
37 | 37 | |
38 | 38 | <info>%command.full_name%</info> My\Namespace\Entity\MyEntity |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | <info>%command.full_name%</info> MyEntity |
43 | 43 | EOT |
44 | - ); |
|
44 | + ); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -121,8 +121,8 @@ discard block |
||
121 | 121 | private function getMappedEntities(EntityManagerInterface $entityManager) |
122 | 122 | { |
123 | 123 | $entityClassNames = $entityManager->getConfiguration() |
124 | - ->getMetadataDriverImpl() |
|
125 | - ->getAllClassNames(); |
|
124 | + ->getMetadataDriverImpl() |
|
125 | + ->getAllClassNames(); |
|
126 | 126 | |
127 | 127 | if (! $entityClassNames) { |
128 | 128 | throw new \InvalidArgumentException( |
@@ -21,13 +21,13 @@ discard block |
||
21 | 21 | protected function configure() |
22 | 22 | { |
23 | 23 | $this->setName('orm:info') |
24 | - ->setDescription('Show basic information about all mapped entities') |
|
25 | - ->setHelp(<<<'EOT' |
|
24 | + ->setDescription('Show basic information about all mapped entities') |
|
25 | + ->setHelp(<<<'EOT' |
|
26 | 26 | The <info>%command.name%</info> shows basic information about which |
27 | 27 | entities exist and possibly if their mapping information contains errors or |
28 | 28 | not. |
29 | 29 | EOT |
30 | - ); |
|
30 | + ); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -41,8 +41,8 @@ discard block |
||
41 | 41 | $entityManager = $this->getHelper('em')->getEntityManager(); |
42 | 42 | |
43 | 43 | $entityClassNames = $entityManager->getConfiguration() |
44 | - ->getMetadataDriverImpl() |
|
45 | - ->getAllClassNames(); |
|
44 | + ->getMetadataDriverImpl() |
|
45 | + ->getAllClassNames(); |
|
46 | 46 | |
47 | 47 | if (! $entityClassNames) { |
48 | 48 | $ui->caution( |