| 1 | <?php |
||
| 12 | class SyntaxRule implements Rule |
||
| 13 | { |
||
| 14 | private $jsHintExecutable; |
||
| 15 | private $tmpDir; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param $jsHintExecutable string The path to the jshint executable |
||
| 19 | * @param $tmpDir string The directory the temporary js file should be stored |
||
| 20 | */ |
||
| 21 | public function init($jsHintExecutable = '', $tmpDir = '/tmp') |
||
| 26 | |||
| 27 | public function validate(Response $response) |
||
| 47 | } |
||
| 48 |