diff --git a/src/configuration/ArcanistConfiguration.php b/src/configuration/ArcanistConfiguration.php index 91d0dc65..8761d8cb 100644 --- a/src/configuration/ArcanistConfiguration.php +++ b/src/configuration/ArcanistConfiguration.php @@ -31,7 +31,13 @@ class ArcanistConfiguration extends Phobject { $command = 'version'; } - return idx($this->buildAllWorkflows(), $command); + $workflow = idx($this->buildAllWorkflows(), $command); + + if (!$workflow) { + return null; + } + + return clone $workflow; } public function buildAllWorkflows() { diff --git a/src/lint/linter/ArcanistLesscLinter.php b/src/lint/linter/ArcanistLesscLinter.php index 4032b1ed..f49d48ae 100644 --- a/src/lint/linter/ArcanistLesscLinter.php +++ b/src/lint/linter/ArcanistLesscLinter.php @@ -20,11 +20,11 @@ final class ArcanistLesscLinter extends ArcanistExternalLinter { private $strictUnits = false; public function getInfoName() { - return 'Less'; + return 'CSS pre-processor'; } public function getInfoURI() { - return 'https://lesscss.org/'; + return 'http://lesscss.org/'; } public function getInfoDescription() { diff --git a/src/lint/linter/ArcanistPEP8Linter.php b/src/lint/linter/ArcanistPEP8Linter.php index f1cb21ee..682ac6a8 100644 --- a/src/lint/linter/ArcanistPEP8Linter.php +++ b/src/lint/linter/ArcanistPEP8Linter.php @@ -6,7 +6,7 @@ final class ArcanistPEP8Linter extends ArcanistExternalLinter { public function getInfoName() { - return 'pep8'; + return 'Python PEP 8'; } public function getInfoURI() {