Page MenuHomePhabricator

D9071.diff
No OneTemporary

D9071.diff

diff --git a/src/lint/linter/ArcanistXHPASTLinter.php b/src/lint/linter/ArcanistXHPASTLinter.php
--- a/src/lint/linter/ArcanistXHPASTLinter.php
+++ b/src/lint/linter/ArcanistXHPASTLinter.php
@@ -147,12 +147,16 @@
public function getLinterConfigurationOptions() {
return parent::getLinterConfigurationOptions() + array(
'xhpast.naminghook' => array(
- 'type' => 'optional ArcanistXHPASTLintNamingHook',
- 'help' => pht(''),
+ 'type' => 'optional string',
+ 'help' => pht(
+ 'Name of a concrete subclass of ArcanistXHPASTLintNamingHook which '.
+ 'enforces more granular naming convention rules for symbols.'),
),
'xhpast.switchhook' => array(
- 'type' => 'optional ArcanistXHPASTLintSwitchHook',
- 'help' => pht(''),
+ 'type' => 'optional string',
+ 'help' => pht(
+ 'Name of a concrete subclass of ArcanistXHPASTLintSwitchHook which '.
+ 'tunes the analysis of switch() statements for this linter.'),
),
);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 1:28 AM (20 h, 40 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6791481
Default Alt Text
D9071.diff (1 KB)

Event Timeline