.scrutinizer.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. filter:
  2. paths: [src/*]
  3. excluded_paths: [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: 600
  23. runs: 3
  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, test]
  33. php_cpd:
  34. enabled: true
  35. excluded_dirs: [vendor, test]
  36. build:
  37. nodes:
  38. analysis:
  39. tests:
  40. override:
  41. - php-scrutinizer-run