Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | final class ShouldFailChecker |
||
16 | { |
||
17 | use \Nette\SmartObject; |
||
18 | |||
19 | public const ANNOTATION_NAME = "fail"; |
||
20 | |||
21 | private Reader $annotationsReader; |
||
22 | |||
23 | 1 | public function __construct(Reader $annotationsReader) |
|
24 | { |
||
25 | 1 | $this->annotationsReader = $annotationsReader; |
|
26 | 1 | } |
|
27 | |||
28 | 1 | public function shouldFail(string $class, string $method): bool |
|
31 | } |
||
32 | } |
||
33 |