.scrutinizer.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. imports:
  2. - php
  3. tools:
  4. # Code Coverage
  5. external_code_coverage:
  6. enabled: true
  7. filter:
  8. excluded_paths:
  9. - 'tests/*'
  10. # Copy/Paste Detector
  11. php_cpd:
  12. enabled: true
  13. command: phpcpd
  14. excluded_dirs:
  15. - tests
  16. # PHP CS Fixer (http://http://cs.sensiolabs.org/).
  17. php_cs_fixer:
  18. enabled: true
  19. command: php-cs-fixer
  20. config:
  21. level: psr2
  22. filter:
  23. excluded_paths:
  24. - 'tests/*'
  25. # Analyzes the size and structure of a PHP project.
  26. php_loc:
  27. enabled: true
  28. command: phploc
  29. excluded_dirs:
  30. - tests
  31. # PHP Mess Detector (http://phpmd.org).
  32. php_mess_detector:
  33. enabled: true
  34. command: phpmd
  35. config:
  36. rulesets:
  37. - codesize
  38. - unusedcode
  39. - naming
  40. - design
  41. filter:
  42. excluded_paths:
  43. - 'tests/*'
  44. # Analyzes the size and structure of a PHP project.
  45. php_pdepend:
  46. enabled: true
  47. command: pdepend
  48. excluded_dirs:
  49. - tests
  50. # Runs Scrutinizer's PHP Analyzer Tool
  51. php_analyzer:
  52. enabled: true
  53. filter:
  54. excluded_paths:
  55. - 'tests/*'