.codeclimate.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # This file is part of phpFastCache.
  3. #
  4. # @license MIT License (MIT)
  5. #
  6. # For full copyright and license information, please see the docs/CREDITS.txt file.
  7. #
  8. # @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
  9. # @author Georges.L (Geolim4) <contact@geolim4.com>
  10. #
  11. engines:
  12. duplication:
  13. enabled: false
  14. checks:
  15. Similar code:
  16. enabled: false
  17. UnusedFormalParameter:
  18. enabled: false
  19. Controversial/CamelCaseClassName:
  20. enabled: false
  21. config:
  22. languages:
  23. - ruby
  24. - javascript
  25. - python
  26. - php
  27. fixme:
  28. enabled: true
  29. phpmd:
  30. enabled: true
  31. checks:
  32. CleanCode/ElseExpression:
  33. enabled: false
  34. CleanCode/BooleanArgumentFlag:
  35. enabled: false
  36. Controversial/Superglobals:
  37. enabled: false
  38. Controversial/CamelCaseVariableName:
  39. enabled: false
  40. Design/TooManyPublicMethods:
  41. enabled: false
  42. Design/NpathComplexity:
  43. enabled: false
  44. ratings:
  45. paths:
  46. - "**.inc"
  47. - "**.js"
  48. - "**.jsx"
  49. - "**.module"
  50. - "**.php"
  51. - "**.py"
  52. - "**.rb"
  53. exclude_paths:
  54. - "bin/**"
  55. - "examples/**"
  56. - "docs/**"
  57. - "tests/**"