Skip to content

Commit

Permalink
Change lint_engine to lint.engine
Browse files Browse the repository at this point in the history
Summary: Also unit_engine.

Test Plan: None.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, aurelijus

Differential Revision: https://secure.phabricator.com/D4001
  • Loading branch information
vrana committed Nov 20, 2012
1 parent dfdacc7 commit ec8c214
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lint/engine/ArcanistLintEngine.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
/** /**
* Manages lint execution. When you run 'arc lint' or 'arc diff', Arcanist * Manages lint execution. When you run 'arc lint' or 'arc diff', Arcanist
* checks your .arcconfig to see if you have specified a lint engine in the * checks your .arcconfig to see if you have specified a lint engine in the
* key "lint_engine". The engine must extend this class. For example: * key "lint.engine". The engine must extend this class. For example:
* *
* lang=js * lang=js
* { * {
* // ... * // ...
* "lint_engine" : "ExampleLintEngine", * "lint.engine" : "ExampleLintEngine",
* // ... * // ...
* } * }
* *
Expand Down
2 changes: 1 addition & 1 deletion src/unit/engine/PhpunitTestEngine.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/** /**
* PHPUnit wrapper * PHPUnit wrapper
* *
* To use, set unit_engine in .arcconfig, or use --engine flag * To use, set unit.engine in .arcconfig, or use --engine flag
* with arc unit. Currently supports only class & test files * with arc unit. Currently supports only class & test files
* (no directory support). * (no directory support).
* To use custom phpunit configuration, set phpunit_config in * To use custom phpunit configuration, set phpunit_config in
Expand Down
2 changes: 1 addition & 1 deletion src/workflow/ArcanistSvnHookPreCommitWorkflow.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function run() {
$transaction, $transaction,
$repository); $repository);


$lint_engine = $working_copy->getConfig('lint_engine'); $lint_engine = $working_copy->getConfig('lint.engine');
if (!$lint_engine) { if (!$lint_engine) {
return 0; return 0;
} }
Expand Down

0 comments on commit ec8c214

Please sign in to comment.