1 | <?php |
||
16 | final class File extends BaseFile implements FileInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | public $tokenizerType = 'PHP'; |
||
22 | |||
23 | /** |
||
24 | * @var Fixer |
||
25 | */ |
||
26 | public $fixer; |
||
27 | |||
28 | /** |
||
29 | * @var ErrorDataCollector |
||
30 | */ |
||
31 | private $reportCollector; |
||
32 | |||
33 | /** |
||
34 | * @var bool |
||
35 | */ |
||
36 | private $isFixer; |
||
37 | |||
38 | public function __construct( |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function parse() |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function process() |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function addFixableError($error, $stackPtr, $code, $data=[], $severity=0) |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | protected function addMessage( |
||
114 | |||
115 | /** |
||
116 | * {@inheritdoc} |
||
117 | */ |
||
118 | public function getContent() : string |
||
122 | } |
||
123 |