| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | #[Attribute(Attribute::TARGET_PROPERTY)] |
||
| 10 | class NotEqual extends AbstractValidation |
||
| 11 | { |
||
| 12 | const MESSAGE = 'The value should not be equals to `%s`'; |
||
| 13 | |||
| 14 | public function __construct(private mixed $value, ?string $message = null) |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function evaluate($input, array $context = []): bool |
||
| 25 |