@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | $size = 500; |
140 | 140 | $startPersist = microtime(true); |
141 | 141 | |
142 | - echo PHP_EOL . $label; |
|
142 | + echo PHP_EOL.$label; |
|
143 | 143 | |
144 | 144 | for ($i = 0; $i < $size; $i++) { |
145 | 145 | $em->persist(new Country(sprintf('Country %d', $i))); |
@@ -173,13 +173,13 @@ discard block |
||
173 | 173 | $startPersist = microtime(true); |
174 | 174 | $country = new Country('Country'); |
175 | 175 | |
176 | - echo PHP_EOL . $label; |
|
176 | + echo PHP_EOL.$label; |
|
177 | 177 | |
178 | 178 | $em->persist($country); |
179 | 179 | $em->flush(); |
180 | 180 | |
181 | 181 | for ($i = 0; $i < $size / 2; $i++) { |
182 | - $state = new State('State ' . $i, $country); |
|
182 | + $state = new State('State '.$i, $country); |
|
183 | 183 | |
184 | 184 | $em->persist($state); |
185 | 185 | |
@@ -228,10 +228,10 @@ discard block |
||
228 | 228 | $countries = []; |
229 | 229 | $startPersist = microtime(true); |
230 | 230 | |
231 | - echo PHP_EOL . $label; |
|
231 | + echo PHP_EOL.$label; |
|
232 | 232 | |
233 | 233 | for ($i = 0; $i < $size; $i++) { |
234 | - $country = new Country('Country ' . $i); |
|
234 | + $country = new Country('Country '.$i); |
|
235 | 235 | |
236 | 236 | $em->persist($country); |
237 | 237 | |
@@ -263,10 +263,10 @@ discard block |
||
263 | 263 | $startPersist = microtime(true); |
264 | 264 | $rep = $em->getRepository(Country::class); |
265 | 265 | |
266 | - echo PHP_EOL . $label; |
|
266 | + echo PHP_EOL.$label; |
|
267 | 267 | |
268 | 268 | for ($i = 0; $i < $size; $i++) { |
269 | - $em->persist(new Country('Country ' . $i)); |
|
269 | + $em->persist(new Country('Country '.$i)); |
|
270 | 270 | } |
271 | 271 | |
272 | 272 | $em->flush(); |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | |
307 | 307 | $queryCount = $this->getCurrentQueryCount(); |
308 | 308 | self::assertFalse($user->articles->contains($article)); |
309 | - self::assertEquals($queryCount+1, $this->getCurrentQueryCount(), 'Checking for contains of persisted entity should cause one query to be executed.'); |
|
309 | + self::assertEquals($queryCount + 1, $this->getCurrentQueryCount(), 'Checking for contains of persisted entity should cause one query to be executed.'); |
|
310 | 310 | self::assertFalse($user->articles->isInitialized(), 'Post-Condition: Collection is not initialized.'); |
311 | 311 | |
312 | 312 | // Test One to Many existence with state managed |
@@ -473,7 +473,7 @@ discard block |
||
473 | 473 | |
474 | 474 | $queryCount = $this->getCurrentQueryCount(); |
475 | 475 | self::assertTrue($group->users->contains($user)); |
476 | - self::assertEquals($queryCount+1, $this->getCurrentQueryCount(), 'Checking for contains of managed entity should cause one query to be executed.'); |
|
476 | + self::assertEquals($queryCount + 1, $this->getCurrentQueryCount(), 'Checking for contains of managed entity should cause one query to be executed.'); |
|
477 | 477 | self::assertFalse($user->groups->isInitialized(), 'Post-Condition: Collection is not initialized.'); |
478 | 478 | |
479 | 479 | $newUser = new CmsUser(); |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function testIssue2059() : void |
31 | 31 | { |
32 | - if (! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
32 | + if ( ! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
33 | 33 | $this->markTestSkipped('Platform does not support foreign keys.'); |
34 | 34 | } |
35 | 35 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | public function testLoadMetadataFromDatabase() : void |
53 | 53 | { |
54 | - if (! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
54 | + if ( ! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
55 | 55 | $this->markTestSkipped('Platform does not support foreign keys.'); |
56 | 56 | } |
57 | 57 | |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | public function testLoadMetadataWithForeignKeyFromDatabase() : void |
91 | 91 | { |
92 | - if (! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
92 | + if ( ! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
93 | 93 | $this->markTestSkipped('Platform does not support foreign keys.'); |
94 | 94 | } |
95 | 95 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | |
123 | 123 | public function testDetectManyToManyTables() : void |
124 | 124 | { |
125 | - if (! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
125 | + if ( ! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
126 | 126 | $this->markTestSkipped('Platform does not support foreign keys.'); |
127 | 127 | } |
128 | 128 | |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | |
163 | 163 | public function testLoadMetadataFromDatabaseDetail() : void |
164 | 164 | { |
165 | - if (! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
165 | + if ( ! $this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
|
166 | 166 | $this->markTestSkipped('Platform does not support foreign keys.'); |
167 | 167 | } |
168 | 168 | |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | |
202 | 202 | // FIXME: Condition here is fugly. |
203 | 203 | // NOTE: PostgreSQL and SQL SERVER do not support UNSIGNED integer |
204 | - if (! $this->em->getConnection()->getDatabasePlatform() instanceof PostgreSqlPlatform && |
|
204 | + if ( ! $this->em->getConnection()->getDatabasePlatform() instanceof PostgreSqlPlatform && |
|
205 | 205 | ! $this->em->getConnection()->getDatabasePlatform() instanceof SQLServerPlatform) { |
206 | 206 | self::assertNotNull($metadata->getProperty('columnUnsigned')); |
207 | 207 | |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | |
244 | 244 | self::assertNotEmpty($indexes['index1']['columns']); |
245 | 245 | self::assertEquals( |
246 | - ['column_index1','column_index2'], |
|
246 | + ['column_index1', 'column_index2'], |
|
247 | 247 | $indexes['index1']['columns'] |
248 | 248 | ); |
249 | 249 |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $this->em->flush(); |
31 | 31 | $this->em->clear(); |
32 | 32 | |
33 | - $dql = 'SELECT d FROM ' . DecimalModel::class . ' d'; |
|
33 | + $dql = 'SELECT d FROM '.DecimalModel::class.' d'; |
|
34 | 34 | $decimal = $this->em->createQuery($dql)->getSingleResult(); |
35 | 35 | |
36 | 36 | self::assertSame('0.15', $decimal->decimal); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $this->em->flush(); |
50 | 50 | $this->em->clear(); |
51 | 51 | |
52 | - $dql = 'SELECT b FROM ' . BooleanModel::class . ' b WHERE b.booleanField = true'; |
|
52 | + $dql = 'SELECT b FROM '.BooleanModel::class.' b WHERE b.booleanField = true'; |
|
53 | 53 | $bool = $this->em->createQuery($dql)->getSingleResult(); |
54 | 54 | |
55 | 55 | self::assertTrue($bool->booleanField); |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $this->em->flush(); |
60 | 60 | $this->em->clear(); |
61 | 61 | |
62 | - $dql = 'SELECT b FROM ' . BooleanModel::class . ' b WHERE b.booleanField = false'; |
|
62 | + $dql = 'SELECT b FROM '.BooleanModel::class.' b WHERE b.booleanField = false'; |
|
63 | 63 | $bool = $this->em->createQuery($dql)->getSingleResult(); |
64 | 64 | |
65 | 65 | self::assertFalse($bool->booleanField); |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $this->em->flush(); |
76 | 76 | $this->em->clear(); |
77 | 77 | |
78 | - $dql = 'SELECT s FROM ' . SerializationModel::class . ' s'; |
|
78 | + $dql = 'SELECT s FROM '.SerializationModel::class.' s'; |
|
79 | 79 | $serialize = $this->em->createQuery($dql)->getSingleResult(); |
80 | 80 | |
81 | 81 | self::assertSame(['foo' => 'bar', 'bar' => 'baz'], $serialize->array); |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | $this->em->flush(); |
91 | 91 | $this->em->clear(); |
92 | 92 | |
93 | - $dql = 'SELECT s FROM ' . SerializationModel::class . ' s'; |
|
93 | + $dql = 'SELECT s FROM '.SerializationModel::class.' s'; |
|
94 | 94 | $serialize = $this->em->createQuery($dql)->getSingleResult(); |
95 | 95 | |
96 | 96 | self::assertInstanceOf('stdClass', $serialize->object); |
@@ -167,12 +167,12 @@ |
||
167 | 167 | $this->em->clear(); |
168 | 168 | |
169 | 169 | $dateTimeDb = $this->em->createQueryBuilder() |
170 | - ->select('d') |
|
171 | - ->from(DateTimeModel::class, 'd') |
|
172 | - ->where('d.datetime = ?1') |
|
173 | - ->setParameter(1, $date, DBALType::DATETIME) |
|
174 | - ->getQuery() |
|
175 | - ->getSingleResult(); |
|
170 | + ->select('d') |
|
171 | + ->from(DateTimeModel::class, 'd') |
|
172 | + ->where('d.datetime = ?1') |
|
173 | + ->setParameter(1, $date, DBALType::DATETIME) |
|
174 | + ->getQuery() |
|
175 | + ->getSingleResult(); |
|
176 | 176 | |
177 | 177 | self::assertInstanceOf(DateTime::class, $dateTimeDb->datetime); |
178 | 178 | self::assertSame('2009-10-02 20:10:52', $dateTimeDb->datetime->format('Y-m-d H:i:s')); |
@@ -33,8 +33,8 @@ |
||
33 | 33 | |
34 | 34 | $configuration = $this->em->getConfiguration(); |
35 | 35 | |
36 | - $configuration->setProxyNamespace(__NAMESPACE__ . '\\ProxyTest'); |
|
37 | - $configuration->setProxyDir(__DIR__ . '/../../Proxies'); |
|
36 | + $configuration->setProxyNamespace(__NAMESPACE__.'\\ProxyTest'); |
|
37 | + $configuration->setProxyDir(__DIR__.'/../../Proxies'); |
|
38 | 38 | $configuration->setAutoGenerateProxyClasses(StaticProxyFactory::AUTOGENERATE_ALWAYS); |
39 | 39 | |
40 | 40 | $this->factory = new StaticProxyFactory($this->em, $configuration->buildGhostObjectFactory()); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | $iter = $paginator->getIterator(); |
135 | 135 | self::assertCount(9, $iter); |
136 | 136 | $result = iterator_to_array($iter); |
137 | - self::assertEquals($checkField . '0', $result[0]->{$checkField}); |
|
137 | + self::assertEquals($checkField.'0', $result[0]->{$checkField}); |
|
138 | 138 | } |
139 | 139 | |
140 | 140 | private function iterateWithOrderAscWithLimit($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField) |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | $iter = $paginator->getIterator(); |
151 | 151 | self::assertCount(3, $iter); |
152 | 152 | $result = iterator_to_array($iter); |
153 | - self::assertEquals($checkField . '0', $result[0]->{$checkField}); |
|
153 | + self::assertEquals($checkField.'0', $result[0]->{$checkField}); |
|
154 | 154 | } |
155 | 155 | |
156 | 156 | private function iterateWithOrderAscWithLimitAndOffset($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField) |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $iter = $paginator->getIterator(); |
167 | 167 | self::assertCount(3, $iter); |
168 | 168 | $result = iterator_to_array($iter); |
169 | - self::assertEquals($checkField . '3', $result[0]->{$checkField}); |
|
169 | + self::assertEquals($checkField.'3', $result[0]->{$checkField}); |
|
170 | 170 | } |
171 | 171 | |
172 | 172 | private function iterateWithOrderDesc($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField) |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $iter = $paginator->getIterator(); |
180 | 180 | self::assertCount(9, $iter); |
181 | 181 | $result = iterator_to_array($iter); |
182 | - self::assertEquals($checkField . '8', $result[0]->{$checkField}); |
|
182 | + self::assertEquals($checkField.'8', $result[0]->{$checkField}); |
|
183 | 183 | } |
184 | 184 | |
185 | 185 | private function iterateWithOrderDescWithLimit($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField) |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | $iter = $paginator->getIterator(); |
195 | 195 | self::assertCount(3, $iter); |
196 | 196 | $result = iterator_to_array($iter); |
197 | - self::assertEquals($checkField . '8', $result[0]->{$checkField}); |
|
197 | + self::assertEquals($checkField.'8', $result[0]->{$checkField}); |
|
198 | 198 | } |
199 | 199 | |
200 | 200 | private function iterateWithOrderDescWithLimitAndOffset($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField) |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | $iter = $paginator->getIterator(); |
210 | 210 | self::assertCount(3, $iter); |
211 | 211 | $result = iterator_to_array($iter); |
212 | - self::assertEquals($checkField . '5', $result[0]->{$checkField}); |
|
212 | + self::assertEquals($checkField.'5', $result[0]->{$checkField}); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | /** |
@@ -482,8 +482,8 @@ discard block |
||
482 | 482 | public function testIterateWithFetchJoinOneToManyWithOrderByColumnFromBoth($useOutputWalkers) : void |
483 | 483 | { |
484 | 484 | $dql = 'SELECT c, d FROM Doctrine\Tests\Models\Pagination\Company c JOIN c.departments d ORDER BY c.name'; |
485 | - $dqlAsc = $dql . ' ASC, d.name'; |
|
486 | - $dqlDesc = $dql . ' DESC, d.name'; |
|
485 | + $dqlAsc = $dql.' ASC, d.name'; |
|
486 | + $dqlDesc = $dql.' DESC, d.name'; |
|
487 | 487 | $this->iterateWithOrderAsc($useOutputWalkers, true, $dqlAsc, 'name'); |
488 | 488 | $this->iterateWithOrderDesc($useOutputWalkers, true, $dqlDesc, 'name'); |
489 | 489 | } |
@@ -491,8 +491,8 @@ discard block |
||
491 | 491 | public function testIterateWithFetchJoinOneToManyWithOrderByColumnFromBothWithLimitWithOutputWalker() : void |
492 | 492 | { |
493 | 493 | $dql = 'SELECT c, d FROM Doctrine\Tests\Models\Pagination\Company c JOIN c.departments d ORDER BY c.name'; |
494 | - $dqlAsc = $dql . ' ASC, d.name'; |
|
495 | - $dqlDesc = $dql . ' DESC, d.name'; |
|
494 | + $dqlAsc = $dql.' ASC, d.name'; |
|
495 | + $dqlDesc = $dql.' DESC, d.name'; |
|
496 | 496 | $this->iterateWithOrderAscWithLimit(true, true, $dqlAsc, 'name'); |
497 | 497 | $this->iterateWithOrderDescWithLimit(true, true, $dqlDesc, 'name'); |
498 | 498 | } |
@@ -503,8 +503,8 @@ discard block |
||
503 | 503 | $this->expectExceptionMessage('Cannot select distinct identifiers from query with LIMIT and ORDER BY on a column from a fetch joined to-many association. Use output walkers.'); |
504 | 504 | |
505 | 505 | $dql = 'SELECT c, d FROM Doctrine\Tests\Models\Pagination\Company c JOIN c.departments d ORDER BY c.name'; |
506 | - $dqlAsc = $dql . ' ASC, d.name'; |
|
507 | - $dqlDesc = $dql . ' DESC, d.name'; |
|
506 | + $dqlAsc = $dql.' ASC, d.name'; |
|
507 | + $dqlDesc = $dql.' DESC, d.name'; |
|
508 | 508 | $this->iterateWithOrderAscWithLimit(false, true, $dqlAsc, 'name'); |
509 | 509 | $this->iterateWithOrderDescWithLimit(false, true, $dqlDesc, 'name'); |
510 | 510 | } |
@@ -588,7 +588,7 @@ discard block |
||
588 | 588 | $users = iterator_to_array($paginator->getIterator()); |
589 | 589 | self::assertCount(9, $users); |
590 | 590 | foreach ($users as $i => $user) { |
591 | - self::assertEquals('username' . (8 - $i), $user->username); |
|
591 | + self::assertEquals('username'.(8 - $i), $user->username); |
|
592 | 592 | } |
593 | 593 | } |
594 | 594 | |
@@ -738,7 +738,7 @@ discard block |
||
738 | 738 | $company->logo->image_width = 100 + $i; |
739 | 739 | $company->logo->image_height = 100 + $i; |
740 | 740 | $company->logo->company = $company; |
741 | - for ($j=0; $j<3; $j++) { |
|
741 | + for ($j = 0; $j < 3; $j++) { |
|
742 | 742 | $department = new Department(); |
743 | 743 | $department->name = sprintf('name%d%d', $i, $j); |
744 | 744 | $department->company = $company; |
@@ -231,8 +231,8 @@ discard block |
||
231 | 231 | $eventManager->addEventListener([Events::postLoad], $listener); |
232 | 232 | |
233 | 233 | $this->em->find(CmsUser::class, $this->userId); |
234 | - self::assertSame(1, $listener->countHandledEvents(CmsUser::class), CmsUser::class . ' should be handled once!'); |
|
235 | - self::assertSame(1, $listener->countHandledEvents(CmsEmail::class), CmsEmail::class . ' should be handled once!'); |
|
234 | + self::assertSame(1, $listener->countHandledEvents(CmsUser::class), CmsUser::class.' should be handled once!'); |
|
235 | + self::assertSame(1, $listener->countHandledEvents(CmsEmail::class), CmsEmail::class.' should be handled once!'); |
|
236 | 236 | } |
237 | 237 | |
238 | 238 | private function loadFixture() |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | { |
309 | 309 | $object = $event->getObject(); |
310 | 310 | $class = StaticClassNameConverter::getClass($object); |
311 | - if (! isset($this->firedByClasses[$class])) { |
|
311 | + if ( ! isset($this->firedByClasses[$class])) { |
|
312 | 312 | $this->firedByClasses[$class] = 1; |
313 | 313 | } else { |
314 | 314 | $this->firedByClasses[$class]++; |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | $entity = $this->em->find('\Doctrine\Tests\Models\CustomType\CustomTypeUpperCase', $id); |
48 | 48 | |
49 | 49 | self::assertEquals('foo', $entity->lowerCaseString, 'Entity holds lowercase string'); |
50 | - self::assertEquals('FOO', $this->em->getConnection()->fetchColumn('select lowerCaseString from customtype_uppercases where id=' . $entity->id . ''), 'Database holds uppercase string'); |
|
50 | + self::assertEquals('FOO', $this->em->getConnection()->fetchColumn('select lowerCaseString from customtype_uppercases where id='.$entity->id.''), 'Database holds uppercase string'); |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | $entity = $this->em->find('\Doctrine\Tests\Models\CustomType\CustomTypeUpperCase', $id); |
70 | 70 | self::assertEquals('foo', $entity->namedLowerCaseString, 'Entity holds lowercase string'); |
71 | - self::assertEquals('FOO', $this->em->getConnection()->fetchColumn('select named_lower_case_string from customtype_uppercases where id=' . $entity->id . ''), 'Database holds uppercase string'); |
|
71 | + self::assertEquals('FOO', $this->em->getConnection()->fetchColumn('select named_lower_case_string from customtype_uppercases where id='.$entity->id.''), 'Database holds uppercase string'); |
|
72 | 72 | |
73 | 73 | $entity->namedLowerCaseString = 'bar'; |
74 | 74 | |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | |
82 | 82 | $entity = $this->em->find('\Doctrine\Tests\Models\CustomType\CustomTypeUpperCase', $id); |
83 | 83 | self::assertEquals('bar', $entity->namedLowerCaseString, 'Entity holds lowercase string'); |
84 | - self::assertEquals('BAR', $this->em->getConnection()->fetchColumn('select named_lower_case_string from customtype_uppercases where id=' . $entity->id . ''), 'Database holds uppercase string'); |
|
84 | + self::assertEquals('BAR', $this->em->getConnection()->fetchColumn('select named_lower_case_string from customtype_uppercases where id='.$entity->id.''), 'Database holds uppercase string'); |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | public function testTypeValueSqlWithAssociations() : void |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | $entity = $this->em->find(CustomTypeParent::class, $parentId); |
109 | 109 | |
110 | 110 | self::assertTrue($entity->customInteger < 0, 'Fetched customInteger negative'); |
111 | - self::assertEquals(1, $this->em->getConnection()->fetchColumn('select customInteger from customtype_parents where id=' . $entity->id . ''), 'Database has stored customInteger positive'); |
|
111 | + self::assertEquals(1, $this->em->getConnection()->fetchColumn('select customInteger from customtype_parents where id='.$entity->id.''), 'Database has stored customInteger positive'); |
|
112 | 112 | |
113 | 113 | self::assertNotNull($parent->child, 'Child attached'); |
114 | 114 | self::assertCount(2, $entity->getMyFriends(), '2 friends attached'); |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | |
128 | 128 | $this->em->clear(); |
129 | 129 | |
130 | - $query = $this->em->createQuery('SELECT p, p.customInteger, c from Doctrine\Tests\Models\CustomType\CustomTypeParent p JOIN p.child c where p.id = ' . $parentId); |
|
130 | + $query = $this->em->createQuery('SELECT p, p.customInteger, c from Doctrine\Tests\Models\CustomType\CustomTypeParent p JOIN p.child c where p.id = '.$parentId); |
|
131 | 131 | |
132 | 132 | $result = $query->getResult(); |
133 | 133 |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $driver = new DatabaseDriver($sm); |
63 | 63 | |
64 | 64 | foreach ($driver->getAllClassNames() as $className) { |
65 | - if (! in_array(strtolower($className), $classNames, true)) { |
|
65 | + if ( ! in_array(strtolower($className), $classNames, true)) { |
|
66 | 66 | continue; |
67 | 67 | } |
68 | 68 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | if (count($metadatas) !== count($classNames)) { |
77 | - $this->fail("Have not found all classes matching the names '" . implode(', ', $classNames) . "' only tables " . implode(', ', array_keys($metadatas))); |
|
77 | + $this->fail("Have not found all classes matching the names '".implode(', ', $classNames)."' only tables ".implode(', ', array_keys($metadatas))); |
|
78 | 78 | } |
79 | 79 | return $metadatas; |
80 | 80 | } |