diff --git a/tests/acceptance/_console.php b/tests/acceptance/_console.php index 58b5f0f..f89eecf 100644 --- a/tests/acceptance/_console.php +++ b/tests/acceptance/_console.php @@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge( ], ], ] -); \ No newline at end of file +); diff --git a/tests/functional/_console.php b/tests/functional/_console.php index 7137b4c..2e674c4 100644 --- a/tests/functional/_console.php +++ b/tests/functional/_console.php @@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge( ], ], ] -); \ No newline at end of file +); diff --git a/tests/unit/_console.php b/tests/unit/_console.php index 78fc118..d2a233a 100644 --- a/tests/unit/_console.php +++ b/tests/unit/_console.php @@ -10,4 +10,4 @@ return yii\helpers\ArrayHelper::merge( ], ], ] -); \ No newline at end of file +); diff --git a/tests/unit/models/ContactFormTest.php b/tests/unit/models/ContactFormTest.php index d215ef6..3e30e69 100644 --- a/tests/unit/models/ContactFormTest.php +++ b/tests/unit/models/ContactFormTest.php @@ -42,7 +42,7 @@ class ContactFormTest extends TestCase expect('email file should exist', file_exists($this->getMessageFile()))->true(); }); - $this->specify('message should contain correct data', function () use($model) { + $this->specify('message should contain correct data', function () use ($model) { $emailMessage = file_get_contents($this->getMessageFile()); expect('email should contain user name', $emailMessage)->contains($model->name); diff --git a/views/layouts/main.php b/views/layouts/main.php index cfe6401..f32b53f 100644 --- a/views/layouts/main.php +++ b/views/layouts/main.php @@ -40,7 +40,7 @@ AppAsset::register($this); ['label' => 'Contact', 'url' => ['/site/contact']], Yii::$app->user->isGuest ? ['label' => 'Login', 'url' => ['/site/login']] : - ['label' => 'Logout (' . Yii::$app->user->identity->username . ')' , + ['label' => 'Logout (' . Yii::$app->user->identity->username . ')', 'url' => ['/site/logout'], 'linkOptions' => ['data-method' => 'post']], ],