Passed
Push — master ( b2e03a...bc8242 )
by
unknown
04:12 queued 01:10
created

AbstractCompareTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 3
c 1
b 1
f 0
dl 0
loc 7
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDifferentRuleInHandlerItems() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Validator\Tests\Rule;
6
7
use PHPUnit\Framework\TestCase;
8
use Yiisoft\Validator\Rule\AbstractCompare;
9
use Yiisoft\Validator\Rule\CompareHandler;
10
use Yiisoft\Validator\Tests\Rule\Base\DifferentRuleInHandlerTestTrait;
11
12
final class AbstractCompareTest extends TestCase
13
{
14
    use DifferentRuleInHandlerTestTrait;
15
16
    protected function getDifferentRuleInHandlerItems(): array
17
    {
18
        return [AbstractCompare::class, CompareHandler::class];
19
    }
20
}
21