.scrutinizer.yml 946 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. checks:
  2. php:
  3. remove_extra_empty_lines: true
  4. remove_php_closing_tag: true
  5. remove_trailing_whitespace: true
  6. fix_use_statements:
  7. remove_unused: true
  8. preserve_multiple: false
  9. preserve_blanklines: true
  10. order_alphabetically: true
  11. fix_php_opening_tag: true
  12. fix_linefeed: true
  13. fix_line_ending: true
  14. fix_identation_4spaces: true
  15. fix_doc_comments: true
  16. filter:
  17. paths: [src/*]
  18. excluded_paths: [tests/*]
  19. coding_style:
  20. php: { }
  21. build:
  22. tests:
  23. override:
  24. -
  25. command: 'vendor/bin/phpunit -c phpunit.xml'
  26. coverage:
  27. file: 'coverage/coverage-clover.xml'
  28. format: 'clover'
  29. nodes:
  30. analysis:
  31. tests:
  32. override:
  33. - php-scrutinizer-run
  34. tests: true
  35. tools:
  36. external_code_coverage: true