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.

RegexField   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 16
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setData() 0 4 1
A getData() 0 4 1
1
<?php
2
namespace Solvire\API\Serializers\DataFields;
3
4
/**
5
 * hmm how to regex a regex
6
 *
7
 * @author solvire <[email protected]>
8
 * @package DataFields
9
 * @namespace Solvire\API\Serializers\DataFields
10
 */
11
class RegexField extends DataField
12
{
13
14 1
    public function setData($data)
15
    {
16 1
        throw new \RuntimeException('not implemented');
17
    }
18
19
    /**
20
     * This is a char so it will always be just a string
21
     */
22 1
    public function getData()
23
    {
24 1
        throw new \RuntimeException('not implemented');
25
    }
26
}