Passed
Push — master ( 2debe2...314cee )
by Matthew
02:08
created
src/EActiveDataFilter.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
         parent::init();
29 29
 
30 30
         $conditionBuilders = [
31
-            'LIKE LOWER' => function (string $operator, $condition, string $attribute) {
31
+            'LIKE LOWER' => function(string $operator, $condition, string $attribute) {
32 32
                 return ['LIKE', "LOWER($attribute)", new Expression("LOWER('$condition')"), false];
33 33
             },
34 34
         ];
Please login to merge, or discard this patch.
tests/_bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER', false);
13 13
 defined('YII_ENV') or define('YII_ENV', 'test');
14 14
 
15
-require __DIR__ . '/../vendor/autoload.php';
16
-require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
15
+require __DIR__.'/../vendor/autoload.php';
16
+require __DIR__.'/../vendor/yiisoft/yii2/Yii.php';
17 17
 
18 18
 \Yii::setAlias('@tests', __DIR__);
19 19
 \Yii::setAlias('@vendor', '/../vendor');
20
-\Yii::setAlias('@data', __DIR__ . DIRECTORY_SEPARATOR . '_data');
20
+\Yii::setAlias('@data', __DIR__.DIRECTORY_SEPARATOR.'_data');
Please login to merge, or discard this patch.
tests/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 {
24 24
     use UnitTesterActions;
25 25
 
26
-   /**
27
-    * Define custom actions here
28
-    */
26
+    /**
27
+     * Define custom actions here
28
+     */
29 29
 }
Please login to merge, or discard this patch.
src/EIndexAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             $extraFilter = json_decode($extraFilter, true);
81 81
         }
82 82
 
83
-        $this->prepareDataProvider = function (EIndexAction $action, $filter) use ($extraFilter) {
83
+        $this->prepareDataProvider = function(EIndexAction $action, $filter) use ($extraFilter) {
84 84
             /** @var ActiveDataProvider $dataProvider */
85 85
             $dataProvider = call_user_func([$action->dataFilter->searchModel, 'getDataProvider']);
86 86
             $dataProvider->query->andWhere($filter);
Please login to merge, or discard this patch.
src/EDeleteAllAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
         Yii::$app->request->setQueryParams($queryParams);
76 76
 
77
-        $this->prepareDataProvider = function (EDeleteAllAction $action, $filter) {
77
+        $this->prepareDataProvider = function(EDeleteAllAction $action, $filter) {
78 78
             /** @var ActiveDataProvider $dataProvider */
79 79
             $dataProvider = call_user_func([$action->dataFilter->searchModel, 'getDataProvider']);
80 80
             $dataProvider->query->andWhere($filter);
Please login to merge, or discard this patch.