|
| 1 | +--- |
| 2 | +engines: |
| 3 | + duplication: |
| 4 | + enabled: true |
| 5 | + config: |
| 6 | + languages: |
| 7 | + - php |
| 8 | + fixme: |
| 9 | + enabled: true |
| 10 | + phpmd: |
| 11 | + enabled: true |
| 12 | + config: |
| 13 | + rulesets: "tests/phpmd.xml" |
| 14 | + phpcodesniffer: |
| 15 | + enabled: true |
| 16 | + config: |
| 17 | + standard: "Wordpress-Extra" |
| 18 | + checks: |
| 19 | + # Disable: Member variable "" is not in valid snake_case format |
| 20 | + WordPress NamingConventions ValidVariableName MemberNotSnakeCase: |
| 21 | + enabled: false |
| 22 | + # Disable: Object property "" is not in valid snake_case format |
| 23 | + WordPress NamingConventions ValidVariableName NotSnakeCaseMemberVar: |
| 24 | + enabled: false |
| 25 | + # Disable: Method name "" in class "" is not in snake case format, try "" |
| 26 | + WordPress NamingConventions ValidFunctionName MethodNameInvalid: |
| 27 | + enabled: false |
| 28 | + # Disable: Opening brace should be on the same line as the declaration for class |
| 29 | + WordPress Classes ClassOpeningStatement BraceOnNewLine: |
| 30 | + enabled: false |
| 31 | + # Disable: Overriding WordPress globals is prohibited |
| 32 | + WordPress Variables GlobalVariables OverrideProhibited: |
| 33 | + enabled: false |
| 34 | + # Disable: Expected # space before "!"; # found |
| 35 | + WordPress WhiteSpace OperatorSpacing SpacingBefore: |
| 36 | + enabled: false |
| 37 | + # Disable: Blank line found after control structure |
| 38 | + WordPress WhiteSpace ControlStructureSpacing BlankLineAfterEnd: |
| 39 | + enabled: false |
| 40 | + # Disable: The $domain arg should be single a string literal, not "". |
| 41 | + WordPress WP I18n NonSingularStringLiteralDomain: |
| 42 | + enabled: false |
| 43 | + # Disable: Expected next thing to be an escaping function (see Codex for 'Data Validation'), not '' |
| 44 | + WordPress XSS EscapeOutput OutputNotEscaped: |
| 45 | + enabled: false |
| 46 | + # Disable: The use of function "" is discouraged |
| 47 | + WordPress PHP DiscouragedFunctions Discouraged: |
| 48 | + enabled: false |
| 49 | + # Disable: Expected # spaces after parameter type; # found |
| 50 | + Squiz Commenting FunctionComment SpacingAfterParamType: |
| 51 | + enabled: false |
| 52 | + # Disable: This comment is #% valid code; is this commented out code? |
| 53 | + Squiz PHP CommentedOutCode Found: |
| 54 | + enabled: false |
| 55 | + # Disable: String "" does not require double quotes; use single quotes instead |
| 56 | + Squiz Strings DoubleQuoteUsage NotRequired: |
| 57 | + enabled: false |
| 58 | + # Disable: Expected 1 space after closing brace; newline found |
| 59 | + Squiz ControlStructures ControlSignature SpaceAfterCloseBrace: |
| 60 | + enabled: false |
| 61 | + # Disable: There must be exactly one blank line before the tags in a doc comment |
| 62 | + Generic Commenting DocComment SpacingBeforeTags: |
| 63 | + enabled: false |
| 64 | + # Disable: Inline control structures are not allowed |
| 65 | + Generic ControlStructures InlineControlStructure NotAllowed: |
| 66 | + enabled: false |
| 67 | + # Disable: Line indented incorrectly; expected at least # tabs, found # |
| 68 | + Generic WhiteSpace ScopeIndent Incorrect: |
| 69 | + enabled: false |
| 70 | + Generic WhiteSpace ScopeIndent IncorrectExact: |
| 71 | + enabled: false |
| 72 | +ratings: |
| 73 | + paths: |
| 74 | + - "**.css" |
| 75 | + - "**.js" |
| 76 | + - "**.jsx" |
| 77 | + - "**.module" |
| 78 | + - "**.php" |
| 79 | +exclude_paths: |
| 80 | +- tests/* |
| 81 | +- bin/* |
0 commit comments