2011-01-10 00:22:25 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2012-05-30 23:22:59 +02:00
|
|
|
* This file is automatically generated. Use 'arc liberate' to rebuild it.
|
2014-07-17 23:34:59 +02:00
|
|
|
*
|
2011-01-10 00:22:25 +01:00
|
|
|
* @generated
|
2012-05-30 23:22:59 +02:00
|
|
|
* @phutil-library-version 2
|
2011-01-10 00:22:25 +01:00
|
|
|
*/
|
|
|
|
phutil_register_library_map(array(
|
2012-05-30 23:22:59 +02:00
|
|
|
'__library_version__' => 2,
|
2014-07-17 23:34:59 +02:00
|
|
|
'class' => array(
|
2015-11-23 22:19:35 +01:00
|
|
|
'ArcanistAbstractMethodBodyXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistAbstractMethodBodyXHPASTLinterRule.php',
|
|
|
|
'ArcanistAbstractMethodBodyXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistAbstractMethodBodyXHPASTLinterRuleTestCase.php',
|
2015-11-23 22:18:06 +01:00
|
|
|
'ArcanistAbstractPrivateMethodXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistAbstractPrivateMethodXHPASTLinterRule.php',
|
|
|
|
'ArcanistAbstractPrivateMethodXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistAbstractPrivateMethodXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistAliasFunctionXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistAliasFunctionXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistAliasFunctionXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistAliasFunctionXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistAliasWorkflow' => 'workflow/ArcanistAliasWorkflow.php',
|
|
|
|
'ArcanistAmendWorkflow' => 'workflow/ArcanistAmendWorkflow.php',
|
2012-07-21 11:09:21 +02:00
|
|
|
'ArcanistAnoidWorkflow' => 'workflow/ArcanistAnoidWorkflow.php',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistArrayCombineXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistArrayCombineXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArrayCombineXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistArrayCombineXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistArrayIndexSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistArrayIndexSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArrayIndexSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistArrayIndexSpacingXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistArraySeparatorXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistArraySeparatorXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArraySeparatorXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistArraySeparatorXHPASTLinterRuleTestCase.php',
|
2015-08-10 22:58:28 +02:00
|
|
|
'ArcanistArrayValueXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistArrayValueXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArrayValueXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistArrayValueXHPASTLinterRuleTestCase.php',
|
2013-05-14 20:00:56 +02:00
|
|
|
'ArcanistBackoutWorkflow' => 'workflow/ArcanistBackoutWorkflow.php',
|
Add a DSL for selecting base commits
Summary:
New optional mode. If you set 'base' in local, project or global config or pass '--base' to 'arc diff' or 'arc which', it switches to DSL mode.
In DSL mode, lists of rules from args, local, project and global config are resolved, in that order. Rules can manipulate the rule machine or resolve into actual commits. Provides support for some 'arc' rules (mostly machine manipulation) and 'git' rules (symbolic ref and merge-base).
Test Plan:
Ran unit tests. Also:
```$ arc which --show-base --base 'arc:prompt'
Against which commit? HEAD
HEAD
$ arc which --show-base --base 'git:HEAD'
HEAD
$ arc which --show-base --base 'git:fake'
Usage Exception: None of the rules in your 'base' configuration matched a valid commit. Adjust rules or specify which commit you want to use explicitly.
$ arc which --show-base --base 'git:origin/master'
origin/master
$ arc which --show-base --base 'git:upstream'
Usage Exception: None of the rules in your 'base' configuration matched a valid commit. Adjust rules or specify which commit you want to use explicitly.
$ arc which --show-base --base 'literal:derp'
derp
$ arc which --show-base --base 'arc:halt'
Usage Exception: None of the rules in your 'base' configuration matched a valid commit. Adjust rules or specify which commit you want to use explicitly.
$ arc set-config --local base git:origin/master
Set key 'base' = 'git:origin/master' in local config.
$ arc which --show-base
origin/master
$ arc which --show-base --base 'git:HEAD^'
HEAD^
$ arc which --show-base --base 'arc:yield, git:HEAD^'
origin/master
$ arc which --show-base --base 'arc:global, git:HEAD^'
HEAD^
$ arc which --show-base --base 'arc:global, git:merge-base(origin/master)'
3f4f8992fba8d1f142974da36a82bae900e247c0```
Reviewers: dschleimer, vrana
Reviewed By: dschleimer
CC: aran
Maniphest Tasks: T1233
Differential Revision: https://secure.phabricator.com/D2748
2012-06-15 23:01:28 +02:00
|
|
|
'ArcanistBaseCommitParser' => 'parser/ArcanistBaseCommitParser.php',
|
|
|
|
'ArcanistBaseCommitParserTestCase' => 'parser/__tests__/ArcanistBaseCommitParserTestCase.php',
|
2013-01-29 07:03:03 +01:00
|
|
|
'ArcanistBaseXHPASTLinter' => 'lint/linter/ArcanistBaseXHPASTLinter.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistBinaryExpressionSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistBinaryExpressionSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistBinaryExpressionSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistBinaryExpressionSpacingXHPASTLinterRuleTestCase.php',
|
2015-12-02 23:47:27 +01:00
|
|
|
'ArcanistBinaryNumericScalarCasingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistBinaryNumericScalarCasingXHPASTLinterRule.php',
|
|
|
|
'ArcanistBinaryNumericScalarCasingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistBinaryNumericScalarCasingXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistBlacklistedFunctionXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistBlacklistedFunctionXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistBlacklistedFunctionXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistBlacklistedFunctionXHPASTLinterRuleTestCase.php',
|
2016-06-09 19:48:32 +02:00
|
|
|
'ArcanistBlindlyTrustHTTPEngineExtension' => 'configuration/ArcanistBlindlyTrustHTTPEngineExtension.php',
|
2013-01-31 02:33:32 +01:00
|
|
|
'ArcanistBookmarkWorkflow' => 'workflow/ArcanistBookmarkWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistBraceFormattingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistBraceFormattingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistBraceFormattingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistBraceFormattingXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistBranchWorkflow' => 'workflow/ArcanistBranchWorkflow.php',
|
2012-12-09 23:09:35 +01:00
|
|
|
'ArcanistBrowseWorkflow' => 'workflow/ArcanistBrowseWorkflow.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistBundle' => 'parser/ArcanistBundle.php',
|
|
|
|
'ArcanistBundleTestCase' => 'parser/__tests__/ArcanistBundleTestCase.php',
|
2013-08-02 14:13:23 +02:00
|
|
|
'ArcanistCSSLintLinter' => 'lint/linter/ArcanistCSSLintLinter.php',
|
2013-08-23 20:52:44 +02:00
|
|
|
'ArcanistCSSLintLinterTestCase' => 'lint/linter/__tests__/ArcanistCSSLintLinterTestCase.php',
|
Add C# linter for Arcanist.
Summary:
Completes T3859. This implements a C# linter for Arcanist, which in turn uses `cslint` from `cstools` to actually perform the linting. `cslint` internally uses StyleCop in addition to it's own lint rules.
Unlike other linters, C# is a compiled language, which means that the StyleCop integration must be aware of the full project. To this end, there is the `discovery` setting in `.arclint`. This allows users to define mappings between C# files and the projects they belong to. Here is an configuration for `.arclint` (and is the one we use):
```
{
"linters": {
"csharp": {
"type": "csharp",
"include": "(\\.cs$)",
"binary": "cstools/cslint/bin/Debug/cslint.exe",
"discovery": {
"([^/]+)/(.*?)\\.cs": [
"$1/$1.Linux.csproj"
],
"([^\\\\]+)\\\\(.*?)\\.cs": [
"$1\\$1.Windows.csproj"
]
}
}
}
}
```
Test Plan: Tested under both Linux and Windows. Changed some files, ran `arc lint` and it all worked correctly.
Reviewers: epriestley
Reviewed By: epriestley
CC: Korvin, aran, jamesr
Maniphest Tasks: T3859
Differential Revision: https://secure.phabricator.com/D7170
2013-10-01 20:37:26 +02:00
|
|
|
'ArcanistCSharpLinter' => 'lint/linter/ArcanistCSharpLinter.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistCallConduitWorkflow' => 'workflow/ArcanistCallConduitWorkflow.php',
|
2015-08-05 22:57:46 +02:00
|
|
|
'ArcanistCallParenthesesXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistCallParenthesesXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCallParenthesesXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistCallParenthesesXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistCallTimePassByReferenceXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistCallTimePassByReferenceXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCallTimePassByReferenceXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistCallTimePassByReferenceXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistCapabilityNotSupportedException' => 'workflow/exception/ArcanistCapabilityNotSupportedException.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistCastSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistCastSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCastSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistCastSpacingXHPASTLinterRuleTestCase.php',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistCheckstyleXMLLintRenderer' => 'lint/renderer/ArcanistCheckstyleXMLLintRenderer.php',
|
2014-05-19 01:57:08 +02:00
|
|
|
'ArcanistChmodLinter' => 'lint/linter/ArcanistChmodLinter.php',
|
2015-01-14 20:58:10 +01:00
|
|
|
'ArcanistChmodLinterTestCase' => 'lint/linter/__tests__/ArcanistChmodLinterTestCase.php',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistClassExtendsObjectXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistClassExtendsObjectXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistClassExtendsObjectXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistClassExtendsObjectXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistClassFilenameMismatchXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistClassFilenameMismatchXHPASTLinterRule.php',
|
2015-11-23 22:18:38 +01:00
|
|
|
'ArcanistClassMustBeDeclaredAbstractXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistClassMustBeDeclaredAbstractXHPASTLinterRule.php',
|
|
|
|
'ArcanistClassMustBeDeclaredAbstractXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistClassMustBeDeclaredAbstractXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistClassNameLiteralXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistClassNameLiteralXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistClassNameLiteralXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistClassNameLiteralXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistCloseRevisionWorkflow' => 'workflow/ArcanistCloseRevisionWorkflow.php',
|
|
|
|
'ArcanistCloseWorkflow' => 'workflow/ArcanistCloseWorkflow.php',
|
2014-05-15 18:18:24 +02:00
|
|
|
'ArcanistClosureLinter' => 'lint/linter/ArcanistClosureLinter.php',
|
|
|
|
'ArcanistClosureLinterTestCase' => 'lint/linter/__tests__/ArcanistClosureLinterTestCase.php',
|
2014-05-17 06:58:01 +02:00
|
|
|
'ArcanistCoffeeLintLinter' => 'lint/linter/ArcanistCoffeeLintLinter.php',
|
|
|
|
'ArcanistCoffeeLintLinterTestCase' => 'lint/linter/__tests__/ArcanistCoffeeLintLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistCommentRemover' => 'parser/ArcanistCommentRemover.php',
|
|
|
|
'ArcanistCommentRemoverTestCase' => 'parser/__tests__/ArcanistCommentRemoverTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistCommentSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistCommentSpacingXHPASTLinterRule.php',
|
|
|
|
'ArcanistCommentStyleXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistCommentStyleXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCommentStyleXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistCommentStyleXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistCommitWorkflow' => 'workflow/ArcanistCommitWorkflow.php',
|
2015-02-09 20:57:10 +01:00
|
|
|
'ArcanistCompilerLintRenderer' => 'lint/renderer/ArcanistCompilerLintRenderer.php',
|
2015-08-19 13:39:11 +02:00
|
|
|
'ArcanistComposerLinter' => 'lint/linter/ArcanistComposerLinter.php',
|
2015-02-09 20:57:17 +01:00
|
|
|
'ArcanistComprehensiveLintEngine' => 'lint/engine/ArcanistComprehensiveLintEngine.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistConcatenationOperatorXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistConcatenationOperatorXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistConcatenationOperatorXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistConcatenationOperatorXHPASTLinterRuleTestCase.php',
|
2012-05-30 23:22:59 +02:00
|
|
|
'ArcanistConfiguration' => 'configuration/ArcanistConfiguration.php',
|
Lay groundwork for configuration-driven linters
Summary:
Ref T2039. That task has a bunch of discussion, but basically we do a poor job of serving the midrange of lint configuration right now.
If you have something simple, the default linters work.
If you have something complex, building your own engine lets you do whatever you want.
But many users want something in between, which isn't really well accommodated. The idea is to let you write a `.arclint` file, which looks something like this:
{
"linters" : {
"css" : {
"type" : "csslint",
"include" : "(\.css$)",
"exclude" : "(^externals/)",
"bin" : "/usr/local/bin/csslint"
},
"js" : {
"type" : "jshint",
"include" : "(\.js$)",
"exclude" : "(^externals/)",
"bin" : "support/bin/jshint",
"interpreter" : "/usr/local/bin/node"
}
}
}
...which will provide a bunch of common options around lint severity, interpreter and binary locaitons, included and excluded files, etc.
This implements some basics, and very rough support in the Filename linter.
Test Plan:
Generated a `.arclint` file and saw it apply filename lint correctly. Used `debug` mode and tried invalid regexps.
{
"debug" : true,
"linters" : {
"filename" : {
"type" : "filename",
"exclude" : ["@^externals/@"]
}
}
}
Next steps include:
- Provide an external linter archetype (T3186) and expose a common set of configuration here ("bin", "interpreter", "flags", "severity").
- Provide a `.arcunit` file which works similarly (it can probably be simpler).
Reviewers: btrahan, Firehed
Reviewed By: btrahan
CC: aran
Maniphest Tasks: T2039
Differential Revision: https://secure.phabricator.com/D6797
2013-08-23 01:02:16 +02:00
|
|
|
'ArcanistConfigurationDrivenLintEngine' => 'lint/engine/ArcanistConfigurationDrivenLintEngine.php',
|
2015-08-10 22:54:15 +02:00
|
|
|
'ArcanistConfigurationDrivenUnitTestEngine' => 'unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php',
|
2013-10-19 01:10:06 +02:00
|
|
|
'ArcanistConfigurationManager' => 'configuration/ArcanistConfigurationManager.php',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistConsoleLintRenderer' => 'lint/renderer/ArcanistConsoleLintRenderer.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistConstructorParenthesesXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistConstructorParenthesesXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistConstructorParenthesesXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistConstructorParenthesesXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistControlStatementSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistControlStatementSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistControlStatementSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistControlStatementSpacingXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistCoverWorkflow' => 'workflow/ArcanistCoverWorkflow.php',
|
2013-01-07 17:16:45 +01:00
|
|
|
'ArcanistCppcheckLinter' => 'lint/linter/ArcanistCppcheckLinter.php',
|
2014-05-12 13:30:36 +02:00
|
|
|
'ArcanistCppcheckLinterTestCase' => 'lint/linter/__tests__/ArcanistCppcheckLinterTestCase.php',
|
2013-01-05 03:59:38 +01:00
|
|
|
'ArcanistCpplintLinter' => 'lint/linter/ArcanistCpplintLinter.php',
|
|
|
|
'ArcanistCpplintLinterTestCase' => 'lint/linter/__tests__/ArcanistCpplintLinterTestCase.php',
|
2015-12-08 20:56:48 +01:00
|
|
|
'ArcanistCurlyBraceArrayIndexXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistCurlyBraceArrayIndexXHPASTLinterRule.php',
|
|
|
|
'ArcanistCurlyBraceArrayIndexXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistCurlyBraceArrayIndexXHPASTLinterRuleTestCase.php',
|
2015-07-22 22:43:35 +02:00
|
|
|
'ArcanistDeclarationParenthesesXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistDeclarationParenthesesXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDeclarationParenthesesXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistDeclarationParenthesesXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDefaultParametersXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistDefaultParametersXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDefaultParametersXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistDefaultParametersXHPASTLinterRuleTestCase.php',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistDeprecationXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistDeprecationXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDeprecationXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistDeprecationXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistDiffChange' => 'parser/diff/ArcanistDiffChange.php',
|
|
|
|
'ArcanistDiffChangeType' => 'parser/diff/ArcanistDiffChangeType.php',
|
|
|
|
'ArcanistDiffHunk' => 'parser/diff/ArcanistDiffHunk.php',
|
|
|
|
'ArcanistDiffParser' => 'parser/ArcanistDiffParser.php',
|
|
|
|
'ArcanistDiffParserTestCase' => 'parser/__tests__/ArcanistDiffParserTestCase.php',
|
2012-05-30 23:22:59 +02:00
|
|
|
'ArcanistDiffUtils' => 'difference/ArcanistDiffUtils.php',
|
|
|
|
'ArcanistDiffUtilsTestCase' => 'difference/__tests__/ArcanistDiffUtilsTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistDiffWorkflow' => 'workflow/ArcanistDiffWorkflow.php',
|
|
|
|
'ArcanistDifferentialCommitMessage' => 'differential/ArcanistDifferentialCommitMessage.php',
|
|
|
|
'ArcanistDifferentialCommitMessageParserException' => 'differential/ArcanistDifferentialCommitMessageParserException.php',
|
2013-10-17 23:59:04 +02:00
|
|
|
'ArcanistDifferentialDependencyGraph' => 'differential/ArcanistDifferentialDependencyGraph.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistDifferentialRevisionHash' => 'differential/constants/ArcanistDifferentialRevisionHash.php',
|
|
|
|
'ArcanistDifferentialRevisionStatus' => 'differential/constants/ArcanistDifferentialRevisionStatus.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDoubleQuoteXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistDoubleQuoteXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDoubleQuoteXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistDoubleQuoteXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistDownloadWorkflow' => 'workflow/ArcanistDownloadWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDuplicateKeysInArrayXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistDuplicateKeysInArrayXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDuplicateKeysInArrayXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistDuplicateKeysInArrayXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDuplicateSwitchCaseXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistDuplicateSwitchCaseXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDuplicateSwitchCaseXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistDuplicateSwitchCaseXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDynamicDefineXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistDynamicDefineXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDynamicDefineXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistDynamicDefineXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistElseIfUsageXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistElseIfUsageXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistElseIfUsageXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistElseIfUsageXHPASTLinterRuleTestCase.php',
|
2015-09-01 11:20:11 +02:00
|
|
|
'ArcanistEmptyFileXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistEmptyFileXHPASTLinterRule.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistEmptyStatementXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistEmptyStatementXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistEmptyStatementXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistEmptyStatementXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistEventType' => 'events/constant/ArcanistEventType.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistExitExpressionXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistExitExpressionXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistExitExpressionXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistExitExpressionXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistExportWorkflow' => 'workflow/ArcanistExportWorkflow.php',
|
2013-08-23 20:52:44 +02:00
|
|
|
'ArcanistExternalLinter' => 'lint/linter/ArcanistExternalLinter.php',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistExternalLinterTestCase' => 'lint/linter/__tests__/ArcanistExternalLinterTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistExtractUseXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistExtractUseXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistExtractUseXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistExtractUseXHPASTLinterRuleTestCase.php',
|
2013-01-31 02:33:32 +01:00
|
|
|
'ArcanistFeatureWorkflow' => 'workflow/ArcanistFeatureWorkflow.php',
|
2015-05-27 19:25:53 +02:00
|
|
|
'ArcanistFileDataRef' => 'upload/ArcanistFileDataRef.php',
|
|
|
|
'ArcanistFileUploader' => 'upload/ArcanistFileUploader.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistFilenameLinter' => 'lint/linter/ArcanistFilenameLinter.php',
|
2015-01-12 20:42:09 +01:00
|
|
|
'ArcanistFilenameLinterTestCase' => 'lint/linter/__tests__/ArcanistFilenameLinterTestCase.php',
|
2012-08-03 21:00:54 +02:00
|
|
|
'ArcanistFlagWorkflow' => 'workflow/ArcanistFlagWorkflow.php',
|
2012-12-22 00:27:52 +01:00
|
|
|
'ArcanistFlake8Linter' => 'lint/linter/ArcanistFlake8Linter.php',
|
|
|
|
'ArcanistFlake8LinterTestCase' => 'lint/linter/__tests__/ArcanistFlake8LinterTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistFormattedStringXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistFormattedStringXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistFormattedStringXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistFormattedStringXHPASTLinterRuleTestCase.php',
|
2015-11-29 21:32:43 +01:00
|
|
|
'ArcanistFunctionCallShouldBeTypeCastXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistFunctionCallShouldBeTypeCastXHPASTLinterRule.php',
|
|
|
|
'ArcanistFunctionCallShouldBeTypeCastXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistFunctionCallShouldBeTypeCastXHPASTLinterRuleTestCase.php',
|
2013-02-15 01:16:08 +01:00
|
|
|
'ArcanistFutureLinter' => 'lint/linter/ArcanistFutureLinter.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistGeneratedLinter' => 'lint/linter/ArcanistGeneratedLinter.php',
|
2015-01-14 21:03:14 +01:00
|
|
|
'ArcanistGeneratedLinterTestCase' => 'lint/linter/__tests__/ArcanistGeneratedLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistGetConfigWorkflow' => 'workflow/ArcanistGetConfigWorkflow.php',
|
|
|
|
'ArcanistGitAPI' => 'repository/api/ArcanistGitAPI.php',
|
2015-10-28 01:49:01 +01:00
|
|
|
'ArcanistGitLandEngine' => 'land/ArcanistGitLandEngine.php',
|
2015-10-28 19:30:57 +01:00
|
|
|
'ArcanistGitUpstreamPath' => 'repository/api/ArcanistGitUpstreamPath.php',
|
2015-08-13 23:37:48 +02:00
|
|
|
'ArcanistGlobalVariableXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistGlobalVariableXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistGlobalVariableXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistGlobalVariableXHPASTLinterRuleTestCase.php',
|
2014-05-23 16:59:57 +02:00
|
|
|
'ArcanistGoLintLinter' => 'lint/linter/ArcanistGoLintLinter.php',
|
|
|
|
'ArcanistGoLintLinterTestCase' => 'lint/linter/__tests__/ArcanistGoLintLinterTestCase.php',
|
2015-01-04 20:46:13 +01:00
|
|
|
'ArcanistGoTestResultParser' => 'unit/parser/ArcanistGoTestResultParser.php',
|
|
|
|
'ArcanistGoTestResultParserTestCase' => 'unit/parser/__tests__/ArcanistGoTestResultParserTestCase.php',
|
2014-08-13 04:49:02 +02:00
|
|
|
'ArcanistHLintLinter' => 'lint/linter/ArcanistHLintLinter.php',
|
|
|
|
'ArcanistHLintLinterTestCase' => 'lint/linter/__tests__/ArcanistHLintLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistHelpWorkflow' => 'workflow/ArcanistHelpWorkflow.php',
|
2015-12-01 21:41:37 +01:00
|
|
|
'ArcanistHexadecimalNumericScalarCasingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistHexadecimalNumericScalarCasingXHPASTLinterRule.php',
|
|
|
|
'ArcanistHexadecimalNumericScalarCasingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistHexadecimalNumericScalarCasingXHPASTLinterRuleTestCase.php',
|
2012-06-08 03:23:57 +02:00
|
|
|
'ArcanistHgClientChannel' => 'hgdaemon/ArcanistHgClientChannel.php',
|
|
|
|
'ArcanistHgProxyClient' => 'hgdaemon/ArcanistHgProxyClient.php',
|
|
|
|
'ArcanistHgProxyServer' => 'hgdaemon/ArcanistHgProxyServer.php',
|
|
|
|
'ArcanistHgServerChannel' => 'hgdaemon/ArcanistHgServerChannel.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistImplicitConstructorXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistImplicitConstructorXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistImplicitConstructorXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistImplicitConstructorXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistImplicitFallthroughXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistImplicitFallthroughXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistImplicitFallthroughXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistImplicitFallthroughXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistImplicitVisibilityXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistImplicitVisibilityXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistImplicitVisibilityXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistImplicitVisibilityXHPASTLinterRuleTestCase.php',
|
2015-08-13 23:41:41 +02:00
|
|
|
'ArcanistInlineHTMLXHPASTLinterRule' => 'lint/linter/ArcanistInlineHTMLXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInlineHTMLXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInlineHTMLXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInnerFunctionXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistInnerFunctionXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInnerFunctionXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInnerFunctionXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistInstallCertificateWorkflow' => 'workflow/ArcanistInstallCertificateWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInstanceOfOperatorXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistInstanceOfOperatorXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInstanceofOperatorXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInstanceofOperatorXHPASTLinterRuleTestCase.php',
|
2015-11-25 21:21:29 +01:00
|
|
|
'ArcanistInterfaceAbstractMethodXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistInterfaceAbstractMethodXHPASTLinterRule.php',
|
|
|
|
'ArcanistInterfaceAbstractMethodXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInterfaceAbstractMethodXHPASTLinterRuleTestCase.php',
|
2015-11-25 21:12:00 +01:00
|
|
|
'ArcanistInterfaceMethodBodyXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistInterfaceMethodBodyXHPASTLinterRule.php',
|
|
|
|
'ArcanistInterfaceMethodBodyXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInterfaceMethodBodyXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInvalidDefaultParameterXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistInvalidDefaultParameterXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInvalidDefaultParameterXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInvalidDefaultParameterXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInvalidModifiersXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistInvalidModifiersXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInvalidModifiersXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInvalidModifiersXHPASTLinterRuleTestCase.php',
|
2015-12-02 22:11:22 +01:00
|
|
|
'ArcanistInvalidOctalNumericScalarXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistInvalidOctalNumericScalarXHPASTLinterRule.php',
|
|
|
|
'ArcanistInvalidOctalNumericScalarXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistInvalidOctalNumericScalarXHPASTLinterRuleTestCase.php',
|
2015-12-22 22:42:00 +01:00
|
|
|
'ArcanistIsAShouldBeInstanceOfXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistIsAShouldBeInstanceOfXHPASTLinterRule.php',
|
|
|
|
'ArcanistIsAShouldBeInstanceOfXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistIsAShouldBeInstanceOfXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistJSHintLinter' => 'lint/linter/ArcanistJSHintLinter.php',
|
2014-05-05 23:22:26 +02:00
|
|
|
'ArcanistJSHintLinterTestCase' => 'lint/linter/__tests__/ArcanistJSHintLinterTestCase.php',
|
2014-05-06 05:15:35 +02:00
|
|
|
'ArcanistJSONLintLinter' => 'lint/linter/ArcanistJSONLintLinter.php',
|
|
|
|
'ArcanistJSONLintLinterTestCase' => 'lint/linter/__tests__/ArcanistJSONLintLinterTestCase.php',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistJSONLintRenderer' => 'lint/renderer/ArcanistJSONLintRenderer.php',
|
2014-06-21 22:41:22 +02:00
|
|
|
'ArcanistJSONLinter' => 'lint/linter/ArcanistJSONLinter.php',
|
|
|
|
'ArcanistJSONLinterTestCase' => 'lint/linter/__tests__/ArcanistJSONLinterTestCase.php',
|
2014-06-16 22:40:36 +02:00
|
|
|
'ArcanistJscsLinter' => 'lint/linter/ArcanistJscsLinter.php',
|
|
|
|
'ArcanistJscsLinterTestCase' => 'lint/linter/__tests__/ArcanistJscsLinterTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistKeywordCasingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistKeywordCasingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistKeywordCasingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistKeywordCasingXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLambdaFuncFunctionXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistLambdaFuncFunctionXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLambdaFuncFunctionXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistLambdaFuncFunctionXHPASTLinterRuleTestCase.php',
|
2015-10-28 01:49:01 +01:00
|
|
|
'ArcanistLandEngine' => 'land/ArcanistLandEngine.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistLandWorkflow' => 'workflow/ArcanistLandWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLanguageConstructParenthesesXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistLanguageConstructParenthesesXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLanguageConstructParenthesesXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistLanguageConstructParenthesesXHPASTLinterRuleTestCase.php',
|
2014-05-06 15:50:44 +02:00
|
|
|
'ArcanistLesscLinter' => 'lint/linter/ArcanistLesscLinter.php',
|
|
|
|
'ArcanistLesscLinterTestCase' => 'lint/linter/__tests__/ArcanistLesscLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistLiberateWorkflow' => 'workflow/ArcanistLiberateWorkflow.php',
|
2015-01-06 21:37:58 +01:00
|
|
|
'ArcanistLibraryTestCase' => '__tests__/ArcanistLibraryTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistLintEngine' => 'lint/engine/ArcanistLintEngine.php',
|
|
|
|
'ArcanistLintMessage' => 'lint/ArcanistLintMessage.php',
|
|
|
|
'ArcanistLintPatcher' => 'lint/ArcanistLintPatcher.php',
|
2012-06-02 02:32:35 +02:00
|
|
|
'ArcanistLintRenderer' => 'lint/renderer/ArcanistLintRenderer.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistLintResult' => 'lint/ArcanistLintResult.php',
|
|
|
|
'ArcanistLintSeverity' => 'lint/ArcanistLintSeverity.php',
|
|
|
|
'ArcanistLintWorkflow' => 'workflow/ArcanistLintWorkflow.php',
|
|
|
|
'ArcanistLinter' => 'lint/linter/ArcanistLinter.php',
|
2015-11-12 21:07:52 +01:00
|
|
|
'ArcanistLinterStandard' => 'lint/linter/standards/ArcanistLinterStandard.php',
|
|
|
|
'ArcanistLinterStandardTestCase' => 'lint/linter/standards/__tests__/ArcanistLinterStandardTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistLinterTestCase' => 'lint/linter/__tests__/ArcanistLinterTestCase.php',
|
2014-05-11 22:42:56 +02:00
|
|
|
'ArcanistLintersWorkflow' => 'workflow/ArcanistLintersWorkflow.php',
|
2015-08-12 05:22:37 +02:00
|
|
|
'ArcanistListAssignmentXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistListAssignmentXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistListAssignmentXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistListAssignmentXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistListWorkflow' => 'workflow/ArcanistListWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLogicalOperatorsXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistLogicalOperatorsXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLogicalOperatorsXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistLogicalOperatorsXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLowercaseFunctionsXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistLowercaseFunctionsXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLowercaseFunctionsXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistLowercaseFunctionsXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistMercurialAPI' => 'repository/api/ArcanistMercurialAPI.php',
|
|
|
|
'ArcanistMercurialParser' => 'repository/parser/ArcanistMercurialParser.php',
|
|
|
|
'ArcanistMercurialParserTestCase' => 'repository/parser/__tests__/ArcanistMercurialParserTestCase.php',
|
2013-02-20 23:19:55 +01:00
|
|
|
'ArcanistMergeConflictLinter' => 'lint/linter/ArcanistMergeConflictLinter.php',
|
2014-06-19 23:59:12 +02:00
|
|
|
'ArcanistMergeConflictLinterTestCase' => 'lint/linter/__tests__/ArcanistMergeConflictLinterTestCase.php',
|
2015-01-11 20:46:23 +01:00
|
|
|
'ArcanistMissingLinterException' => 'lint/linter/exception/ArcanistMissingLinterException.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistModifierOrderingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistModifierOrderingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistModifierOrderingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistModifierOrderingXHPASTLinterRuleTestCase.php',
|
2015-11-25 21:32:01 +01:00
|
|
|
'ArcanistNamespaceFirstStatementXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistNamespaceFirstStatementXHPASTLinterRule.php',
|
|
|
|
'ArcanistNamespaceFirstStatementXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistNamespaceFirstStatementXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistNamingConventionsXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistNamingConventionsXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistNamingConventionsXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistNamingConventionsXHPASTLinterRuleTestCase.php',
|
2015-11-19 09:31:45 +01:00
|
|
|
'ArcanistNestedNamespacesXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistNestedNamespacesXHPASTLinterRule.php',
|
|
|
|
'ArcanistNestedNamespacesXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistNestedNamespacesXHPASTLinterRuleTestCase.php',
|
2015-08-30 22:49:29 +02:00
|
|
|
'ArcanistNewlineAfterOpenTagXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistNewlineAfterOpenTagXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistNewlineAfterOpenTagXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistNewlineAfterOpenTagXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistNoEffectException' => 'exception/usage/ArcanistNoEffectException.php',
|
|
|
|
'ArcanistNoEngineException' => 'exception/usage/ArcanistNoEngineException.php',
|
|
|
|
'ArcanistNoLintLinter' => 'lint/linter/ArcanistNoLintLinter.php',
|
2015-01-14 21:03:14 +01:00
|
|
|
'ArcanistNoLintLinterTestCase' => 'lint/linter/__tests__/ArcanistNoLintLinterTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistNoParentScopeXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistNoParentScopeXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistNoParentScopeXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistNoParentScopeXHPASTLinterRuleTestCase.php',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistNoneLintRenderer' => 'lint/renderer/ArcanistNoneLintRenderer.php',
|
2015-08-05 23:14:38 +02:00
|
|
|
'ArcanistObjectOperatorSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistObjectOperatorSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistObjectOperatorSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistObjectOperatorSpacingXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistPEP8Linter' => 'lint/linter/ArcanistPEP8Linter.php',
|
2013-08-23 20:52:44 +02:00
|
|
|
'ArcanistPEP8LinterTestCase' => 'lint/linter/__tests__/ArcanistPEP8LinterTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPCloseTagXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPHPCloseTagXHPASTLinterRule.php',
|
2017-07-22 04:02:01 +02:00
|
|
|
'ArcanistPHPCloseTagXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPHPCloseTagXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPCompatibilityXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPHPCompatibilityXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPCompatibilityXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPHPCompatibilityXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPEchoTagXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPHPEchoTagXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPEchoTagXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPHPEchoTagXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPOpenTagXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPHPOpenTagXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPOpenTagXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPHPOpenTagXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPShortTagXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPHPShortTagXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPShortTagXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPHPShortTagXHPASTLinterRuleTestCase.php',
|
2015-12-22 22:39:44 +01:00
|
|
|
'ArcanistPaamayimNekudotayimSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPaamayimNekudotayimSpacingXHPASTLinterRule.php',
|
|
|
|
'ArcanistPaamayimNekudotayimSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPaamayimNekudotayimSpacingXHPASTLinterRuleTestCase.php',
|
2015-11-18 22:58:03 +01:00
|
|
|
'ArcanistParentMemberReferenceXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistParentMemberReferenceXHPASTLinterRule.php',
|
|
|
|
'ArcanistParentMemberReferenceXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistParentMemberReferenceXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistParenthesesSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistParenthesesSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistParenthesesSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistParenthesesSpacingXHPASTLinterRuleTestCase.php',
|
2015-08-13 23:44:19 +02:00
|
|
|
'ArcanistParseStrUseXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistParseStrUseXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistParseStrUseXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistParseStrUseXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistPasteWorkflow' => 'workflow/ArcanistPasteWorkflow.php',
|
|
|
|
'ArcanistPatchWorkflow' => 'workflow/ArcanistPatchWorkflow.php',
|
2014-08-28 02:29:31 +02:00
|
|
|
'ArcanistPhpLinter' => 'lint/linter/ArcanistPhpLinter.php',
|
|
|
|
'ArcanistPhpLinterTestCase' => 'lint/linter/__tests__/ArcanistPhpLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistPhpcsLinter' => 'lint/linter/ArcanistPhpcsLinter.php',
|
2014-08-05 23:44:55 +02:00
|
|
|
'ArcanistPhpcsLinterTestCase' => 'lint/linter/__tests__/ArcanistPhpcsLinterTestCase.php',
|
2015-01-04 20:46:13 +01:00
|
|
|
'ArcanistPhpunitTestResultParser' => 'unit/parser/ArcanistPhpunitTestResultParser.php',
|
Add Phrequent workflows to Arcanist
Summary:
Depends on D9906.
This adds `arc start`, `arc stop` and `arc tracking` for tracking tasks, diffs and other objects in Phrequent.
Test Plan: Tested this against a local install.
Reviewers: skyronic, #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: maxhodak, hach-que, aran, epriestley, Korvin
Maniphest Tasks: T3569, T3969
Differential Revision: https://secure.phabricator.com/D7327
2014-07-17 03:58:22 +02:00
|
|
|
'ArcanistPhrequentWorkflow' => 'workflow/ArcanistPhrequentWorkflow.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistPhutilLibraryLinter' => 'lint/linter/ArcanistPhutilLibraryLinter.php',
|
2015-11-12 21:07:52 +01:00
|
|
|
'ArcanistPhutilXHPASTLinterStandard' => 'lint/linter/standards/phutil/ArcanistPhutilXHPASTLinterStandard.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPlusOperatorOnStringsXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPlusOperatorOnStringsXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPlusOperatorOnStringsXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPlusOperatorOnStringsXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPregQuoteMisuseXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPregQuoteMisuseXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPregQuoteMisuseXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPregQuoteMisuseXHPASTLinterRuleTestCase.php',
|
2015-12-02 23:48:35 +01:00
|
|
|
'ArcanistPublicPropertyXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistPublicPropertyXHPASTLinterRule.php',
|
|
|
|
'ArcanistPublicPropertyXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistPublicPropertyXHPASTLinterRuleTestCase.php',
|
2014-05-06 05:42:40 +02:00
|
|
|
'ArcanistPuppetLintLinter' => 'lint/linter/ArcanistPuppetLintLinter.php',
|
|
|
|
'ArcanistPuppetLintLinterTestCase' => 'lint/linter/__tests__/ArcanistPuppetLintLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistPyFlakesLinter' => 'lint/linter/ArcanistPyFlakesLinter.php',
|
2014-05-06 03:58:13 +02:00
|
|
|
'ArcanistPyFlakesLinterTestCase' => 'lint/linter/__tests__/ArcanistPyFlakesLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistPyLintLinter' => 'lint/linter/ArcanistPyLintLinter.php',
|
2014-06-22 19:32:35 +02:00
|
|
|
'ArcanistPyLintLinterTestCase' => 'lint/linter/__tests__/ArcanistPyLintLinterTestCase.php',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistRaggedClassTreeEdgeXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistRaggedClassTreeEdgeXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistRaggedClassTreeEdgeXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistRaggedClassTreeEdgeXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistRepositoryAPI' => 'repository/api/ArcanistRepositoryAPI.php',
|
2013-01-28 23:11:31 +01:00
|
|
|
'ArcanistRepositoryAPIMiscTestCase' => 'repository/api/__tests__/ArcanistRepositoryAPIMiscTestCase.php',
|
2012-12-17 21:53:28 +01:00
|
|
|
'ArcanistRepositoryAPIStateTestCase' => 'repository/api/__tests__/ArcanistRepositoryAPIStateTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistReusedAsIteratorXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistReusedAsIteratorXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistReusedAsIteratorXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistReusedAsIteratorXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistReusedIteratorReferenceXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistReusedIteratorReferenceXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistReusedIteratorReferenceXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistReusedIteratorReferenceXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistReusedIteratorXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistReusedIteratorXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistReusedIteratorXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistReusedIteratorXHPASTLinterRuleTestCase.php',
|
2013-05-14 20:00:56 +02:00
|
|
|
'ArcanistRevertWorkflow' => 'workflow/ArcanistRevertWorkflow.php',
|
Added RuboCop linter
Test Plan:
Add the following JSON to your `.arclint`:
```lang=json
"rubocop": {
"type": "rubocop",
"include": "(\\.rb$)"
}
```
Then, add a ruby file with errors, for instance:
```lang=ruby
def hello()
puts 'world'
end
```
Run `arc lint`. It should come up with something along the line of: "Omit the parentheses in defs when the method doesn't accept any arguments."
Reviewers: joshuaspence, remon, #blessed_reviewers, epriestley
Reviewed By: joshuaspence, #blessed_reviewers, epriestley
Subscribers: reu, calfzhou, jjooss, cburroughs, chad, Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D10738
2015-04-06 18:11:06 +02:00
|
|
|
'ArcanistRuboCopLinter' => 'lint/linter/ArcanistRuboCopLinter.php',
|
|
|
|
'ArcanistRuboCopLinterTestCase' => 'lint/linter/__tests__/ArcanistRuboCopLinterTestCase.php',
|
2012-09-06 20:50:15 +02:00
|
|
|
'ArcanistRubyLinter' => 'lint/linter/ArcanistRubyLinter.php',
|
|
|
|
'ArcanistRubyLinterTestCase' => 'lint/linter/__tests__/ArcanistRubyLinterTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistScriptAndRegexLinter' => 'lint/linter/ArcanistScriptAndRegexLinter.php',
|
2015-12-22 22:39:44 +01:00
|
|
|
'ArcanistSelfClassReferenceXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistSelfClassReferenceXHPASTLinterRule.php',
|
|
|
|
'ArcanistSelfClassReferenceXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistSelfClassReferenceXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSelfMemberReferenceXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistSelfMemberReferenceXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistSelfMemberReferenceXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistSelfMemberReferenceXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSemicolonSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistSemicolonSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistSemicolonSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistSemicolonSpacingXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistSetConfigWorkflow' => 'workflow/ArcanistSetConfigWorkflow.php',
|
Enrich arc configuration and add stronger typing
Summary:
See <https://github.com/facebook/arcanist/issues/45>
Currently, when the user types `arc set-config x false`, we set it as the string "false", which is usually not desirable. We have some steps toward typed config already, but expand on what we have and move as much stuff as possible into it, including all the config settings that aren't currently documented (there are still some lint-specific and project-specific settings not present here, but this is most of it).
Also make the `phutil_libraries` key a legacy name for `load`, and `immutable_history` a legacy name for `history.immutable`. Generally the goal here is to make config simpler and bring it more in-line with Git/Mercurial, which use dotted hierarchies.
I'll add some documentation here but I think most of the changes should be fairly straightforward.
Test Plan:
- `arc set-config history.immutable on` (And similar -- sets to boolean true.)
- `arc set-config history.immutable off` (And similar -- sets to boolean false.)
- `arc set-config history.immutable derp` (And similar -- raises exception.)
- `arc set-config history.immutable ''` (And similar -- removes setting value.)
- `arc set-config --show`
- `arc get-config`
- `arc get-config base`
Reviewers: dschleimer, bos, btrahan, vrana
Reviewed By: dschleimer
CC: aran
Maniphest Tasks: T1546
Differential Revision: https://secure.phabricator.com/D3045
2012-07-26 03:37:09 +02:00
|
|
|
'ArcanistSettings' => 'configuration/ArcanistSettings.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistShellCompleteWorkflow' => 'workflow/ArcanistShellCompleteWorkflow.php',
|
|
|
|
'ArcanistSingleLintEngine' => 'lint/engine/ArcanistSingleLintEngine.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSlownessXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistSlownessXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistSlownessXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistSlownessXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistSpellingLinter' => 'lint/linter/ArcanistSpellingLinter.php',
|
|
|
|
'ArcanistSpellingLinterTestCase' => 'lint/linter/__tests__/ArcanistSpellingLinterTestCase.php',
|
Add Phrequent workflows to Arcanist
Summary:
Depends on D9906.
This adds `arc start`, `arc stop` and `arc tracking` for tracking tasks, diffs and other objects in Phrequent.
Test Plan: Tested this against a local install.
Reviewers: skyronic, #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: maxhodak, hach-que, aran, epriestley, Korvin
Maniphest Tasks: T3569, T3969
Differential Revision: https://secure.phabricator.com/D7327
2014-07-17 03:58:22 +02:00
|
|
|
'ArcanistStartWorkflow' => 'workflow/ArcanistStartWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistStaticThisXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistStaticThisXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistStaticThisXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistStaticThisXHPASTLinterRuleTestCase.php',
|
Add Phrequent workflows to Arcanist
Summary:
Depends on D9906.
This adds `arc start`, `arc stop` and `arc tracking` for tracking tasks, diffs and other objects in Phrequent.
Test Plan: Tested this against a local install.
Reviewers: skyronic, #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: maxhodak, hach-que, aran, epriestley, Korvin
Maniphest Tasks: T3569, T3969
Differential Revision: https://secure.phabricator.com/D7327
2014-07-17 03:58:22 +02:00
|
|
|
'ArcanistStopWorkflow' => 'workflow/ArcanistStopWorkflow.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistSubversionAPI' => 'repository/api/ArcanistSubversionAPI.php',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistSummaryLintRenderer' => 'lint/renderer/ArcanistSummaryLintRenderer.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSyntaxErrorXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistSyntaxErrorXHPASTLinterRule.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistTasksWorkflow' => 'workflow/ArcanistTasksWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistTautologicalExpressionXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistTautologicalExpressionXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistTautologicalExpressionXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistTautologicalExpressionXHPASTLinterRuleTestCase.php',
|
2015-01-04 20:46:13 +01:00
|
|
|
'ArcanistTestResultParser' => 'unit/parser/ArcanistTestResultParser.php',
|
2015-02-09 20:55:03 +01:00
|
|
|
'ArcanistTestXHPASTLintSwitchHook' => 'lint/linter/__tests__/ArcanistTestXHPASTLintSwitchHook.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistTextLinter' => 'lint/linter/ArcanistTextLinter.php',
|
|
|
|
'ArcanistTextLinterTestCase' => 'lint/linter/__tests__/ArcanistTextLinterTestCase.php',
|
2015-11-19 20:50:27 +01:00
|
|
|
'ArcanistThisReassignmentXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistThisReassignmentXHPASTLinterRule.php',
|
|
|
|
'ArcanistThisReassignmentXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistThisReassignmentXHPASTLinterRuleTestCase.php',
|
Add Phrequent workflows to Arcanist
Summary:
Depends on D9906.
This adds `arc start`, `arc stop` and `arc tracking` for tracking tasks, diffs and other objects in Phrequent.
Test Plan: Tested this against a local install.
Reviewers: skyronic, #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: maxhodak, hach-que, aran, epriestley, Korvin
Maniphest Tasks: T3569, T3969
Differential Revision: https://secure.phabricator.com/D7327
2014-07-17 03:58:22 +02:00
|
|
|
'ArcanistTimeWorkflow' => 'workflow/ArcanistTimeWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistToStringExceptionXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistToStringExceptionXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistToStringExceptionXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistToStringExceptionXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistTodoCommentXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistTodoCommentXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistTodoCommentXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistTodoCommentXHPASTLinterRuleTestCase.php',
|
2012-07-11 02:32:36 +02:00
|
|
|
'ArcanistTodoWorkflow' => 'workflow/ArcanistTodoWorkflow.php',
|
2015-02-11 22:02:11 +01:00
|
|
|
'ArcanistUSEnglishTranslation' => 'internationalization/ArcanistUSEnglishTranslation.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUnableToParseXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnableToParseXHPASTLinterRule.php',
|
2015-08-06 03:38:14 +02:00
|
|
|
'ArcanistUnaryPostfixExpressionSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnaryPostfixExpressionSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnaryPostfixExpressionSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnaryPostfixExpressionSpacingXHPASTLinterRuleTestCase.php',
|
2015-08-05 23:00:32 +02:00
|
|
|
'ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUndeclaredVariableXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUndeclaredVariableXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUndeclaredVariableXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUndeclaredVariableXHPASTLinterRuleTestCase.php',
|
2015-11-19 09:34:32 +01:00
|
|
|
'ArcanistUnexpectedReturnValueXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnexpectedReturnValueXHPASTLinterRule.php',
|
|
|
|
'ArcanistUnexpectedReturnValueXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnexpectedReturnValueXHPASTLinterRuleTestCase.php',
|
2013-02-27 22:59:12 +01:00
|
|
|
'ArcanistUnitConsoleRenderer' => 'unit/renderer/ArcanistUnitConsoleRenderer.php',
|
|
|
|
'ArcanistUnitRenderer' => 'unit/renderer/ArcanistUnitRenderer.php',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistUnitTestEngine' => 'unit/engine/ArcanistUnitTestEngine.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistUnitTestResult' => 'unit/ArcanistUnitTestResult.php',
|
Preserve more information when merging coverage
Summary:
Ref T8096. Each test reports coverage information, which we sometimes merge into a combined coverage report.
Usually, each test will report results for every line in the file, so if the file is 30 lines long, coverage is usually 30 characters long.
However, for whatever reason, tests might report results for only the first part of the file. This is allowed and we handle it properly.
Right now, if one test reports 10 lines of results and another reports 30 lines of results, we only use the first 10 lines of results. Instead, extend the merged coverage to include the extra 20 lines of results.
(This is an uncommon case which I only hit because I was manually banging on my keyboard to generate test data, but there's no reason not to handle it better.)
Test Plan: Used web UI, added + executed unit tests.
Reviewers: chad
Reviewed By: chad
Maniphest Tasks: T8096
Differential Revision: https://secure.phabricator.com/D13854
2015-08-11 00:35:15 +02:00
|
|
|
'ArcanistUnitTestResultTestCase' => 'unit/__tests__/ArcanistUnitTestResultTestCase.php',
|
2015-01-04 20:44:49 +01:00
|
|
|
'ArcanistUnitTestableLintEngine' => 'lint/engine/ArcanistUnitTestableLintEngine.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistUnitWorkflow' => 'workflow/ArcanistUnitWorkflow.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUnnecessaryFinalModifierXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnnecessaryFinalModifierXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnnecessaryFinalModifierXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnnecessaryFinalModifierXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUnnecessarySemicolonXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnnecessarySemicolonXHPASTLinterRule.php',
|
2015-11-23 22:17:25 +01:00
|
|
|
'ArcanistUnnecessarySymbolAliasXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnnecessarySymbolAliasXHPASTLinterRule.php',
|
|
|
|
'ArcanistUnnecessarySymbolAliasXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnnecessarySymbolAliasXHPASTLinterRuleTestCase.php',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistUnsafeDynamicStringXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUnsafeDynamicStringXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnsafeDynamicStringXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUnsafeDynamicStringXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistUpgradeWorkflow' => 'workflow/ArcanistUpgradeWorkflow.php',
|
|
|
|
'ArcanistUploadWorkflow' => 'workflow/ArcanistUploadWorkflow.php',
|
|
|
|
'ArcanistUsageException' => 'exception/ArcanistUsageException.php',
|
Add a linter rule for `use` statement namespace prefixes
Summary:
When importing or aliases a symbol with a `use` statement, the leading namespace separator is optional and does not modify the behavior. That is, `use \X` is equivalent to `use X`. As such, the latter syntax should be preferred because it is more concise.
According to the [[http://php.net/manual/en/language.namespaces.importing.php | PHP documentation]]:
> Note that for namespaced names (fully qualified namespace names containing namespace separator, such as `Foo\Bar` as opposed to global names that do not, such as `FooBar`), the leading backslash is unnecessary and not recommended, as import names must be fully qualified, and are not processed relative to the current namespace.
Test Plan: Added test cases.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: epriestley
Differential Revision: https://secure.phabricator.com/D14517
2015-11-23 20:42:39 +01:00
|
|
|
'ArcanistUseStatementNamespacePrefixXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUseStatementNamespacePrefixXHPASTLinterRule.php',
|
|
|
|
'ArcanistUseStatementNamespacePrefixXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUseStatementNamespacePrefixXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUselessOverridingMethodXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistUselessOverridingMethodXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUselessOverridingMethodXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistUselessOverridingMethodXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistUserAbortException' => 'exception/usage/ArcanistUserAbortException.php',
|
2015-11-30 21:16:35 +01:00
|
|
|
'ArcanistVariableReferenceSpacingXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistVariableReferenceSpacingXHPASTLinterRule.php',
|
|
|
|
'ArcanistVariableReferenceSpacingXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistVariableReferenceSpacingXHPASTLinterRuleTestCase.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistVariableVariableXHPASTLinterRule' => 'lint/linter/xhpast/rules/ArcanistVariableVariableXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistVariableVariableXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistVariableVariableXHPASTLinterRuleTestCase.php',
|
2014-05-24 04:35:33 +02:00
|
|
|
'ArcanistVersionWorkflow' => 'workflow/ArcanistVersionWorkflow.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistWhichWorkflow' => 'workflow/ArcanistWhichWorkflow.php',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistWorkflow' => 'workflow/ArcanistWorkflow.php',
|
2012-05-30 23:22:59 +02:00
|
|
|
'ArcanistWorkingCopyIdentity' => 'workingcopyidentity/ArcanistWorkingCopyIdentity.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistXHPASTLintNamingHook' => 'lint/linter/xhpast/ArcanistXHPASTLintNamingHook.php',
|
|
|
|
'ArcanistXHPASTLintNamingHookTestCase' => 'lint/linter/xhpast/__tests__/ArcanistXHPASTLintNamingHookTestCase.php',
|
2013-02-05 20:00:07 +01:00
|
|
|
'ArcanistXHPASTLintSwitchHook' => 'lint/linter/xhpast/ArcanistXHPASTLintSwitchHook.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistXHPASTLinter' => 'lint/linter/ArcanistXHPASTLinter.php',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistXHPASTLinterRule' => 'lint/linter/xhpast/ArcanistXHPASTLinterRule.php',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistXHPASTLinterRuleTestCase' => 'lint/linter/xhpast/rules/__tests__/ArcanistXHPASTLinterRuleTestCase.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'ArcanistXHPASTLinterTestCase' => 'lint/linter/__tests__/ArcanistXHPASTLinterTestCase.php',
|
2014-05-06 05:15:53 +02:00
|
|
|
'ArcanistXMLLinter' => 'lint/linter/ArcanistXMLLinter.php',
|
|
|
|
'ArcanistXMLLinterTestCase' => 'lint/linter/__tests__/ArcanistXMLLinterTestCase.php',
|
2015-01-04 20:46:13 +01:00
|
|
|
'ArcanistXUnitTestResultParser' => 'unit/parser/ArcanistXUnitTestResultParser.php',
|
2013-09-23 14:32:34 +02:00
|
|
|
'CSharpToolsTestEngine' => 'unit/engine/CSharpToolsTestEngine.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'NoseTestEngine' => 'unit/engine/NoseTestEngine.php',
|
|
|
|
'PhpunitTestEngine' => 'unit/engine/PhpunitTestEngine.php',
|
2015-01-04 20:46:24 +01:00
|
|
|
'PhpunitTestEngineTestCase' => 'unit/engine/__tests__/PhpunitTestEngineTestCase.php',
|
2015-05-20 01:37:44 +02:00
|
|
|
'PhutilTestCase' => 'unit/engine/phutil/PhutilTestCase.php',
|
|
|
|
'PhutilTestCaseTestCase' => 'unit/engine/phutil/testcase/PhutilTestCaseTestCase.php',
|
|
|
|
'PhutilTestSkippedException' => 'unit/engine/phutil/testcase/PhutilTestSkippedException.php',
|
|
|
|
'PhutilTestTerminatedException' => 'unit/engine/phutil/testcase/PhutilTestTerminatedException.php',
|
2012-06-01 20:41:04 +02:00
|
|
|
'PhutilUnitTestEngine' => 'unit/engine/PhutilUnitTestEngine.php',
|
|
|
|
'PhutilUnitTestEngineTestCase' => 'unit/engine/__tests__/PhutilUnitTestEngineTestCase.php',
|
2013-06-13 23:23:45 +02:00
|
|
|
'PytestTestEngine' => 'unit/engine/PytestTestEngine.php',
|
2013-09-23 14:32:34 +02:00
|
|
|
'XUnitTestEngine' => 'unit/engine/XUnitTestEngine.php',
|
2015-01-04 20:46:13 +01:00
|
|
|
'XUnitTestResultParserTestCase' => 'unit/parser/__tests__/XUnitTestResultParserTestCase.php',
|
2011-01-10 00:22:25 +01:00
|
|
|
),
|
2014-07-17 23:34:59 +02:00
|
|
|
'function' => array(),
|
|
|
|
'xmap' => array(
|
2015-11-23 22:19:35 +01:00
|
|
|
'ArcanistAbstractMethodBodyXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistAbstractMethodBodyXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-23 22:18:06 +01:00
|
|
|
'ArcanistAbstractPrivateMethodXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistAbstractPrivateMethodXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistAliasFunctionXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistAliasFunctionXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistAliasWorkflow' => 'ArcanistWorkflow',
|
|
|
|
'ArcanistAmendWorkflow' => 'ArcanistWorkflow',
|
|
|
|
'ArcanistAnoidWorkflow' => 'ArcanistWorkflow',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistArrayCombineXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArrayCombineXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistArrayIndexSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArrayIndexSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistArraySeparatorXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArraySeparatorXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-08-10 22:58:28 +02:00
|
|
|
'ArcanistArrayValueXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistArrayValueXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistBackoutWorkflow' => 'ArcanistWorkflow',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistBaseCommitParser' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistBaseCommitParserTestCase' => 'PhutilTestCase',
|
2013-02-22 01:44:19 +01:00
|
|
|
'ArcanistBaseXHPASTLinter' => 'ArcanistFutureLinter',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistBinaryExpressionSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistBinaryExpressionSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-12-02 23:47:27 +01:00
|
|
|
'ArcanistBinaryNumericScalarCasingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistBinaryNumericScalarCasingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistBlacklistedFunctionXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistBlacklistedFunctionXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2016-06-09 19:48:32 +02:00
|
|
|
'ArcanistBlindlyTrustHTTPEngineExtension' => 'PhutilHTTPEngineExtension',
|
2013-01-31 02:33:32 +01:00
|
|
|
'ArcanistBookmarkWorkflow' => 'ArcanistFeatureWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistBraceFormattingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistBraceFormattingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2013-01-31 02:33:32 +01:00
|
|
|
'ArcanistBranchWorkflow' => 'ArcanistFeatureWorkflow',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistBrowseWorkflow' => 'ArcanistWorkflow',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistBundle' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistBundleTestCase' => 'PhutilTestCase',
|
2013-08-23 20:52:44 +02:00
|
|
|
'ArcanistCSSLintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistCSSLintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
Allow `arc` to identify repositories without "project_id"
Summary:
Ref T4343. Continues the process of reducing the prominence of Arcanist Projects. Primarily:
- Query Phabricator to identify the working copy based on explicit configuration, or guess based on heuristics.
- Enhance `arc which` to explain the process to the user.
- The `project_id` key is no longer required in `.arcconfig`.
Minor/cleanup changes:
- Rename `project_id` to `project.name` (consistency, clarity).
- Rename `conduit_uri` to `phabricator.uri` (consistency, clairty).
- These both need documentation updates.
- Add `repository.callsign` to explicitly bind to a repository.
- Updated `.arcconfig` for the new values.
- Fix a unit test which broke a while ago when we fixed a rare definition of "unstaged".
- Make `getRepositoryUUID()` generic so we can get rid of one `instanceof`.
Test Plan:
- Ran `arc which`.
- Ran `arc diff`.
- This doesn't really change anything, so the only real risk is version compatibility breaks. This //does// introduce such a break, but the window is very narrow: if you upgrade `arc` after this commit, and try to diff against a Phabricator which was updated after yesterday (D8068) but before D8072 lands, the lookup will work so we'll add `repositoryPHID` to the `differential.creatediff` call, but it won't exist in Phabricator yet. This window is so narrow that I'm not going to try to fix it, as I'd guess there is a significant chance that no users will be affected. I don't see a clever way to fix it that doesn't involve a lot of work, either.
Reviewers: btrahan
Reviewed By: btrahan
CC: aran
Maniphest Tasks: T4343
Differential Revision: https://secure.phabricator.com/D8073
2014-01-27 00:31:30 +01:00
|
|
|
'ArcanistCSharpLinter' => 'ArcanistLinter',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistCallConduitWorkflow' => 'ArcanistWorkflow',
|
2015-08-05 22:57:46 +02:00
|
|
|
'ArcanistCallParenthesesXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCallParenthesesXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistCallTimePassByReferenceXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCallTimePassByReferenceXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2012-05-30 23:22:59 +02:00
|
|
|
'ArcanistCapabilityNotSupportedException' => 'Exception',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistCastSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCastSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistCheckstyleXMLLintRenderer' => 'ArcanistLintRenderer',
|
2014-05-19 01:57:08 +02:00
|
|
|
'ArcanistChmodLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistChmodLinterTestCase' => 'ArcanistLinterTestCase',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistClassExtendsObjectXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistClassExtendsObjectXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistClassFilenameMismatchXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-23 22:18:38 +01:00
|
|
|
'ArcanistClassMustBeDeclaredAbstractXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistClassMustBeDeclaredAbstractXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistClassNameLiteralXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistClassNameLiteralXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistCloseRevisionWorkflow' => 'ArcanistWorkflow',
|
|
|
|
'ArcanistCloseWorkflow' => 'ArcanistWorkflow',
|
2014-05-15 18:18:24 +02:00
|
|
|
'ArcanistClosureLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistClosureLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2014-05-17 06:58:01 +02:00
|
|
|
'ArcanistCoffeeLintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistCoffeeLintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistCommentRemover' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistCommentRemoverTestCase' => 'PhutilTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistCommentSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistCommentStyleXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistCommentStyleXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistCommitWorkflow' => 'ArcanistWorkflow',
|
2015-02-09 20:57:10 +01:00
|
|
|
'ArcanistCompilerLintRenderer' => 'ArcanistLintRenderer',
|
2015-08-19 13:39:11 +02:00
|
|
|
'ArcanistComposerLinter' => 'ArcanistLinter',
|
2015-02-09 20:57:17 +01:00
|
|
|
'ArcanistComprehensiveLintEngine' => 'ArcanistLintEngine',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistConcatenationOperatorXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistConcatenationOperatorXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistConfiguration' => 'Phobject',
|
Lay groundwork for configuration-driven linters
Summary:
Ref T2039. That task has a bunch of discussion, but basically we do a poor job of serving the midrange of lint configuration right now.
If you have something simple, the default linters work.
If you have something complex, building your own engine lets you do whatever you want.
But many users want something in between, which isn't really well accommodated. The idea is to let you write a `.arclint` file, which looks something like this:
{
"linters" : {
"css" : {
"type" : "csslint",
"include" : "(\.css$)",
"exclude" : "(^externals/)",
"bin" : "/usr/local/bin/csslint"
},
"js" : {
"type" : "jshint",
"include" : "(\.js$)",
"exclude" : "(^externals/)",
"bin" : "support/bin/jshint",
"interpreter" : "/usr/local/bin/node"
}
}
}
...which will provide a bunch of common options around lint severity, interpreter and binary locaitons, included and excluded files, etc.
This implements some basics, and very rough support in the Filename linter.
Test Plan:
Generated a `.arclint` file and saw it apply filename lint correctly. Used `debug` mode and tried invalid regexps.
{
"debug" : true,
"linters" : {
"filename" : {
"type" : "filename",
"exclude" : ["@^externals/@"]
}
}
}
Next steps include:
- Provide an external linter archetype (T3186) and expose a common set of configuration here ("bin", "interpreter", "flags", "severity").
- Provide a `.arcunit` file which works similarly (it can probably be simpler).
Reviewers: btrahan, Firehed
Reviewed By: btrahan
CC: aran
Maniphest Tasks: T2039
Differential Revision: https://secure.phabricator.com/D6797
2013-08-23 01:02:16 +02:00
|
|
|
'ArcanistConfigurationDrivenLintEngine' => 'ArcanistLintEngine',
|
2015-08-10 22:54:15 +02:00
|
|
|
'ArcanistConfigurationDrivenUnitTestEngine' => 'ArcanistUnitTestEngine',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistConfigurationManager' => 'Phobject',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistConsoleLintRenderer' => 'ArcanistLintRenderer',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistConstructorParenthesesXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistConstructorParenthesesXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistControlStatementSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistControlStatementSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistCoverWorkflow' => 'ArcanistWorkflow',
|
2014-05-12 13:30:36 +02:00
|
|
|
'ArcanistCppcheckLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistCppcheckLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2014-05-10 10:32:53 +02:00
|
|
|
'ArcanistCpplintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistCpplintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-12-08 20:56:48 +01:00
|
|
|
'ArcanistCurlyBraceArrayIndexXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistCurlyBraceArrayIndexXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-07-22 22:43:35 +02:00
|
|
|
'ArcanistDeclarationParenthesesXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDeclarationParenthesesXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDefaultParametersXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDefaultParametersXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistDeprecationXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDeprecationXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistDiffChange' => 'Phobject',
|
|
|
|
'ArcanistDiffChangeType' => 'Phobject',
|
|
|
|
'ArcanistDiffHunk' => 'Phobject',
|
|
|
|
'ArcanistDiffParser' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistDiffParserTestCase' => 'PhutilTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistDiffUtils' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistDiffUtilsTestCase' => 'PhutilTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistDiffWorkflow' => 'ArcanistWorkflow',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistDifferentialCommitMessage' => 'Phobject',
|
2012-05-30 23:22:59 +02:00
|
|
|
'ArcanistDifferentialCommitMessageParserException' => 'Exception',
|
2013-10-17 23:59:04 +02:00
|
|
|
'ArcanistDifferentialDependencyGraph' => 'AbstractDirectedGraph',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistDifferentialRevisionHash' => 'Phobject',
|
|
|
|
'ArcanistDifferentialRevisionStatus' => 'Phobject',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDoubleQuoteXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDoubleQuoteXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistDownloadWorkflow' => 'ArcanistWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDuplicateKeysInArrayXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDuplicateKeysInArrayXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDuplicateSwitchCaseXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDuplicateSwitchCaseXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistDynamicDefineXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistDynamicDefineXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistElseIfUsageXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistElseIfUsageXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-09-01 11:20:11 +02:00
|
|
|
'ArcanistEmptyFileXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistEmptyStatementXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistEmptyStatementXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2011-11-10 22:47:45 +01:00
|
|
|
'ArcanistEventType' => 'PhutilEventType',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistExitExpressionXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistExitExpressionXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistExportWorkflow' => 'ArcanistWorkflow',
|
2013-08-23 20:52:44 +02:00
|
|
|
'ArcanistExternalLinter' => 'ArcanistFutureLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistExternalLinterTestCase' => 'ArcanistLinterTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistExtractUseXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistExtractUseXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistFeatureWorkflow' => 'ArcanistWorkflow',
|
2015-05-27 19:25:53 +02:00
|
|
|
'ArcanistFileDataRef' => 'Phobject',
|
|
|
|
'ArcanistFileUploader' => 'Phobject',
|
2011-01-10 00:22:25 +01:00
|
|
|
'ArcanistFilenameLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistFilenameLinterTestCase' => 'ArcanistLinterTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistFlagWorkflow' => 'ArcanistWorkflow',
|
2013-08-23 20:52:54 +02:00
|
|
|
'ArcanistFlake8Linter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistFlake8LinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistFormattedStringXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistFormattedStringXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-29 21:32:43 +01:00
|
|
|
'ArcanistFunctionCallShouldBeTypeCastXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistFunctionCallShouldBeTypeCastXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2013-02-15 01:16:08 +01:00
|
|
|
'ArcanistFutureLinter' => 'ArcanistLinter',
|
2011-01-10 00:22:25 +01:00
|
|
|
'ArcanistGeneratedLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistGeneratedLinterTestCase' => 'ArcanistLinterTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistGetConfigWorkflow' => 'ArcanistWorkflow',
|
2011-01-10 00:22:25 +01:00
|
|
|
'ArcanistGitAPI' => 'ArcanistRepositoryAPI',
|
2015-10-28 01:49:01 +01:00
|
|
|
'ArcanistGitLandEngine' => 'ArcanistLandEngine',
|
2015-10-28 19:30:57 +01:00
|
|
|
'ArcanistGitUpstreamPath' => 'Phobject',
|
2015-08-13 23:37:48 +02:00
|
|
|
'ArcanistGlobalVariableXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistGlobalVariableXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-05-23 16:59:57 +02:00
|
|
|
'ArcanistGoLintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistGoLintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-01-04 20:45:14 +01:00
|
|
|
'ArcanistGoTestResultParser' => 'ArcanistTestResultParser',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistGoTestResultParserTestCase' => 'PhutilTestCase',
|
2014-08-13 04:49:02 +02:00
|
|
|
'ArcanistHLintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistHLintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistHelpWorkflow' => 'ArcanistWorkflow',
|
2015-12-01 21:41:37 +01:00
|
|
|
'ArcanistHexadecimalNumericScalarCasingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistHexadecimalNumericScalarCasingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2012-06-08 03:23:57 +02:00
|
|
|
'ArcanistHgClientChannel' => 'PhutilProtocolChannel',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistHgProxyClient' => 'Phobject',
|
|
|
|
'ArcanistHgProxyServer' => 'Phobject',
|
2012-06-08 03:23:57 +02:00
|
|
|
'ArcanistHgServerChannel' => 'PhutilProtocolChannel',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistImplicitConstructorXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistImplicitConstructorXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistImplicitFallthroughXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistImplicitFallthroughXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistImplicitVisibilityXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistImplicitVisibilityXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-08-13 23:41:41 +02:00
|
|
|
'ArcanistInlineHTMLXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInlineHTMLXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInnerFunctionXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInnerFunctionXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistInstallCertificateWorkflow' => 'ArcanistWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInstanceOfOperatorXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInstanceofOperatorXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-25 21:21:29 +01:00
|
|
|
'ArcanistInterfaceAbstractMethodXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistInterfaceAbstractMethodXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-25 21:12:00 +01:00
|
|
|
'ArcanistInterfaceMethodBodyXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistInterfaceMethodBodyXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInvalidDefaultParameterXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInvalidDefaultParameterXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistInvalidModifiersXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistInvalidModifiersXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-12-02 22:11:22 +01:00
|
|
|
'ArcanistInvalidOctalNumericScalarXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistInvalidOctalNumericScalarXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-12-22 22:42:00 +01:00
|
|
|
'ArcanistIsAShouldBeInstanceOfXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistIsAShouldBeInstanceOfXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-05-05 23:22:26 +02:00
|
|
|
'ArcanistJSHintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistJSHintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2014-05-06 05:15:35 +02:00
|
|
|
'ArcanistJSONLintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistJSONLintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistJSONLintRenderer' => 'ArcanistLintRenderer',
|
2014-06-21 22:41:22 +02:00
|
|
|
'ArcanistJSONLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistJSONLinterTestCase' => 'ArcanistLinterTestCase',
|
2014-06-16 22:40:36 +02:00
|
|
|
'ArcanistJscsLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistJscsLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistKeywordCasingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistKeywordCasingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLambdaFuncFunctionXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLambdaFuncFunctionXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-10-28 01:49:01 +01:00
|
|
|
'ArcanistLandEngine' => 'Phobject',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistLandWorkflow' => 'ArcanistWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLanguageConstructParenthesesXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLanguageConstructParenthesesXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-05-06 15:50:44 +02:00
|
|
|
'ArcanistLesscLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistLesscLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistLiberateWorkflow' => 'ArcanistWorkflow',
|
2015-01-06 21:37:58 +01:00
|
|
|
'ArcanistLibraryTestCase' => 'PhutilLibraryTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistLintEngine' => 'Phobject',
|
|
|
|
'ArcanistLintMessage' => 'Phobject',
|
|
|
|
'ArcanistLintPatcher' => 'Phobject',
|
|
|
|
'ArcanistLintRenderer' => 'Phobject',
|
|
|
|
'ArcanistLintResult' => 'Phobject',
|
|
|
|
'ArcanistLintSeverity' => 'Phobject',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistLintWorkflow' => 'ArcanistWorkflow',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistLinter' => 'Phobject',
|
2015-11-12 21:07:52 +01:00
|
|
|
'ArcanistLinterStandard' => 'Phobject',
|
|
|
|
'ArcanistLinterStandardTestCase' => 'PhutilTestCase',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistLinterTestCase' => 'PhutilTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistLintersWorkflow' => 'ArcanistWorkflow',
|
2015-08-12 05:22:37 +02:00
|
|
|
'ArcanistListAssignmentXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistListAssignmentXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistListWorkflow' => 'ArcanistWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLogicalOperatorsXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLogicalOperatorsXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistLowercaseFunctionsXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistLowercaseFunctionsXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
Basic Mercurial support for Arcanist
Summary:
There's a lot of ground left to cover but this makes "arc diff" work (on one
trivial diff) in my sandbox, at least, and supports parsing of Mercurial native
diffs (which are unified + a custom header). Piles of missing features, still.
Some of this is blocked by me not understanding the mercurial model well yet.
This is also a really good opportunity for cleanup (especially, reducing the
level of "instanceof" in the diff workflow), I'll try to do a bunch of that in
followup diffs.
Test Plan: Ran "arc diff" in a mercurial repository, got a diff out of it.
Reviewed By: aran
Reviewers: Makinde, jungejason, tuomaspelkonen, aran, codeblock
CC: aran, epriestley, codeblock, fratrik
Differential Revision: 792
2011-08-09 18:00:29 +02:00
|
|
|
'ArcanistMercurialAPI' => 'ArcanistRepositoryAPI',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistMercurialParser' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistMercurialParserTestCase' => 'PhutilTestCase',
|
2013-02-20 23:19:55 +01:00
|
|
|
'ArcanistMergeConflictLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistMergeConflictLinterTestCase' => 'ArcanistLinterTestCase',
|
2015-01-06 12:45:44 +01:00
|
|
|
'ArcanistMissingLinterException' => 'Exception',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistModifierOrderingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistModifierOrderingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-25 21:32:01 +01:00
|
|
|
'ArcanistNamespaceFirstStatementXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistNamespaceFirstStatementXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistNamingConventionsXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistNamingConventionsXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-19 09:31:45 +01:00
|
|
|
'ArcanistNestedNamespacesXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistNestedNamespacesXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-08-30 22:49:29 +02:00
|
|
|
'ArcanistNewlineAfterOpenTagXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistNewlineAfterOpenTagXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2011-01-10 00:22:25 +01:00
|
|
|
'ArcanistNoEffectException' => 'ArcanistUsageException',
|
|
|
|
'ArcanistNoEngineException' => 'ArcanistUsageException',
|
2011-02-25 02:59:49 +01:00
|
|
|
'ArcanistNoLintLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistNoLintLinterTestCase' => 'ArcanistLinterTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistNoParentScopeXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistNoParentScopeXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistNoneLintRenderer' => 'ArcanistLintRenderer',
|
2015-08-05 23:14:38 +02:00
|
|
|
'ArcanistObjectOperatorSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistObjectOperatorSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2013-08-23 20:52:44 +02:00
|
|
|
'ArcanistPEP8Linter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistPEP8LinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPCloseTagXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2017-07-22 04:02:01 +02:00
|
|
|
'ArcanistPHPCloseTagXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPCompatibilityXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPCompatibilityXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPEchoTagXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPEchoTagXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPOpenTagXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPOpenTagXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPHPShortTagXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPHPShortTagXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-12-22 22:39:44 +01:00
|
|
|
'ArcanistPaamayimNekudotayimSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistPaamayimNekudotayimSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-18 22:58:03 +01:00
|
|
|
'ArcanistParentMemberReferenceXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistParentMemberReferenceXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistParenthesesSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistParenthesesSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-08-13 23:44:19 +02:00
|
|
|
'ArcanistParseStrUseXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistParseStrUseXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistPasteWorkflow' => 'ArcanistWorkflow',
|
|
|
|
'ArcanistPatchWorkflow' => 'ArcanistWorkflow',
|
2014-08-28 02:29:31 +02:00
|
|
|
'ArcanistPhpLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistPhpLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
Support PHPCS as a `.arclint` linter
Summary:
Ref T3186. Ref T2039. Ref T3771. A few effects here:
# Expose PHPCS as a `.arclint` linter.
# Turn PHPCS into an ArcanistExternalLinter linter.
# Add test coverage for PHPCS.
# Add a `severity.rules` option to `.arclint`. Some linters have very explicit builtin severities ("error", "warning") but their meanings are different from how arc interprets these terms. For example, PHPCS raises "wrong indentation level" as an "error". You can already use the "severity" map to adjust individual rules, but if you want to adjust an entire linter it's currently difficult. This rule map makes it easy. There's substantial precedent for this in other linters, notably all the Python linters.
For `severity.rules`, for example, this will turn all PHPCS "errors" into warnings, and all of its warnings into advice:
"severity.rules" : {
"(^PHPCS\\.E\\.)" : "warning",
"(^PHPCS\\.W\\.)" : "advice"
}
The user can use `severity` (or more rules) to get additional granularity adjustments if they desire.
Test Plan: https://github.com/epriestley/arclint-examples/commit/5bb919bc3a684d6654dcc28622de9a29ec08307d
Reviewers: btrahan
Reviewed By: btrahan
CC: aran, ajtrichards
Maniphest Tasks: T2039, T3186, T3771
Differential Revision: https://secure.phabricator.com/D6830
2013-08-29 15:47:27 +02:00
|
|
|
'ArcanistPhpcsLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistPhpcsLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-01-04 20:45:14 +01:00
|
|
|
'ArcanistPhpunitTestResultParser' => 'ArcanistTestResultParser',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistPhrequentWorkflow' => 'ArcanistWorkflow',
|
2012-05-30 16:25:09 +02:00
|
|
|
'ArcanistPhutilLibraryLinter' => 'ArcanistLinter',
|
2015-11-12 21:07:52 +01:00
|
|
|
'ArcanistPhutilXHPASTLinterStandard' => 'ArcanistLinterStandard',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPlusOperatorOnStringsXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPlusOperatorOnStringsXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistPregQuoteMisuseXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistPregQuoteMisuseXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-12-02 23:48:35 +01:00
|
|
|
'ArcanistPublicPropertyXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistPublicPropertyXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-05-06 05:42:40 +02:00
|
|
|
'ArcanistPuppetLintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistPuppetLintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2014-05-06 03:58:13 +02:00
|
|
|
'ArcanistPyFlakesLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistPyFlakesLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
Modernize `ArcanistPylintLinter`
Summary:
Ref T2039. Convert the `ArcanistPylintLinter` to an `ArcanistExternalLinter` and make it compatible with `.arclint`. In doing so, it was necessary to drop support of older versions of `pylint` by setting the minimum version to be 1.0.0. I think that dropping support for older versions is reasonable because version 1.0.0 was released ~18 months ago. In the case than an incompatible version is detected, an `ArcanistMissingLinterException` is thrown.
One caveat here is that support for `lint.pylint.codes.(error|warning|advice)` is dropped. Any installs that are relying on this configuration will need to migrate to using the `.arclint` file for specifying linter severity. We could potentially continue to support this deprecated configuration, but I'm not sure if this is worthwhile.
Test Plan: Wrote and executed unit tests with `arc unit`. I ran the unit tests on all `pylint` releases after (and including) 1.0.0. Specifically, the tests were run on v1.0.0, v1.1.0, v1.2.0, v1.3.0 and v1.4.0.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: epriestley, Korvin
Maniphest Tasks: T2039
Differential Revision: https://secure.phabricator.com/D9109
2015-05-14 09:49:24 +02:00
|
|
|
'ArcanistPyLintLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistPyLintLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistRaggedClassTreeEdgeXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistRaggedClassTreeEdgeXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistRepositoryAPI' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistRepositoryAPIMiscTestCase' => 'PhutilTestCase',
|
|
|
|
'ArcanistRepositoryAPIStateTestCase' => 'PhutilTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistReusedAsIteratorXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistReusedAsIteratorXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistReusedIteratorReferenceXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistReusedIteratorReferenceXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistReusedIteratorXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistReusedIteratorXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistRevertWorkflow' => 'ArcanistWorkflow',
|
Added RuboCop linter
Test Plan:
Add the following JSON to your `.arclint`:
```lang=json
"rubocop": {
"type": "rubocop",
"include": "(\\.rb$)"
}
```
Then, add a ruby file with errors, for instance:
```lang=ruby
def hello()
puts 'world'
end
```
Run `arc lint`. It should come up with something along the line of: "Omit the parentheses in defs when the method doesn't accept any arguments."
Reviewers: joshuaspence, remon, #blessed_reviewers, epriestley
Reviewed By: joshuaspence, #blessed_reviewers, epriestley
Subscribers: reu, calfzhou, jjooss, cburroughs, chad, Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D10738
2015-04-06 18:11:06 +02:00
|
|
|
'ArcanistRuboCopLinter' => 'ArcanistExternalLinter',
|
|
|
|
'ArcanistRuboCopLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
Ready more linters and linter functions for .arclint
Summary:
Ref T3186. Ref T2039. Continues work on readying linters for `.arclint`.
- **Ruby**: Make this an ExternalLinter.
- **Priority**: Currently, linters have an implicit "correct" order (notably, the "NoLint" linter needs to run before other linters). Make this explicit by introducing `getLinterPriority()`.
- **Binaries**: Currently, linters manually reject binary files. Instead, reject binary files by default (linters can override this if they do want to lint binary files).
- **Deleted Files**: Currently, linters manually reject deleted files (usually in engines). Instead, reject deleted files by default (linters can override this).
- **Severity**: Move this `.arclint` config option up to top level.
- **willLintPaths()**: This method is abstract, but almost all linters provide a trivial implementation. Provide a trivial implementation in the base class.
- **getLintSeverityMap()/getLintNameMap()**: A bunch of linters have empty implementations; these are redundant. Remove them.
- **Spelling**: clean up some dead / test-only / unconventional code.
- **`.arclint`**: Allow the filename, generated, nolint, text, spelling and ruby linters to be configured via `.arclint`.
Test Plan:
https://github.com/epriestley/arclint-examples/commit/458beca3d65b64d52ed612904ae66eb837118b94
Ran unit tests.
Reviewers: btrahan
Reviewed By: btrahan
CC: Firehed, aran
Maniphest Tasks: T2039, T3186
Differential Revision: https://secure.phabricator.com/D6805
2013-08-26 14:37:10 +02:00
|
|
|
'ArcanistRubyLinter' => 'ArcanistExternalLinter',
|
2015-01-04 20:41:59 +01:00
|
|
|
'ArcanistRubyLinterTestCase' => 'ArcanistExternalLinterTestCase',
|
2012-05-31 21:09:01 +02:00
|
|
|
'ArcanistScriptAndRegexLinter' => 'ArcanistLinter',
|
2015-12-22 22:39:44 +01:00
|
|
|
'ArcanistSelfClassReferenceXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistSelfClassReferenceXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSelfMemberReferenceXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistSelfMemberReferenceXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSemicolonSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistSemicolonSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistSetConfigWorkflow' => 'ArcanistWorkflow',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistSettings' => 'Phobject',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistShellCompleteWorkflow' => 'ArcanistWorkflow',
|
2012-05-31 21:09:01 +02:00
|
|
|
'ArcanistSingleLintEngine' => 'ArcanistLintEngine',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSlownessXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistSlownessXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2012-01-16 06:28:58 +01:00
|
|
|
'ArcanistSpellingLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistSpellingLinterTestCase' => 'ArcanistLinterTestCase',
|
Add Phrequent workflows to Arcanist
Summary:
Depends on D9906.
This adds `arc start`, `arc stop` and `arc tracking` for tracking tasks, diffs and other objects in Phrequent.
Test Plan: Tested this against a local install.
Reviewers: skyronic, #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: maxhodak, hach-que, aran, epriestley, Korvin
Maniphest Tasks: T3569, T3969
Differential Revision: https://secure.phabricator.com/D7327
2014-07-17 03:58:22 +02:00
|
|
|
'ArcanistStartWorkflow' => 'ArcanistPhrequentWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistStaticThisXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistStaticThisXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
Add Phrequent workflows to Arcanist
Summary:
Depends on D9906.
This adds `arc start`, `arc stop` and `arc tracking` for tracking tasks, diffs and other objects in Phrequent.
Test Plan: Tested this against a local install.
Reviewers: skyronic, #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: maxhodak, hach-que, aran, epriestley, Korvin
Maniphest Tasks: T3569, T3969
Differential Revision: https://secure.phabricator.com/D7327
2014-07-17 03:58:22 +02:00
|
|
|
'ArcanistStopWorkflow' => 'ArcanistPhrequentWorkflow',
|
2011-01-10 00:22:25 +01:00
|
|
|
'ArcanistSubversionAPI' => 'ArcanistRepositoryAPI',
|
2014-07-25 00:16:29 +02:00
|
|
|
'ArcanistSummaryLintRenderer' => 'ArcanistLintRenderer',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistSyntaxErrorXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistTasksWorkflow' => 'ArcanistWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistTautologicalExpressionXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistTautologicalExpressionXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistTestResultParser' => 'Phobject',
|
2015-02-09 20:55:03 +01:00
|
|
|
'ArcanistTestXHPASTLintSwitchHook' => 'ArcanistXHPASTLintSwitchHook',
|
2011-01-10 00:22:25 +01:00
|
|
|
'ArcanistTextLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistTextLinterTestCase' => 'ArcanistLinterTestCase',
|
2015-11-19 20:50:27 +01:00
|
|
|
'ArcanistThisReassignmentXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistThisReassignmentXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
Add Phrequent workflows to Arcanist
Summary:
Depends on D9906.
This adds `arc start`, `arc stop` and `arc tracking` for tracking tasks, diffs and other objects in Phrequent.
Test Plan: Tested this against a local install.
Reviewers: skyronic, #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: maxhodak, hach-que, aran, epriestley, Korvin
Maniphest Tasks: T3569, T3969
Differential Revision: https://secure.phabricator.com/D7327
2014-07-17 03:58:22 +02:00
|
|
|
'ArcanistTimeWorkflow' => 'ArcanistPhrequentWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistToStringExceptionXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistToStringExceptionXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistTodoCommentXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistTodoCommentXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistTodoWorkflow' => 'ArcanistWorkflow',
|
2015-02-11 22:02:11 +01:00
|
|
|
'ArcanistUSEnglishTranslation' => 'PhutilTranslation',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUnableToParseXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-08-06 03:38:14 +02:00
|
|
|
'ArcanistUnaryPostfixExpressionSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnaryPostfixExpressionSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-08-05 23:00:32 +02:00
|
|
|
'ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnaryPrefixExpressionSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUndeclaredVariableXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUndeclaredVariableXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-19 09:34:32 +01:00
|
|
|
'ArcanistUnexpectedReturnValueXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistUnexpectedReturnValueXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2013-02-27 22:59:12 +01:00
|
|
|
'ArcanistUnitConsoleRenderer' => 'ArcanistUnitRenderer',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistUnitRenderer' => 'Phobject',
|
|
|
|
'ArcanistUnitTestEngine' => 'Phobject',
|
|
|
|
'ArcanistUnitTestResult' => 'Phobject',
|
Preserve more information when merging coverage
Summary:
Ref T8096. Each test reports coverage information, which we sometimes merge into a combined coverage report.
Usually, each test will report results for every line in the file, so if the file is 30 lines long, coverage is usually 30 characters long.
However, for whatever reason, tests might report results for only the first part of the file. This is allowed and we handle it properly.
Right now, if one test reports 10 lines of results and another reports 30 lines of results, we only use the first 10 lines of results. Instead, extend the merged coverage to include the extra 20 lines of results.
(This is an uncommon case which I only hit because I was manually banging on my keyboard to generate test data, but there's no reason not to handle it better.)
Test Plan: Used web UI, added + executed unit tests.
Reviewers: chad
Reviewed By: chad
Maniphest Tasks: T8096
Differential Revision: https://secure.phabricator.com/D13854
2015-08-11 00:35:15 +02:00
|
|
|
'ArcanistUnitTestResultTestCase' => 'PhutilTestCase',
|
2015-01-04 20:44:49 +01:00
|
|
|
'ArcanistUnitTestableLintEngine' => 'ArcanistLintEngine',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistUnitWorkflow' => 'ArcanistWorkflow',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUnnecessaryFinalModifierXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnnecessaryFinalModifierXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUnnecessarySemicolonXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-23 22:17:25 +01:00
|
|
|
'ArcanistUnnecessarySymbolAliasXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistUnnecessarySymbolAliasXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-11-12 21:08:40 +01:00
|
|
|
'ArcanistUnsafeDynamicStringXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUnsafeDynamicStringXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistUpgradeWorkflow' => 'ArcanistWorkflow',
|
|
|
|
'ArcanistUploadWorkflow' => 'ArcanistWorkflow',
|
2012-05-30 23:22:59 +02:00
|
|
|
'ArcanistUsageException' => 'Exception',
|
Add a linter rule for `use` statement namespace prefixes
Summary:
When importing or aliases a symbol with a `use` statement, the leading namespace separator is optional and does not modify the behavior. That is, `use \X` is equivalent to `use X`. As such, the latter syntax should be preferred because it is more concise.
According to the [[http://php.net/manual/en/language.namespaces.importing.php | PHP documentation]]:
> Note that for namespaced names (fully qualified namespace names containing namespace separator, such as `Foo\Bar` as opposed to global names that do not, such as `FooBar`), the leading backslash is unnecessary and not recommended, as import names must be fully qualified, and are not processed relative to the current namespace.
Test Plan: Added test cases.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: epriestley
Differential Revision: https://secure.phabricator.com/D14517
2015-11-23 20:42:39 +01:00
|
|
|
'ArcanistUseStatementNamespacePrefixXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistUseStatementNamespacePrefixXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistUselessOverridingMethodXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistUselessOverridingMethodXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2011-01-10 00:22:25 +01:00
|
|
|
'ArcanistUserAbortException' => 'ArcanistUsageException',
|
2015-11-30 21:16:35 +01:00
|
|
|
'ArcanistVariableReferenceSpacingXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
|
|
|
'ArcanistVariableReferenceSpacingXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2015-06-01 07:49:16 +02:00
|
|
|
'ArcanistVariableVariableXHPASTLinterRule' => 'ArcanistXHPASTLinterRule',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistVariableVariableXHPASTLinterRuleTestCase' => 'ArcanistXHPASTLinterRuleTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'ArcanistVersionWorkflow' => 'ArcanistWorkflow',
|
|
|
|
'ArcanistWhichWorkflow' => 'ArcanistWorkflow',
|
|
|
|
'ArcanistWorkflow' => 'Phobject',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistWorkingCopyIdentity' => 'Phobject',
|
|
|
|
'ArcanistXHPASTLintNamingHook' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'ArcanistXHPASTLintNamingHookTestCase' => 'PhutilTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistXHPASTLintSwitchHook' => 'Phobject',
|
2013-01-29 07:03:03 +01:00
|
|
|
'ArcanistXHPASTLinter' => 'ArcanistBaseXHPASTLinter',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistXHPASTLinterRule' => 'Phobject',
|
2015-11-18 22:57:23 +01:00
|
|
|
'ArcanistXHPASTLinterRuleTestCase' => 'ArcanistLinterTestCase',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistXHPASTLinterTestCase' => 'ArcanistLinterTestCase',
|
2014-05-06 05:15:53 +02:00
|
|
|
'ArcanistXMLLinter' => 'ArcanistLinter',
|
2015-02-04 21:21:00 +01:00
|
|
|
'ArcanistXMLLinterTestCase' => 'ArcanistLinterTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'ArcanistXUnitTestResultParser' => 'Phobject',
|
2013-09-23 14:32:34 +02:00
|
|
|
'CSharpToolsTestEngine' => 'XUnitTestEngine',
|
2014-07-21 23:49:15 +02:00
|
|
|
'NoseTestEngine' => 'ArcanistUnitTestEngine',
|
|
|
|
'PhpunitTestEngine' => 'ArcanistUnitTestEngine',
|
2015-05-20 01:37:44 +02:00
|
|
|
'PhpunitTestEngineTestCase' => 'PhutilTestCase',
|
2015-06-15 07:45:13 +02:00
|
|
|
'PhutilTestCase' => 'Phobject',
|
2015-05-20 01:37:44 +02:00
|
|
|
'PhutilTestCaseTestCase' => 'PhutilTestCase',
|
|
|
|
'PhutilTestSkippedException' => 'Exception',
|
|
|
|
'PhutilTestTerminatedException' => 'Exception',
|
2014-07-21 23:49:15 +02:00
|
|
|
'PhutilUnitTestEngine' => 'ArcanistUnitTestEngine',
|
2015-05-20 01:37:44 +02:00
|
|
|
'PhutilUnitTestEngineTestCase' => 'PhutilTestCase',
|
2014-07-21 23:49:15 +02:00
|
|
|
'PytestTestEngine' => 'ArcanistUnitTestEngine',
|
|
|
|
'XUnitTestEngine' => 'ArcanistUnitTestEngine',
|
2015-05-20 01:37:44 +02:00
|
|
|
'XUnitTestResultParserTestCase' => 'PhutilTestCase',
|
2011-01-10 00:22:25 +01:00
|
|
|
),
|
|
|
|
));
|