.scrutinizer.yml 898 B

123456789101112131415161718192021222324252627282930313233343536
  1. filter:
  2. excluded_paths:
  3. - tests/*
  4. checks:
  5. php:
  6. code_rating: true
  7. remove_extra_empty_lines: true
  8. remove_php_closing_tag: true
  9. remove_trailing_whitespace: true
  10. fix_use_statements:
  11. remove_unused: true
  12. preserve_multiple: false
  13. preserve_blanklines: true
  14. order_alphabetically: true
  15. fix_php_opening_tag: true
  16. fix_linefeed: true
  17. fix_line_ending: true
  18. fix_identation_4spaces: true
  19. fix_doc_comments: true
  20. tools:
  21. external_code_coverage:
  22. timeout: 1800
  23. runs: 4
  24. php_code_coverage: false
  25. php_code_sniffer:
  26. config:
  27. standard: PSR2
  28. filter:
  29. paths: ['src']
  30. php_loc:
  31. enabled: true
  32. excluded_dirs: [vendor, tests]
  33. php_cpd:
  34. enabled: true
  35. excluded_dirs: [vendor, tests]