Passed
Pull Request — master (#534)
by
unknown
02:51
created

getDifferentRuleInHandlerItems()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
cc 1
rs 10
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\AbstractNumber;
9
use Yiisoft\Validator\Rule\NumberHandler;
10
use Yiisoft\Validator\Tests\Rule\Base\DifferentRuleInHandlerTestTrait;
11
12
final class AbstractNumberTest extends TestCase
13
{
14
    use DifferentRuleInHandlerTestTrait;
15
16
    protected function getDifferentRuleInHandlerItems(): array
17
    {
18
        return [AbstractNumber::class, NumberHandler::class];
19
    }
20
}
21