Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistCheckstyleLinter.php
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | public function getVersion() { | ||||
| } | } | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function getInstallInstructions() { | public function getInstallInstructions() { | ||||
| return pht('Ensure java is configured as interpreter and '. | return pht('Ensure java is configured as interpreter and '. | ||||
| 'the checkstyle jar is configured as the binary. If you need to pass '. | 'the checkstyle jar is configured as the binary. If you need to pass '. | ||||
| 'additional additional JVM arguments include them with the '. | 'additional additional JVM arguments include them with the '. | ||||
| '`interpreter` field. Use the `flags` field to configure checkstyle '. | '`interpreter.flags` field. Use the `flags` field to configure '. | ||||
| 'arguments, including the `-c my_styles.xml` for the styles to verify.'); | 'checkstyle arguments, including the `-c my_styles.xml` for '. | ||||
| 'the styles to verify.'); | |||||
| } | } | ||||
| protected function getMandatoryFlags() { | protected function getMandatoryFlags() { | ||||
| return array('-f', 'xml'); | return array('-f', 'xml'); | ||||
| } | } | ||||
| public function shouldExpectCommandErrors() { | public function shouldExpectCommandErrors() { | ||||
| return false; | return false; | ||||
| ▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines | |||||