1 | <?php |
||
11 | class CheckstyleLoader implements FileChecker |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $file; |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $coveredLines; |
||
21 | |||
22 | /** |
||
23 | * XMLReport constructor. |
||
24 | * @param string $file the path the to phpunit clover file |
||
25 | */ |
||
26 | public function __construct($file) |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function parseLines() |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function getErrorsOnLine($file, $line) |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function handleNotFoundFile() |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public static function getDescription() |
||
77 | |||
78 | /** |
||
79 | * @param $reader |
||
80 | * @param $currentFile |
||
81 | */ |
||
82 | protected function handleErrors($reader, $currentFile) |
||
91 | |||
92 | /** |
||
93 | * @param $reader |
||
94 | * @param $currentFile |
||
95 | * @return string |
||
96 | */ |
||
97 | protected function handleFile($reader, $currentFile) |
||
110 | } |
||
111 |