IsNullTest::getFilterWillApplyFilteringData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ArpTest\DoctrineQueryFilter\Filter;
6
7
use Arp\DoctrineQueryFilter\Filter\IsNull;
8
9
/**
10
 * @covers \Arp\DoctrineQueryFilter\Filter\IsNull
11
 */
12
final class IsNullTest extends AbstractComparisonTest
13
{
14
    protected string $filterClassName = IsNull::class;
15
16
    protected string $expressionMethodName = 'isnull';
17
18
    protected string $expressionSymbol = 'IS NULL';
19
20
    /**
21
     * @return array<mixed>
22
     */
23
    public function getFilterWillApplyFilteringData(): array
24
    {
25
        return [
26
            [
27
                [
28
                    'name' => 'test',
29
                    'field' => 'hello',
30
                    'value' => 123,
31
                ],
32
            ],
33
        ];
34
    }
35
}
36