Exemplo n.º 1
0
 protected final function getResultForPath($path)
 {
     if (empty($this->results[$path])) {
         $result = new ArcanistLintResult();
         $result->setPath($path);
         $result->setCacheVersion($this->cacheVersion);
         $this->results[$path] = $result;
     }
     return $this->results[$path];
 }
Exemplo n.º 2
0
 private function getResultForPath($path)
 {
     if (empty($this->results[$path])) {
         $result = new ArcanistLintResult();
         $result->setPath($path);
         $this->results[$path] = $result;
     }
     return $this->results[$path];
 }