We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 25 | final class Not implements Rule |
||
| 26 | 5 | { |
|
| 27 | /** |
||
| 28 | 5 | * @var Rule |
|
| 29 | */ |
||
| 30 | 5 | private $rule; |
|
| 31 | |||
| 32 | /** |
||
| 33 | 12 | * Initializes the rule. |
|
| 34 | * |
||
| 35 | 12 | * @param Rule $rule |
|
| 36 | */ |
||
| 37 | public function __construct(Rule $rule) |
||
| 38 | 12 | { |
|
| 39 | $this->rule = $rule; |
||
| 40 | 12 | } |
|
| 41 | 8 | ||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | 4 | */ |
|
| 45 | 4 | public function validate($input): Result |
|
| 52 | } |
||
| 53 |