@@ -3,7 +3,7 @@ |
||
| 3 | 3 | return [ |
| 4 | 4 | 'definitions' => [ |
| 5 | 5 | \yii\behaviors\TimestampBehavior::class => [ |
| 6 | - 'value' => function () { |
|
| 6 | + 'value' => function() { |
|
| 7 | 7 | return (new DateTime('now', new DateTimeZone('UTC')))->format('Y-m-d H:i:s'); |
| 8 | 8 | }, |
| 9 | 9 | ], |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | 'yii\queue\db\migrations', |
| 63 | 63 | ], |
| 64 | 64 | ], |
| 65 | - 'fixture' => [ // Fixture generation command line. |
|
| 65 | + 'fixture' => [// Fixture generation command line. |
|
| 66 | 66 | 'class' => \yii\faker\FixtureController::class, |
| 67 | 67 | 'templatePath' => 'tests/fixtures/templates', |
| 68 | 68 | 'fixtureDataPath' => 'tests/fixtures/data', |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$webConfig = require __DIR__.'/web.php'; |
|
| 3 | +$webConfig = require __DIR__ . '/web.php'; |
|
| 4 | 4 | |
| 5 | 5 | $db = require __DIR__ . '/test_db.php'; |
| 6 | 6 | |