1 | <?php |
||
15 | final class FileToTokensParser |
||
16 | { |
||
17 | /** |
||
18 | * @var EolCharDetector |
||
19 | */ |
||
20 | private $eolCharDetector; |
||
21 | |||
22 | 1 | public function __construct(EolCharDetector $eolCharDetector) |
|
26 | |||
27 | /** |
||
28 | * @var stdClass |
||
29 | */ |
||
30 | private $legacyConfig; |
||
31 | |||
32 | 1 | public function parseFromFilePath(string $filePath) : array |
|
39 | |||
40 | 1 | private function parseLegacyWithFileContentAndEolChar($fileContent, $eolChar) : array |
|
46 | |||
47 | 1 | private function getLegacyConfig() : stdClass |
|
59 | |||
60 | 1 | private function setupLegacyVerbosityConstant() |
|
66 | } |
||
67 |