1 | <?php |
||
14 | abstract class LineEndingAbstract implements FileTool { |
||
15 | |||
16 | const REGEX = '!\r\n?!'; |
||
17 | |||
18 | /** |
||
19 | * @var Query |
||
20 | */ |
||
21 | private $query; |
||
22 | |||
23 | |||
24 | /** |
||
25 | * @codeCoverageIgnore |
||
26 | * @param File $file |
||
27 | * @return boolean |
||
28 | */ |
||
29 | public function canProcess(File $file) { |
||
32 | |||
33 | |||
34 | /** |
||
35 | * @codeCoverageIgnore |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getDescription() { |
||
41 | |||
42 | |||
43 | /** |
||
44 | * @return Query |
||
45 | */ |
||
46 | 8 | protected function getFindQuery() { |
|
58 | |||
59 | |||
60 | /** |
||
61 | * @param File $file |
||
62 | * @return \Funivan\PhpTokenizer\Collection |
||
63 | */ |
||
64 | protected function getInvalidStartTokens(File $file) { |
||
68 | |||
69 | } |