Passed
Push — master ( 1dbcfe...fe7b3f )
by Andrey
03:34
created
models/Quality.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      */
141 141
     public function afterSave($insert, $changedAttributes)
142 142
     {
143
-        $this->linkWithAbout(empty($this->about) ? [] : $this->about);
143
+        $this->linkWithAbout(empty($this->about) ? [ ] : $this->about);
144 144
 
145 145
         parent::afterSave($insert, $changedAttributes);
146 146
     }
Please login to merge, or discard this patch.
models/PageSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         return [
21 21
             [
22
-                ['id'],
22
+                [ 'id' ],
23 23
                 'integer',
24 24
             ],
25 25
             [
Please login to merge, or discard this patch.
models/HomeSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         return [
21 21
             [
22
-                ['id'],
22
+                [ 'id' ],
23 23
                 'integer',
24 24
             ],
25 25
             [
Please login to merge, or discard this patch.
models/AboutSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         return [
21 21
             [
22
-                ['id'],
22
+                [ 'id' ],
23 23
                 'integer',
24 24
             ],
25 25
             [
Please login to merge, or discard this patch.
models/SocialSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         return [
21 21
             [
22
-                ['id'],
22
+                [ 'id' ],
23 23
                 'integer',
24 24
             ],
25 25
             [
Please login to merge, or discard this patch.
models/TechnologySearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         return [
21 21
             [
22
-                ['id'],
22
+                [ 'id' ],
23 23
                 'integer',
24 24
             ],
25 25
             [
Please login to merge, or discard this patch.
models/PositionSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         return [
21 21
             [
22
-                ['id'],
22
+                [ 'id' ],
23 23
                 'integer',
24 24
             ],
25 25
             [
Please login to merge, or discard this patch.
models/ContactSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         return [
21 21
             [
22
-                ['id'],
22
+                [ 'id' ],
23 23
                 'integer',
24 24
             ],
25 25
             [
Please login to merge, or discard this patch.
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.0.2',
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
         ],
@@ -207,18 +207,18 @@  discard block
 block discarded – undo
207 207
 
208 208
 if (YII_ENV_DEV) {
209 209
     // configuration adjustments for 'dev' environment
210
-    $config['bootstrap'][] = 'debug';
211
-    $config['modules']['debug'] = [
210
+    $config[ 'bootstrap' ][ ] = 'debug';
211
+    $config[ 'modules' ][ 'debug' ] = [
212 212
         'class' => 'yii\debug\Module',
213 213
         // uncomment the following to add your IP if you are not connecting from localhost.
214
-        'allowedIPs' => ['127.0.0.1', '::1', '*'],
214
+        'allowedIPs' => [ '127.0.0.1', '::1', '*' ],
215 215
     ];
216 216
 
217
-    $config['bootstrap'][] = 'gii';
218
-    $config['modules']['gii'] = [
217
+    $config[ 'bootstrap' ][ ] = 'gii';
218
+    $config[ 'modules' ][ 'gii' ] = [
219 219
         'class' => 'yii\gii\Module',
220 220
         // uncomment the following to add your IP if you are not connecting from localhost.
221
-        'allowedIPs' => ['127.0.0.1', '::1', '*'],
221
+        'allowedIPs' => [ '127.0.0.1', '::1', '*' ],
222 222
     ];
223 223
 }
224 224
 
Please login to merge, or discard this patch.