We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 | 
| Total Lines | 38 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 26 | abstract class AbstractEnvelope extends AbstractRule  | 
            ||
| 27 | { | 
            ||
| 28 | /**  | 
            ||
| 29 | * @var Validatable  | 
            ||
| 30 | */  | 
            ||
| 31 | private $validatable;  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @var array  | 
            ||
| 35 | */  | 
            ||
| 36 | private $parameters;  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * Initializes the rule.  | 
            ||
| 40 | *  | 
            ||
| 41 | * @param Validatable $validatable  | 
            ||
| 42 | * @param array $parameters  | 
            ||
| 43 | */  | 
            ||
| 44 | 11 | public function __construct(Validatable $validatable, array $parameters)  | 
            |
| 48 | 11 | }  | 
            |
| 49 | |||
| 50 | /**  | 
            ||
| 51 |      * {@inheritdoc} | 
            ||
| 52 | */  | 
            ||
| 53 | 10 | public function validate($input): bool  | 
            |
| 56 | }  | 
            ||
| 57 | |||
| 58 | /**  | 
            ||
| 59 |      * {@inheritdoc} | 
            ||
| 60 | */  | 
            ||
| 61 | 6 | public function reportError($input, array $extraParameters = [])  | 
            |
| 66 |