فهرست منبع

tuning CodeClimate configuration

El RIDO 8 سال پیش
والد
کامیت
7e4c59143b
1فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 10 0
      .codeclimate.yml

+ 10 - 0
.codeclimate.yml

@@ -4,6 +4,15 @@ checks:
   file-lines:
   file-lines:
     config:
     config:
       threshold: 2000
       threshold: 2000
+  method-complexity:
+    config:
+      threshold: 550
+  method-count:
+    config:
+      threshold: 50
+  method-lines:
+    config:
+      threshold: 250
 plugins:
 plugins:
   csslint:
   csslint:
     enabled: true
     enabled: true
@@ -40,6 +49,7 @@ plugins:
     enabled: true
     enabled: true
     config:
     config:
       standard: "PSR1,PSR2,PHPCS,Zend"
       standard: "PSR1,PSR2,PHPCS,Zend"
+      ignore_warnings: true
   sonar-php:
   sonar-php:
     enabled: true
     enabled: true
     config:
     config: