Differential D17787 Diff 42778 src/lint/linter/standards/phutil/ArcanistPhutilXHPASTLinterStandard.php
Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/standards/phutil/ArcanistPhutilXHPASTLinterStandard.php
| Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | return array( | ||||
| 'queryfx' => 1, | 'queryfx' => 1, | ||||
| 'queryfx_all' => 1, | 'queryfx_all' => 1, | ||||
| 'queryfx_one' => 1, | 'queryfx_one' => 1, | ||||
| ), | ), | ||||
| ); | ); | ||||
| } | } | ||||
| public function getLinterSeverityMap() { | public function getLinterSeverityMap() { | ||||
| $advice = ArcanistLintSeverity::SEVERITY_ADVICE; | $advice = ArcanistLintSeverity::SEVERITY_ADVICE; | ||||
| $error = ArcanistLintSeverity::SEVERITY_ERROR; | $error = ArcanistLintSeverity::SEVERITY_ERROR; | ||||
| $warning = ArcanistLintSeverity::SEVERITY_WARNING; | |||||
| return array( | return array( | ||||
| ArcanistTodoCommentXHPASTLinterRule::ID => $advice, | ArcanistTodoCommentXHPASTLinterRule::ID => $advice, | ||||
| ArcanistCommentSpacingXHPASTLinterRule::ID => $error, | ArcanistCommentSpacingXHPASTLinterRule::ID => $error, | ||||
| ArcanistRaggedClassTreeEdgeXHPASTLinterRule::ID => $warning, | |||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||