GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 6a4e57...36c412 )
by joseph
26:54
created

IsbnFieldTraitTest::itShouldntAllowAnInvalidIsbn()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 11
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace EdmondsCommerce\DoctrineStaticMeta\Tests\Large\Entity\Fields\Traits\String;
4
5
use EdmondsCommerce\DoctrineStaticMeta\Entity\Fields\Interfaces\String\IsbnFieldInterface;
6
use EdmondsCommerce\DoctrineStaticMeta\Entity\Fields\Traits\String\IsbnFieldTrait;
7
use EdmondsCommerce\DoctrineStaticMeta\Tests\Assets\AbstractTest;
8
use EdmondsCommerce\DoctrineStaticMeta\Tests\Large\Entity\Fields\Traits\AbstractFieldTraitTest;
9
10
/**
11
 * @covers \EdmondsCommerce\DoctrineStaticMeta\Entity\Fields\Traits\String\IsbnFieldTrait
12
 */
13
class IsbnFieldTraitTest extends AbstractFieldTraitTest
14
{
15
    public const    WORK_DIR           = AbstractTest::VAR_PATH .
16
                                         '/' .
17
                                         self::TEST_TYPE_LARGE .
18
                                         '/IsbnFieldTraitTest/';
19
    protected const TEST_FIELD_FQN     = IsbnFieldTrait::class;
20
    protected const TEST_FIELD_PROP    = IsbnFieldInterface::PROP_ISBN;
21
    protected const TEST_FIELD_DEFAULT = IsbnFieldInterface::DEFAULT_ISBN;
22
23
    protected const VALID_VALUES   = [
24
        '978-3-16-148410-0',
25
        '99921-58-10-7',
26
27
    ];
28
    protected const INVALID_VALUES = [
29
        'not an isbn',
30
    ];
31
}
32