| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | #[Attribute(Attribute::TARGET_PROPERTY)] |
||
| 12 | final class Not extends AbstractRule |
||
| 13 | { |
||
| 14 | public function __construct( |
||
| 15 | private Rule $rule, |
||
| 16 | ?string $message = null, |
||
| 17 | int $stopOnFailure = StopSign::DONT_STOP |
||
| 18 | ) { |
||
| 19 | parent::__construct($message, $stopOnFailure); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function isValid(mixed $input, array $context = []): bool |
||
| 25 | } |
||
| 26 | } |
||
| 27 |