Passed
Push — master ( 9a9070...62a76c )
by Matthew
02:20
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.
src/EDeleteAllAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         Yii::$app->request->setQueryParams($queryParams);
62 62
 
63
-        $this->prepareDataProvider = function (EDeleteAllAction $action, $filter) {
63
+        $this->prepareDataProvider = function(EDeleteAllAction $action, $filter) {
64 64
             /** @var ActiveDataProvider $dataProvider */
65 65
             $dataProvider = call_user_func([$action->dataFilter->searchModel, 'search'], []);
66 66
             $dataProvider->query->andWhere($filter);
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
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $this->setFilterParams(json_decode($filter, true));
39 39
         }
40 40
 
41
-        $this->prepareDataProvider = function (EIndexAction $action, $filter) {
41
+        $this->prepareDataProvider = function(EIndexAction $action, $filter) {
42 42
             /** @var ActiveDataProvider $dataProvider */
43 43
             $dataProvider = call_user_func([$action->dataFilter->searchModel, 'getDataProvider']);
44 44
             $dataProvider->query->andWhere($filter);
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.