1 | <?php |
||
15 | final class CodeStyle implements CodeStyleInterface |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | const INDENTATION_TABS = 'tabs'; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | const INDENTATION_SPACES = 'spaces'; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | private $indentationStandard; |
||
32 | |||
33 | |||
34 | public function __construct(string $indentationStandard) |
||
38 | 8 | ||
39 | |||
40 | public function applyForFile(string $file) |
||
46 | 4 | ||
47 | 3 | ||
48 | private function convertSpacesToTabsForFile(string $file) |
||
54 | |||
55 | } |
||
56 |