Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jun 30, 2023
1 parent 61c6f4b commit 92a45f6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/AbstractQueryDataReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
use Yiisoft\Data\Reader\FilterInterface;
use Yiisoft\Data\Reader\Sort;
use Yiisoft\Db\Query\QueryInterface;

use function array_key_first;
use function is_array;
use function sprintf;
Expand Down
1 change: 1 addition & 0 deletions src/Filter/Between.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use InvalidArgumentException;
use Yiisoft\Data\Reader\Filter\Between as BetweenFilter;
use Yiisoft\Db\Expression\ExpressionInterface;

use function count;

final class Between extends CompareFilter
Expand Down
1 change: 1 addition & 0 deletions src/Filter/EqualsEmpty.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Yiisoft\Data\Reader\Filter\EqualsEmpty as FilterEqualsEmpty;
use Yiisoft\Data\Reader\FilterInterface;
use Yiisoft\Db\Expression\ExpressionInterface;

use function array_unshift;
use function array_values;

Expand Down
3 changes: 2 additions & 1 deletion src/Filter/Not.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use Yiisoft\Data\Reader\Filter\Not as FilterNot;
use Yiisoft\Data\Reader\FilterInterface;

use function array_key_first;
use function strtoupper;

Expand All @@ -23,7 +24,7 @@ final class Not implements FilterInterface
'>=' => '<',
'<' => '>=',
'<=' => '>',
'=' => '!='
'=' => '!=',
];

public function __construct(FilterInterface $filter, ?array $operators = null)
Expand Down
2 changes: 1 addition & 1 deletion tests/FiltersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use Yiisoft\Data\Db\Filter\Not;
use Yiisoft\Data\Db\Filter\NotEquals;
use Yiisoft\Data\Reader\FilterInterface;

use function mb_strtoupper;
use function strtolower;

Expand Down Expand Up @@ -332,7 +333,6 @@ public function equalsEmptyDataProvider(): array
/**
* @param EqualsEmpty $filter
* @param array $expected
* @return void
* @dataProvider equalsEmptyDataProvider
*/
public function testEqualsEmpty(EqualsEmpty $filter, array $expected): void
Expand Down

0 comments on commit 92a45f6

Please sign in to comment.