Enable phpdoc_add_missing_param_annotation rule in php-cs-fixer config. (#14681) [skip ci]

This commit is contained in:
Robert Korulczyk
2017-08-21 00:57:23 +02:00
committed by Alexander Makarov
parent b7079d31df
commit 0c0942d6e2
51 changed files with 290 additions and 21 deletions

View File

@@ -238,13 +238,13 @@ class MigrateControllerTest extends TestCase
*/
public function testRefreshMigration()
{
Yii::$app->db->createCommand(
"create table hall_of_fame(id int, string varchar(255))")->execute();
Yii::$app->db->createCommand('create table hall_of_fame(id int, string varchar(255))')
->execute();
Yii::$app->db->createCommand(
"insert into hall_of_fame values(1, 'Qiang Xue');")->execute();
Yii::$app->db->createCommand(
"insert into hall_of_fame values(2, 'Alexander Makarov');")->execute();
Yii::$app->db->createCommand("insert into hall_of_fame values(1, 'Qiang Xue');")
->execute();
Yii::$app->db->createCommand("insert into hall_of_fame values(2, 'Alexander Makarov');")
->execute();
$result = $this->runMigrateControllerAction('fresh');