Completed
Push — not-exists ( 0b7a0f )
by Sullivan
05:13 queued 02:01
created

Ean13   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
 * @Annotation
9
 * @Target({"PROPERTY", "METHOD", "ANNOTATION"})
10
 *
11
 * @author Sullivan Senechal <[email protected]>
12
 */
13
final class Ean13 extends AbstractIsoCodesGenericConstraint
14
{
15
    public $message = 'This EAN 13 code is not valid.';
16
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function getIsoCodesVersion()
21
    {
22
        return '1.0.0';
23
    }
24
}
25