Completed
Push — feature/scrutinizer ( b87d9b...e7952f )
by Tobias
04:05 queued 14s
created
src/widgets/Alert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
         foreach ($flashes as $type => $data) {
59 59
             if (isset($this->alertTypes[$type])) {
60
-                $data = (array) $data;
60
+                $data = (array)$data;
61 61
                 foreach ($data as $message) {
62 62
                     /* initialize css class for each alert box */
63 63
                     $this->options['class'] = $this->alertTypes[$type].$appendCss;
Please login to merge, or discard this patch.
src/modules/prototype/models/search/Html.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace app\modules\prototype\models\search;
4 4
 
5
-use Yii;
6 5
 use yii\base\Model;
7 6
 use yii\data\ActiveDataProvider;
8 7
 use app\modules\prototype\models\Less as LessModel;
Please login to merge, or discard this patch.
src/assets/AppAsset.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.yiiframework.com/
4
- *
5
- * @copyright Copyright (c) 2008 Yii Software LLC
6
- * @license http://www.yiiframework.com/license/
7
- */
3
+     * @link http://www.yiiframework.com/
4
+     *
5
+     * @copyright Copyright (c) 2008 Yii Software LLC
6
+     * @license http://www.yiiframework.com/license/
7
+     */
8 8
 namespace app\modules\backend\assets;
9 9
 
10 10
 use yii\helpers\FileHelper;
Please login to merge, or discard this patch.
src/modules/backend/views/layouts/box.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.diemeisterei.de/
4
- *
5
- * @copyright Copyright (c) 2015 diemeisterei GmbH, Stuttgart
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * @link http://www.diemeisterei.de/
4
+     *
5
+     * @copyright Copyright (c) 2015 diemeisterei GmbH, Stuttgart
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace app\modules\prototype\widgets;
11 11
 
12 12
 use yii\base\Widget;
Please login to merge, or discard this patch.
src/modules/backend/Module.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.diemeisterei.de/
4
- *
5
- * @copyright Copyright (c) 2014 diemeisterei GmbH, Stuttgart
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * @link http://www.diemeisterei.de/
4
+     *
5
+     * @copyright Copyright (c) 2014 diemeisterei GmbH, Stuttgart
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 namespace app\commands;
11 11
 
12 12
 use dektrium\user\Finder;
Please login to merge, or discard this patch.
src/controllers/SiteController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                     ],
29 29
                     [
30 30
                         'allow' => true,
31
-                        'matchCallback' => function ($rule, $action) {
31
+                        'matchCallback' => function($rule, $action) {
32 32
                             return \Yii::$app->user->can(
33 33
                                 $this->module->id.'_'.$this->id.'_'.$action->id,
34 34
                                 ['route' => true]
Please login to merge, or discard this patch.
src/modules/prototype/controllers/base/HtmlController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * Lists all Html models.
51
-     * @return mixed
51
+     * @return string
52 52
      */
53 53
     public function actionIndex()
54 54
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @param integer $id
76 76
      *
77
-     * @return mixed
77
+     * @return string
78 78
      */
79 79
     public function actionView($id)
80 80
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param integer $id
144 144
      *
145
-     * @return mixed
145
+     * @return \yii\web\Response
146 146
      */
147 147
     public function actionDelete($id)
148 148
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                     ],
29 29
                     [
30 30
                         'allow' => true,
31
-                        'matchCallback' => function ($rule, $action) {
31
+                        'matchCallback' => function($rule, $action) {
32 32
                             return \Yii::$app->user->can(
33 33
                                 $this->module->id.'_'.$this->id.'_'.$action->id,
34 34
                                 ['route' => true]
Please login to merge, or discard this patch.
src/modules/prototype/controllers/base/LessController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * Lists all Less models.
51
-     * @return mixed
51
+     * @return string
52 52
      */
53 53
     public function actionIndex()
54 54
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @param integer $id
76 76
      *
77
-     * @return mixed
77
+     * @return string
78 78
      */
79 79
     public function actionView($id)
80 80
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param integer $id
144 144
      *
145
-     * @return mixed
145
+     * @return \yii\web\Response
146 146
      */
147 147
     public function actionDelete($id)
148 148
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                     ],
29 29
                     [
30 30
                         'allow' => true,
31
-                        'matchCallback' => function ($rule, $action) {
31
+                        'matchCallback' => function($rule, $action) {
32 32
                             return \Yii::$app->user->can(
33 33
                                 $this->module->id.'_'.$this->id.'_'.$action->id,
34 34
                                 ['route' => true]
Please login to merge, or discard this patch.
src/modules/prototype/views/less/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 
86 86
                     [
87 87
                         'class' => 'yii\grid\ActionColumn',
88
-                        'urlCreator' => function ($action, $model, $key, $index) {
88
+                        'urlCreator' => function($action, $model, $key, $index) {
89 89
                             // using the column name as key, not mapping to 'id' like the standard generator
90 90
                             $params = is_array($key) ? $key : [$model->primaryKey()[0] => (string)$key];
91 91
                             $params[0] = \Yii::$app->controller->id ? \Yii::$app->controller->id.'/'.$action : $action;
Please login to merge, or discard this patch.