]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Change lint_engine to lint.engine
authorvrana <jakubv@fb.com>
Tue, 20 Nov 2012 23:37:31 +0000 (15:37 -0800)
committervrana <jakubv@fb.com>
Tue, 20 Nov 2012 23:42:35 +0000 (15:42 -0800)
Summary: Also unit_engine.

Test Plan: None.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, aurelijus
Differential Revision: https://secure.phabricator.com/D4001

src/lint/engine/ArcanistLintEngine.php
src/unit/engine/PhpunitTestEngine.php
src/workflow/ArcanistSvnHookPreCommitWorkflow.php

index 424c4c6a0b387d7426e24172580be92ed54a6d7f..41e1153e8b6f754a23c716fcfb47338add97efa6 100644 (file)
@@ -3,12 +3,12 @@
 /**
  * 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
- * key "lint_engine". The engine must extend this class. For example:
+ * key "lint.engine". The engine must extend this class. For example:
  *
  *  lang=js
  *  {
  *    // ...
- *    "lint_engine" : "ExampleLintEngine",
+ *    "lint.engine" : "ExampleLintEngine",
  *    // ...
  *  }
  *
index 5ed4fc5b7cdb62e72c1af4859db41e6d600e0a27..7dd5b936724081f4847998ad73c87e8072a82a01 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * 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
  * (no directory support).
  * To use custom phpunit configuration, set phpunit_config in
index a89a8a6e57afe7093bb11bf28ad54eed34c199c9..3ec3af082791c1831cd1303b9fdbe7e6c1df4268 100644 (file)
@@ -181,7 +181,7 @@ EOTEXT
       $transaction,
       $repository);
 
-    $lint_engine = $working_copy->getConfig('lint_engine');
+    $lint_engine = $working_copy->getConfig('lint.engine');
     if (!$lint_engine) {
       return 0;
     }