菜谱项目

.scrutinizer.yml 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. before_commands:
  2. - "composer install --prefer-source"
  3. tools:
  4. external_code_coverage:
  5. timeout: 600
  6. php_code_coverage:
  7. enabled: true
  8. test_command: ./vendor/bin/phpunit
  9. php_code_sniffer:
  10. enabled: true
  11. config:
  12. standard: PSR2
  13. filter:
  14. paths: ["src/*", "tests/*"]
  15. php_cpd:
  16. enabled: true
  17. excluded_dirs: ["build/*", "tests", "vendor"]
  18. php_cs_fixer:
  19. enabled: true
  20. config:
  21. level: all
  22. filter:
  23. paths: ["src/*", "tests/*"]
  24. php_loc:
  25. enabled: true
  26. excluded_dirs: ["build", "tests", "vendor"]
  27. php_mess_detector:
  28. enabled: true
  29. config:
  30. ruleset: phpmd.xml.dist
  31. design_rules: { eval_expression: false }
  32. filter:
  33. paths: ["src/*"]
  34. php_pdepend:
  35. enabled: true
  36. excluded_dirs: ["build", "tests", "vendor"]
  37. php_analyzer:
  38. enabled: true
  39. filter:
  40. paths: ["src/*", "tests/*"]
  41. php_hhvm:
  42. enabled: true
  43. filter:
  44. paths: ["src/*", "tests/*"]
  45. sensiolabs_security_checker: true