| Total Complexity | 11 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class REval extends ARule implements IRule |
||
| 16 | { |
||
| 17 | 3 | public function validate($value): bool |
|
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param mixed $value |
||
| 30 | * @param string $expression |
||
| 31 | * @param string $against |
||
| 32 | * @throws TableException |
||
| 33 | * @return bool |
||
| 34 | */ |
||
| 35 | 2 | protected function compare($value, $expression, $against): bool |
|
| 57 |