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 ( 8b034b...b09e0d )
by Gabriel
07:03
created

DynamicFormTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetFields() 0 7 1
1
<?php
2
3
namespace ByTIC\FormBuilder\Tests\Application\Modules\AbstractModule\Forms;
4
5
use ByTIC\FormBuilder\Tests\AbstractTest;
6
use ByTIC\FormBuilder\Tests\Fixtures\Application\Modules\AbstractModule\Forms\DynamicForm;
7
use Nip\Records\Collections\Collection;
8
9
/**
10
 * Class DynamicFormTest
11
 * @package ByTIC\FormBuilder\Tests\Application\Modules\AbstractModule\Forms
12
 */
13
class DynamicFormTest extends AbstractTest
14
{
15
    public function testGetFields()
16
    {
17
        $form = new DynamicForm();
18
        $fields = $form->getFields();
19
20
        self::assertInstanceOf(Collection::class, $fields);
21
    }
22
}
23