| Conditions | 2 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 31 | /** @throws Parser\Exception\ParserException */ |
||
| 32 | 280 | public function isTrue(): bool |
|
| 33 | 280 | { |
|
| 34 | 280 | /** @var EvaluatorInterface $evaluator */ |
|
| 35 | $evaluator = self::$container->evaluator(); |
||
| 36 | 212 | ||
| 37 | return $evaluator->evaluate( |
||
| 38 | $this->parsedRule ?: |
||
| 39 | 212 | $this->parser->parse($this->rule) |
|
| 69 |