1 | <?php |
||
6 | class PhpMndLoader implements FileChecker |
||
7 | { |
||
8 | private $invalidLines = []; |
||
9 | |||
10 | private $file; |
||
11 | |||
12 | public function __construct($filename) |
||
16 | /** |
||
17 | * @return array array containing filename and line numbers |
||
18 | */ |
||
19 | public function getLines() |
||
32 | |||
33 | /** |
||
34 | * Method to determine if the line is valid in the context |
||
35 | * null does not include the line in the stats |
||
36 | * @param $file |
||
37 | * @param $lineNumber |
||
38 | * @return bool|null |
||
39 | */ |
||
40 | public function isValidLine($file, $lineNumber) |
||
44 | |||
45 | /** |
||
46 | * return as true to include files, phpmnd only shows files with errors |
||
47 | */ |
||
48 | public function handleNotFoundFile() |
||
52 | } |
||
53 |