.scrutinizer.yml 818 B

123456789101112131415161718192021222324252627282930313233
  1. before_commands:
  2. - "composer install --no-dev --prefer-source"
  3. tools:
  4. external_code_coverage: true
  5. php_code_sniffer:
  6. enabled: true
  7. config:
  8. standard: PSR2
  9. filter:
  10. paths: ["src/*", "tests/*"]
  11. php_cpd:
  12. enabled: true
  13. excluded_dirs: ["tests", "vendor"]
  14. php_loc:
  15. enabled: true
  16. excluded_dirs: ["tests", "vendor"]
  17. php_mess_detector:
  18. enabled: true
  19. config:
  20. ruleset: phpmd.xml.dist
  21. design_rules: { eval_expression: false }
  22. filter:
  23. paths: ["src/*"]
  24. php_pdepend:
  25. enabled: true
  26. excluded_dirs: ["tests", "vendor"]
  27. php_analyzer:
  28. enabled: true
  29. filter:
  30. paths: ["src/*", "tests/*"]
  31. sensiolabs_security_checker: true