]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Declare undeclared variable in lint engine
authorvrana <jakubv@fb.com>
Fri, 2 Nov 2012 19:35:09 +0000 (12:35 -0700)
committervrana <jakubv@fb.com>
Fri, 2 Nov 2012 23:53:12 +0000 (16:53 -0700)
Test Plan:
  $ arc lint

Reviewers: epriestley

Reviewed By: epriestley

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

src/lint/engine/ArcanistLintEngine.php

index a0bba72f342f60780c81d3067b32ba5fbd0d63a2..8ea1ef6a023fa8623b84fc639af804baa5ce5656 100644 (file)
@@ -61,6 +61,7 @@
 abstract class ArcanistLintEngine {
 
   protected $workingCopy;
+  protected $paths = array();
   protected $fileData = array();
 
   protected $charToLine = array();