Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistLintWorkflow.php
| Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | EOTEXT | ||||
| } | } | ||||
| public function requiresRepositoryAPI() { | public function requiresRepositoryAPI() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function run() { | public function run() { | ||||
| $console = PhutilConsole::getConsole(); | $console = PhutilConsole::getConsole(); | ||||
| $working_copy = $this->getWorkingCopy(); | $working_copy = $this->getWorkingCopyIdentity(); | ||||
| $configuration_manager = $this->getConfigurationManager(); | $configuration_manager = $this->getConfigurationManager(); | ||||
| $engine = $this->newLintEngine($this->getArgument('engine')); | $engine = $this->newLintEngine($this->getArgument('engine')); | ||||
| $rev = $this->getArgument('rev'); | $rev = $this->getArgument('rev'); | ||||
| $paths = $this->getArgument('paths'); | $paths = $this->getArgument('paths'); | ||||
| $everything = $this->getArgument('everything'); | $everything = $this->getArgument('everything'); | ||||
| if ($everything && $paths) { | if ($everything && $paths) { | ||||
| ▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines | |||||