From 03565a09888ac39eff856b8a684368bd83f27161 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 6 Jul 2016 13:43:16 +0200 Subject: [PATCH] ignore some phpmd issues: variables do not follow camel case in this project, super global access is almost completely encapsulated already, I personally favor else expressions for clarity and the project currently does not use a DI, hence the many static accesses --- .codeclimate.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 1f3c107..854d24e 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -14,9 +14,19 @@ engines: enabled: true phpmd: enabled: true + checks: + Controversial/CamelCasePropertyName: + enabled: false + Controversial/Superglobals: + enabled: false + CleanCode/ElseExpression: + enabled: false + CleanCode/StaticAccess: + enabled: false ratings: paths: - - "css/**.css" + - "css/zerobin.css" + - "css/bootstrap/zerobin.css" - "js/zerobin.js" - "lib/**.php" - "index.php"