1 | <?php |
||
4 | class PhpMndLoader implements FileChecker |
||
5 | { |
||
6 | private $invalidLines = []; |
||
7 | |||
8 | private $file; |
||
9 | |||
10 | public function __construct($filename) |
||
14 | /** |
||
15 | * @return array array containing filename and line numbers |
||
16 | */ |
||
17 | public function getLines() |
||
30 | |||
31 | /** |
||
32 | * Method to determine if the line is valid in the context |
||
33 | * null does not include the line in the stats |
||
34 | * @param $file |
||
35 | * @param $lineNumber |
||
36 | * @return bool|null |
||
37 | */ |
||
38 | public function isValidLine($file, $lineNumber) |
||
42 | |||
43 | /** |
||
44 | * return as true to include files, phpmnd only shows files with errors |
||
45 | */ |
||
46 | public function handleNotFoundFile() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public static function getDescription() |
||
58 | } |
||
59 |