I've add a .arclint for arc lint. php and phpcs are used for checking codes. It run well for our team. But in one PC(Win8),
php and phpcs have been added to environment variables, and can be run anywhere.
when arc lint, it display error:
2015-08-03 08:44:24] EXCEPTION: (PhutilAggregateException) Some linters failed:
- ArcanistMissingLinterException: Unable to locate binary "phpcs" to run lin
ter ArcanistPhpcsLinter. You may need to install the binary, or adjust your lint
er configuration.TO INSTALL: Install PHPCS with `pear install PHP_CodeSniffer`. - ArcanistMissingLinterException: Unable to locate binary "php" to run linter ArcanistPhpLinter. You may need to install the binary, or adjust your linter c
onfiguration.TO INSTALL: Install PHP. at [<arcanist>\src\lint\engine\ArcanistLintEngine.php:273]
arcanist(head=master, ref.master=0d6f3328a08f), phutil(head=master, ref.master=a
a6cd8f7e5e5)#0 <#2> ArcanistExternalLinter::checkBinaryConfiguration() called at [<arcanist>\src\lint\linter\ArcanistExternalLinter.php:270]
#1 <#2> ArcanistExternalLinter::getExecutableCommand() called at [<arcanist>\src\lint\linter\ArcanistExternalLinter.php:332]
#2 <#2> ArcanistExternalLinter::buildFutures(array) called at [<arcanist>\src\lint\linter\ArcanistFutureLinter.php:17]
#3 <#2> ArcanistFutureLinter::willLintPaths(array) called at [<arcanist>\src\lint\engine\ArcanistLintEngine.php:580]
#4 <#2> ArcanistLintEngine::executeLinterOnPaths(ArcanistPhpcsLinter, array) called at [<arcanist>\src\lint\engine\ArcanistLintEngine.php:541]
#5 <#2> ArcanistLintEngine::executeLintersOnChunk(array, array) called at [<arcanist>\src\lint\engine\ArcanistLintEngine.php:479]
#6 <#2> ArcanistLintEngine::executeLinters(array) called at [<arcanist>\src\lint\engine\ArcanistLintEngine.php:217]
#7 ArcanistLintEngine::run() called at [<arcanist>\src\workflow\ArcanistLintWorkflow.php:336]
#8 ArcanistLintWorkflow::run() called at [<arcanist>\scripts\arcanist.php:382]