| 1 | <?php |
||
| 5 | abstract class Sniffer |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Run PHPCS on given files. |
||
| 9 | * |
||
| 10 | * @param array $files |
||
| 11 | * @param string $standards |
||
| 12 | * @param array $options |
||
| 13 | * |
||
| 14 | * @return array |
||
| 15 | */ |
||
| 16 | public static function sniffFiles(array $files, $standards, array $options) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Run PHPCS in a single file. |
||
| 35 | * |
||
| 36 | * @param string $file |
||
| 37 | * @param string $standards |
||
| 38 | * |
||
| 39 | * @return string|null |
||
| 40 | */ |
||
| 41 | private static function sniffFile($file, $standards) |
||
| 64 | } |
||
| 65 |