Completed
Push — master ( cc71a2...fb9589 )
by Tõnis
03:19
created
tests/_config/test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 
4 4
 $config = [
5 5
     'id' => 'test-app',
6
-    'basePath' => dirname(__DIR__). "/../src/",
6
+    'basePath' => dirname(__DIR__) . "/../src/",
7 7
     'aliases' =>[
8 8
         '@vendor' => '@app/../vendor',
9 9
         '@bower' => '@vendor/bower-asset',
Please login to merge, or discard this patch.
tests/unit/SiteControllerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 
17 17
     protected function _before()
18 18
     {
19
-        $_SERVER['REQUEST_URI']='index.php';
20
-        $config = require( __DIR__ . "/../_config/test.php");
19
+        $_SERVER['REQUEST_URI'] = 'index.php';
20
+        $config = require(__DIR__ . "/../_config/test.php");
21 21
         $this->model = new SiteController('site', new \yii\web\Application($config));
22 22
         \Yii::$app->controller = $this->model;
23 23
         \Yii::$app->controller->action = new Action('fake', $this->model);
Please login to merge, or discard this patch.
src/views/layouts/main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
 
26 26
     <div id="content" class="wrapper">
27
-        <?= $this->render('content.php',['content' => $content]) ?>
27
+        <?= $this->render('content.php', ['content' => $content]) ?>
28 28
     </div>
29 29
 
30 30
     <?php $this->endBody() ?>
Please login to merge, or discard this patch.