@@ -28,7 +28,7 @@ |
||
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 | ]; |
@@ -60,7 +60,7 @@ |
||
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); |
@@ -38,7 +38,7 @@ |
||
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); |
@@ -12,9 +12,9 @@ |
||
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'); |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | use UnitTesterActions; |
25 | 25 | |
26 | - /** |
|
27 | - * Define custom actions here |
|
28 | - */ |
|
26 | + /** |
|
27 | + * Define custom actions here |
|
28 | + */ |
|
29 | 29 | } |