Completed
Pull Request — v2 (#6)
by Guillaume
04:40 queued 02:38
created

ValidationGroupsValidator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A validate() 0 4 1
1
<?php
2
3
namespace ETNA\Doctrine\Constraints;
4
5
use Symfony\Component\Validator\Constraint;
6
use Symfony\Component\Validator\ConstraintValidator;
7
8
class ValidationGroupsValidator extends ConstraintValidator
9
{
10
    public function validate($value, Constraint $constraint)
11
    {
12
        return true;
13
    }
14
}
15