| Total Complexity | 3 | 
| Total Lines | 33 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 19 | abstract class GroupRule implements ParametrizedRuleInterface, BeforeValidationInterface  | 
            ||
| 20 | { | 
            ||
| 21 | use BeforeValidationTrait;  | 
            ||
| 22 | use HandlerClassNameTrait;  | 
            ||
| 23 | use RuleNameTrait;  | 
            ||
| 24 | |||
| 25 | 1 | public function __construct(  | 
            |
| 26 | private string $message = 'This value is not a valid.',  | 
            ||
| 27 | private bool $skipOnEmpty = false,  | 
            ||
| 28 | private bool $skipOnError = false,  | 
            ||
| 29 | /**  | 
            ||
| 30 | * @var Closure(mixed, ValidationContext):bool|null  | 
            ||
| 31 | */  | 
            ||
| 32 | private ?Closure $when = null,  | 
            ||
| 33 |     ) { | 
            ||
| 34 | }  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @return string  | 
            ||
| 38 | */  | 
            ||
| 39 | 4 | public function getMessage(): string  | 
            |
| 42 | }  | 
            ||
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * Return custom rules set  | 
            ||
| 46 | */  | 
            ||
| 47 | abstract public function getRuleSet(): array;  | 
            ||
| 48 | |||
| 49 | 1 | public function getOptions(): array  | 
            |
| 52 | }  | 
            ||
| 53 | }  | 
            ||
| 54 |