Drupal investigation

.scrutinizer.yml 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. tools:
  2. php_mess_detector: true
  3. php_analyzer:
  4. config:
  5. parameter_reference_check: { enabled: false }
  6. checkstyle: { enabled: false, no_trailing_whitespace: true, naming: { enabled: true, local_variable: '^[a-z][a-zA-Z0-9]*$', abstract_class_name: ^Abstract|Factory$, utility_class_name: 'Utils?$', constant_name: '^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$', property_name: '^[a-z][a-zA-Z0-9]*$', method_name: '^(?:[a-z]|__)[a-zA-Z0-9]*$', parameter_name: '^[a-z][a-zA-Z0-9]*$', interface_name: '^[A-Z][a-zA-Z0-9]*Interface$', type_name: '^[A-Z][a-zA-Z0-9]*$', exception_name: '^[A-Z][a-zA-Z0-9]*Exception$', isser_method_name: '^(?:is|has|should|may|supports)' } }
  7. unreachable_code: { enabled: false }
  8. check_access_control: { enabled: false }
  9. typo_checks: { enabled: false }
  10. check_variables: { enabled: false }
  11. check_calls: { enabled: true, too_many_arguments: true, missing_argument: true, argument_type_checks: lenient }
  12. suspicious_code: { enabled: false, overriding_parameter: false, overriding_closure_use: false, parameter_closure_use_conflict: false, parameter_multiple_times: false, non_existent_class_in_instanceof_check: false, non_existent_class_in_catch_clause: false, assignment_of_null_return: false, non_commented_switch_fallthrough: false, non_commented_empty_catch_block: false, overriding_private_members: false, use_statement_alias_conflict: false, precedence_in_condition_assignment: false }
  13. dead_assignments: { enabled: false }
  14. verify_php_doc_comments: { enabled: false, parameters: false, return: false, suggest_more_specific_types: false, ask_for_return_if_not_inferrable: false, ask_for_param_type_annotation: false }
  15. loops_must_use_braces: { enabled: false }
  16. check_usage_context: { enabled: true, foreach: { value_as_reference: true, traversable: true } }
  17. simplify_boolean_return: { enabled: false }
  18. phpunit_checks: { enabled: false }
  19. reflection_checks: { enabled: false }
  20. precedence_checks: { enabled: true, assignment_in_condition: true, comparison_of_bit_result: true }
  21. basic_semantic_checks: { enabled: false }
  22. unused_code: { enabled: false }
  23. deprecation_checks: { enabled: false }
  24. useless_function_calls: { enabled: false }
  25. metrics_lack_of_cohesion_methods: { enabled: false }
  26. metrics_coupling: { enabled: true, stable_code: { namespace_prefixes: { }, classes: { } } }
  27. doctrine_parameter_binding: { enabled: false }
  28. doctrine_entity_manager_injection: { enabled: false }
  29. symfony_request_injection: { enabled: false }
  30. doc_comment_fixes: { enabled: false }
  31. reflection_fixes: { enabled: false }
  32. use_statement_fixes: { enabled: true, remove_unused: true, preserve_multiple: false, preserve_blanklines: false, order_alphabetically: false }
  33. php_code_sniffer: true
  34. sensiolabs_security_checker: true
  35. php_cpd: true
  36. php_loc: true
  37. php_pdepend: true
  38. external_code_coverage: true
  39. filter:
  40. paths:
  41. - src/*