Passed
Push — master ( 04f639...4af3f4 )
by Andrey
05:45 queued 02:05
created
config/web.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-$params = require __DIR__ . '/params.php';
4
-$db = require __DIR__ . '/db.php';
3
+$params = require __DIR__.'/params.php';
4
+$db = require __DIR__.'/db.php';
5 5
 
6 6
 $config = [
7 7
     'id' => 'yii2_template_multilanguage',
8 8
     'version' => '1.1.1',
9 9
     'basePath' => dirname(__DIR__),
10 10
     'homeUrl' => YII_DEBUG ? 'http://yii2-template-multilanguage' : 'http://yii2-template-multilanguage',
11
-    'bootstrap' => ['log'],
11
+    'bootstrap' => [ 'log' ],
12 12
     'language' => 'en-US',
13 13
     'aliases' => [
14 14
         '@bower' => '@vendor/bower-asset',
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             'targets' => [
51 51
                 [
52 52
                     'class' => 'yii\log\FileTarget',
53
-                    'levels' => ['error', 'warning'],
53
+                    'levels' => [ 'error', 'warning' ],
54 54
                 ],
55 55
             ],
56 56
         ],
@@ -209,18 +209,18 @@  discard block
 block discarded – undo
209 209
 
210 210
 if (YII_ENV_DEV) {
211 211
     // configuration adjustments for 'dev' environment
212
-    $config['bootstrap'][] = 'debug';
213
-    $config['modules']['debug'] = [
212
+    $config[ 'bootstrap' ][ ] = 'debug';
213
+    $config[ 'modules' ][ 'debug' ] = [
214 214
         'class' => 'yii\debug\Module',
215 215
         // uncomment the following to add your IP if you are not connecting from localhost.
216
-        'allowedIPs' => ['127.0.0.1', '::1', '*'],
216
+        'allowedIPs' => [ '127.0.0.1', '::1', '*' ],
217 217
     ];
218 218
 
219
-    $config['bootstrap'][] = 'gii';
220
-    $config['modules']['gii'] = [
219
+    $config[ 'bootstrap' ][ ] = 'gii';
220
+    $config[ 'modules' ][ 'gii' ] = [
221 221
         'class' => 'yii\gii\Module',
222 222
         // uncomment the following to add your IP if you are not connecting from localhost.
223
-        'allowedIPs' => ['127.0.0.1', '::1', '*'],
223
+        'allowedIPs' => [ '127.0.0.1', '::1', '*' ],
224 224
     ];
225 225
 }
226 226
 
Please login to merge, or discard this patch.