|
18 | 18 | // TODO: Set this. |
19 | 19 | 'target_php_version' => null, |
20 | 20 |
|
| 21 | + 'plugins' => [ |
| 22 | + 'AlwaysReturnPlugin', |
| 23 | + 'DuplicateArrayKeyPlugin', |
| 24 | + 'PrintfCheckerPlugin', |
| 25 | + 'UnreachableCodePlugin', |
| 26 | + 'UseReturnValuePlugin', |
| 27 | + 'EmptyStatementListPlugin', |
| 28 | + 'LoopVariableReusePlugin', |
| 29 | + 'RedundantAssignmentPlugin', |
| 30 | + 'UnknownClassElementAccessPlugin', |
| 31 | + 'MoreSpecificElementTypePlugin', |
| 32 | + 'UnsafeCodePlugin', |
| 33 | + 'WhitespacePlugin', |
| 34 | + 'PHPDocInWrongCommentPlugin', |
| 35 | + 'NoAssertPlugin', |
| 36 | + 'NumericalComparisonPlugin', |
| 37 | + 'StrictLiteralComparisonPlugin', |
| 38 | + 'DeprecateAliasPlugin', |
| 39 | + 'ShortArrayPlugin', |
| 40 | + 'AvoidableGetterPlugin', |
| 41 | + 'RemoveDebugStatementPlugin', |
| 42 | + 'HasPHPDocPlugin', |
| 43 | + ], |
| 44 | + |
| 45 | + 'suppress_issue_types' => [ |
| 46 | + 'PhanPluginDescriptionlessCommentOnPublicMethod', |
| 47 | + 'PhanPluginDescriptionlessCommentOnProtectedProperty', |
| 48 | + 'PhanPluginDescriptionlessCommentOnPublicProperty', |
| 49 | + 'PhanPluginDescriptionlessCommentOnPrivateMethod', |
| 50 | + 'PhanPluginDescriptionlessCommentOnPrivateProperty', |
| 51 | + 'PhanPluginDescriptionlessCommentOnProtectedMethod', |
| 52 | + ], |
| 53 | + |
21 | 54 | // A list of directories that should be parsed for class and |
22 | 55 | // method information. After excluding the directories |
23 | 56 | // defined in exclude_analysis_directory_list, the remaining |
|
49 | 82 | // should be added to both the `directory_list` |
50 | 83 | // and `exclude_analysis_directory_list` arrays. |
51 | 84 | 'exclude_analysis_directory_list' => [ |
52 | | - 'vendor/' |
| 85 | + 'vendor/', |
| 86 | + 'tests/', |
53 | 87 | ], |
54 | 88 | ]; |
0 commit comments