.scrutinizer.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. build:
  2. environment:
  3. mysql: false
  4. postgresql: false
  5. redis: false
  6. rabbitmq: false
  7. php:
  8. version: 5.6
  9. tools:
  10. php_sim: true
  11. php_pdepend: true
  12. php_analyzer: true
  13. php_changetracking: true
  14. php_code_sniffer:
  15. config:
  16. standard: "PSR2"
  17. php_mess_detector: true
  18. checks:
  19. php:
  20. code_rating: true
  21. duplication: true
  22. argument_type_checks: true
  23. assignment_of_null_return: true
  24. avoid_conflicting_incrementers: true
  25. avoid_useless_overridden_methods: true
  26. catch_class_exists: true
  27. closure_use_modifiable: true
  28. closure_use_not_conflicting: true
  29. deprecated_code_usage: true
  30. method_calls_on_non_object: true
  31. missing_arguments: true
  32. no_duplicate_arguments: true
  33. no_non_implemented_abstract_methods: true
  34. no_property_on_interface: true
  35. parameter_non_unique: true
  36. precedence_in_conditions: true
  37. precedence_mistakes: true
  38. require_php_tag_first: true
  39. security_vulnerabilities: true
  40. sql_injection_vulnerabilities: true
  41. too_many_arguments: true
  42. unreachable_code: true
  43. unused_methods: true
  44. unused_parameters: true
  45. unused_properties: true
  46. unused_variables: true
  47. use_statement_alias_conflict: true
  48. useless_calls: true
  49. variable_existence: true
  50. verify_access_scope_valid: true
  51. verify_argument_usable_as_reference: true
  52. verify_property_names: true
  53. filter:
  54. excluded_paths:
  55. - test/*