Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | abstract class AbstractConfigurableSniff implements Sniff |
||
9 | { |
||
10 | protected bool $configured = false; |
||
11 | |||
12 | /** |
||
13 | * @inheritDoc |
||
14 | */ |
||
15 | 16 | public function process(File $file, $ptr): void |
|
46 | 16 | } |
|
47 | |||
48 | /** |
||
49 | * @param mixed[] $config |
||
50 | */ |
||
51 | abstract protected function configure(array $config): void; |
||
52 | |||
53 | abstract protected function run(File $file, int $ptr): void; |
||
54 | } |
||
55 |