| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class RetrospectiveCheck implements CheckInterface |
||
| 14 | { |
||
| 15 | protected const NAME = 'retrospective'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritDoc} |
||
| 19 | * |
||
| 20 | * @throws ValidationError if there are previous errors |
||
| 21 | */ |
||
| 22 | 3 | public function execute($value, array $previousErrors): void |
|
| 26 | } |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | * |
||
| 32 | * @return true |
||
| 33 | */ |
||
| 34 | public function isInterrupting(): bool |
||
| 35 | { |
||
| 36 | return true; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param bool $value |
||
| 41 | * |
||
| 42 | * @return static |
||
| 43 | */ |
||
| 44 | public function setInterrupting(bool $value = true): self |
||
| 45 | { |
||
| 46 | return $this; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritDoc} |
||
| 51 | */ |
||
| 52 | public function getName(): string |
||
| 55 | } |
||
| 56 | } |
||
| 57 |