mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Rename ArcanistXHPASTLintTestSwitchHook
class
Summary: Ref T5655. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T5655 Differential Revision: https://secure.phabricator.com/D11712
This commit is contained in:
parent
7c9b8237a0
commit
bf7b32fe2c
3 changed files with 4 additions and 4 deletions
|
@ -178,6 +178,7 @@ phutil_register_library_map(array(
|
||||||
'ArcanistTasksWorkflow' => 'workflow/ArcanistTasksWorkflow.php',
|
'ArcanistTasksWorkflow' => 'workflow/ArcanistTasksWorkflow.php',
|
||||||
'ArcanistTestCase' => 'infrastructure/testing/ArcanistTestCase.php',
|
'ArcanistTestCase' => 'infrastructure/testing/ArcanistTestCase.php',
|
||||||
'ArcanistTestResultParser' => 'unit/parser/ArcanistTestResultParser.php',
|
'ArcanistTestResultParser' => 'unit/parser/ArcanistTestResultParser.php',
|
||||||
|
'ArcanistTestXHPASTLintSwitchHook' => 'lint/linter/__tests__/ArcanistTestXHPASTLintSwitchHook.php',
|
||||||
'ArcanistTextLinter' => 'lint/linter/ArcanistTextLinter.php',
|
'ArcanistTextLinter' => 'lint/linter/ArcanistTextLinter.php',
|
||||||
'ArcanistTextLinterTestCase' => 'lint/linter/__tests__/ArcanistTextLinterTestCase.php',
|
'ArcanistTextLinterTestCase' => 'lint/linter/__tests__/ArcanistTextLinterTestCase.php',
|
||||||
'ArcanistTimeWorkflow' => 'workflow/ArcanistTimeWorkflow.php',
|
'ArcanistTimeWorkflow' => 'workflow/ArcanistTimeWorkflow.php',
|
||||||
|
@ -200,7 +201,6 @@ phutil_register_library_map(array(
|
||||||
'ArcanistXHPASTLintNamingHook' => 'lint/linter/xhpast/ArcanistXHPASTLintNamingHook.php',
|
'ArcanistXHPASTLintNamingHook' => 'lint/linter/xhpast/ArcanistXHPASTLintNamingHook.php',
|
||||||
'ArcanistXHPASTLintNamingHookTestCase' => 'lint/linter/xhpast/__tests__/ArcanistXHPASTLintNamingHookTestCase.php',
|
'ArcanistXHPASTLintNamingHookTestCase' => 'lint/linter/xhpast/__tests__/ArcanistXHPASTLintNamingHookTestCase.php',
|
||||||
'ArcanistXHPASTLintSwitchHook' => 'lint/linter/xhpast/ArcanistXHPASTLintSwitchHook.php',
|
'ArcanistXHPASTLintSwitchHook' => 'lint/linter/xhpast/ArcanistXHPASTLintSwitchHook.php',
|
||||||
'ArcanistXHPASTLintTestSwitchHook' => 'lint/linter/__tests__/ArcanistXHPASTLintTestSwitchHook.php',
|
|
||||||
'ArcanistXHPASTLinter' => 'lint/linter/ArcanistXHPASTLinter.php',
|
'ArcanistXHPASTLinter' => 'lint/linter/ArcanistXHPASTLinter.php',
|
||||||
'ArcanistXHPASTLinterTestCase' => 'lint/linter/__tests__/ArcanistXHPASTLinterTestCase.php',
|
'ArcanistXHPASTLinterTestCase' => 'lint/linter/__tests__/ArcanistXHPASTLinterTestCase.php',
|
||||||
'ArcanistXMLLinter' => 'lint/linter/ArcanistXMLLinter.php',
|
'ArcanistXMLLinter' => 'lint/linter/ArcanistXMLLinter.php',
|
||||||
|
@ -360,6 +360,7 @@ phutil_register_library_map(array(
|
||||||
'ArcanistSvnHookPreCommitWorkflow' => 'ArcanistWorkflow',
|
'ArcanistSvnHookPreCommitWorkflow' => 'ArcanistWorkflow',
|
||||||
'ArcanistTasksWorkflow' => 'ArcanistWorkflow',
|
'ArcanistTasksWorkflow' => 'ArcanistWorkflow',
|
||||||
'ArcanistTestCase' => 'ArcanistPhutilTestCase',
|
'ArcanistTestCase' => 'ArcanistPhutilTestCase',
|
||||||
|
'ArcanistTestXHPASTLintSwitchHook' => 'ArcanistXHPASTLintSwitchHook',
|
||||||
'ArcanistTextLinter' => 'ArcanistLinter',
|
'ArcanistTextLinter' => 'ArcanistLinter',
|
||||||
'ArcanistTextLinterTestCase' => 'ArcanistLinterTestCase',
|
'ArcanistTextLinterTestCase' => 'ArcanistLinterTestCase',
|
||||||
'ArcanistTimeWorkflow' => 'ArcanistPhrequentWorkflow',
|
'ArcanistTimeWorkflow' => 'ArcanistPhrequentWorkflow',
|
||||||
|
@ -376,7 +377,6 @@ phutil_register_library_map(array(
|
||||||
'ArcanistWhichWorkflow' => 'ArcanistWorkflow',
|
'ArcanistWhichWorkflow' => 'ArcanistWorkflow',
|
||||||
'ArcanistWorkflow' => 'Phobject',
|
'ArcanistWorkflow' => 'Phobject',
|
||||||
'ArcanistXHPASTLintNamingHookTestCase' => 'ArcanistTestCase',
|
'ArcanistXHPASTLintNamingHookTestCase' => 'ArcanistTestCase',
|
||||||
'ArcanistXHPASTLintTestSwitchHook' => 'ArcanistXHPASTLintSwitchHook',
|
|
||||||
'ArcanistXHPASTLinter' => 'ArcanistBaseXHPASTLinter',
|
'ArcanistXHPASTLinter' => 'ArcanistBaseXHPASTLinter',
|
||||||
'ArcanistXHPASTLinterTestCase' => 'ArcanistLinterTestCase',
|
'ArcanistXHPASTLinterTestCase' => 'ArcanistLinterTestCase',
|
||||||
'ArcanistXMLLinter' => 'ArcanistLinter',
|
'ArcanistXMLLinter' => 'ArcanistLinter',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
final class ArcanistXHPASTLintTestSwitchHook
|
final class ArcanistTestXHPASTLintSwitchHook
|
||||||
extends ArcanistXHPASTLintSwitchHook {
|
extends ArcanistXHPASTLintSwitchHook {
|
||||||
|
|
||||||
public function checkSwitchToken(XHPASTToken $token) {
|
public function checkSwitchToken(XHPASTToken $token) {
|
|
@ -93,4 +93,4 @@ warning:71:3
|
||||||
warning:75:3
|
warning:75:3
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
{"config":{"xhpast.switchhook":"ArcanistXHPASTLintTestSwitchHook"}}
|
{"config":{"xhpast.switchhook":"ArcanistTestXHPASTLintSwitchHook"}}
|
||||||
|
|
Loading…
Reference in a new issue