Passed
Pull Request — master (#355)
by Def
02:14
created
src/TestSupport/TestSchemaTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -356,14 +356,14 @@
 block discarded – undo
356 356
 
357 357
         $db->createCommand('delete from {{quoter}}')->execute();
358 358
 
359
-        for($symbol1 = 1; $symbol1 <= 127; $symbol1++) {
360
-            for($symbol2 = 1; $symbol2 <= 127; $symbol2++) {
359
+        for ($symbol1 = 1; $symbol1 <= 127; $symbol1++) {
360
+            for ($symbol2 = 1; $symbol2 <= 127; $symbol2++) {
361 361
                 $quotedName = $quoter->quoteValue('test_' . $symbol1 . '_' . $symbol2);
362
-                $testString = str_replace(['{1}', '{2}',], [chr($symbol1), chr($symbol2)], $template);
362
+                $testString = str_replace(['{1}', '{2}', ], [chr($symbol1), chr($symbol2)], $template);
363 363
 
364 364
                 $quoteValue = $quoter->quoteValue($testString);
365 365
 
366
-                $db->createCommand('insert into {{quoter}}([[name]], [[description]]) values('. $quotedName . ', ' . $quoteValue . ')')->execute();
366
+                $db->createCommand('insert into {{quoter}}([[name]], [[description]]) values(' . $quotedName . ', ' . $quoteValue . ')')->execute();
367 367
                 $result = $db->createCommand('select * from {{quoter}} where [[name]]=' . $quotedName)->queryOne();
368 368
                 $this->assertEquals($testString, $result['description']);
369 369
             }
Please login to merge, or discard this patch.