.codeclimate.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. version: "2"
  2. checks:
  3. argument-count:
  4. enabled: false
  5. complex-logic:
  6. enabled: false
  7. file-lines:
  8. enabled: false
  9. method-complexity:
  10. enabled: true
  11. config:
  12. threshold: 20
  13. method-count:
  14. enabled: false
  15. method-lines:
  16. enabled: false
  17. nested-control-flow:
  18. config:
  19. threshold: 20
  20. return-statements:
  21. enabled: false
  22. plugins:
  23. phan:
  24. enabled: false
  25. config:
  26. file_extensions: "php"
  27. fixme:
  28. enabled: true
  29. config:
  30. strings:
  31. - FIXME
  32. - BUG
  33. phpcodesniffer:
  34. enabled: true
  35. config:
  36. standard: "Symfony2"
  37. file_extensions: "php"
  38. checks:
  39. PSR1 Classes ClassDeclaration MissingNamespace:
  40. enabled: false
  41. PSR1 Files SideEffects FoundWithSymbols:
  42. enabled: false
  43. Squiz Strings ConcatenationSpacing PaddingFound:
  44. enabled: false
  45. phpmd:
  46. enabled: true
  47. config:
  48. file_extensions: "php"
  49. rulesets: "codesize.xml"
  50. sonar-php:
  51. enabled: false
  52. checks:
  53. php:S1192:
  54. enabled: false
  55. duplication:
  56. enabled: false
  57. exclude_patterns:
  58. - cli-config.php
  59. - app/cache/
  60. - app/logs/
  61. - app/config/
  62. - app/SymfonyRequirements.php
  63. - app/Migrations/
  64. - app/Resources/
  65. - main/admin/db.php
  66. - main/admin/ldap_synchro.php
  67. - main/auth/cas/lib/
  68. - main/auth/shibboleth
  69. - main/auth/openid
  70. - main/chat/emoji_strategy.php
  71. - main/default_course_document
  72. - main/document/Wami.swf
  73. - main/fonts/
  74. - main/inc/ajax/Wami.swf
  75. - main/inc/lib/browser/
  76. - main/inc/lib/freemindflashbrowser/
  77. - main/inc/lib/internationalization_database/
  78. - main/inc/lib/javascript/
  79. - main/inc/lib/kses-0.2.2/
  80. - main/inc/lib/mimetex/
  81. - main/inc/lib/nanogong/
  82. - main/inc/lib/nusoap/
  83. - main/inc/lib/opengraph/*
  84. - main/inc/lib/ppt2png/
  85. - main/inc/lib/phpseclib
  86. - main/inc/lib/pear/
  87. - main/inc/lib/phpmailer/
  88. - main/inc/lib/phpseclib/
  89. - main/inc/lib/svg-edit/
  90. - main/inc/lib/swfobject/
  91. - main/inc/lib/mediaplayer
  92. - main/inc/lib/mxgraph/
  93. - main/inc/lib/wami-recorder/
  94. - main/inc/lib/xajax/
  95. - main/lp/packaging/
  96. - main/template/
  97. - main/img/
  98. - main/lang/
  99. - plugin/buycourses/resources/js/
  100. - plugin/buycourses/src/Culqi/
  101. - plugin/buycourses/src/Requests/
  102. - plugin/buycourses/src/Requests.php
  103. - plugin/buycourses/src/paypalfunctions.php
  104. - plugin/vchamilo/cli/
  105. - plugin/kannelsms/vendor/
  106. - plugin/clockworksms/vendor/
  107. - plugin/tour/intro.js
  108. - plugin/pens/lib
  109. - plugin/bbb/lib/bbb_api.php
  110. - plugin/ims_lti/OAuthSimple.php
  111. - plugin/sepe/src/wsse/
  112. - plugin/test2pdf/class/
  113. - plugin/jcapture/lib/
  114. - plugin/jcapture/src/
  115. - tests/
  116. - vendor/
  117. - web/