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