Completed
Pull Request — 2.x (#101)
by Sullivan
03:27 queued 01:09
created

Mac   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getIsoCodesVersion() 0 4 1
1
<?php
2
3
namespace SLLH\IsoCodesValidator\Constraints;
4
5
use SLLH\IsoCodesValidator\AbstractIsoCodesGenericConstraint;
6
7
/**
8
 * @author Sullivan Senechal <[email protected]>
9
 */
10
final class Mac extends AbstractIsoCodesGenericConstraint
11
{
12
    public $message = 'This value is not a valid MAC address.';
13
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function getIsoCodesVersion()
18
    {
19
        return '2.0.0';
20
    }
21
}
22