We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class EvaluatorIsNotAllowedException extends \Exception |
||
| 10 | { |
||
| 11 | 140 | public function __construct(string $expressionFunctionName, int $code = 0, Throwable $previous = null) |
|
| 12 | { |
||
| 13 | 140 | parent::__construct( |
|
| 14 | 140 | "The expression function '$expressionFunctionName' cannot be used by it's evaluator.", |
|
| 15 | 140 | $code, |
|
| 16 | 140 | $previous |
|
| 17 | ); |
||
| 18 | 140 | } |
|
| 19 | 7 | public function __invoke(): void |
|
| 22 | } |
||
| 23 | } |
||
| 24 |