| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function validate_($value,$member,$instance,$params,$severity='warning',$message=null){ |
||
|
1 ignored issue
–
show
|
|||
| 12 | $this->value=$value; |
||
| 13 | $this->setParams($params); |
||
| 14 | if(!$this->validate($value)){ |
||
| 15 | $this->modifiedMessage=$message; |
||
| 16 | return new ConstraintViolation($this->_getMessage(), $value, $member, get_class($this),$severity); |
||
| 17 | } |
||
| 18 | return true; |
||
| 19 | } |
||
| 20 | |||
| 68 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.