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

This commit is contained in:
El RIDO 2016-07-06 13:43:16 +02:00
parent 8b38e26735
commit 03565a0988

View File

@ -14,9 +14,19 @@ engines:
enabled: true enabled: true
phpmd: phpmd:
enabled: true enabled: true
checks:
Controversial/CamelCasePropertyName:
enabled: false
Controversial/Superglobals:
enabled: false
CleanCode/ElseExpression:
enabled: false
CleanCode/StaticAccess:
enabled: false
ratings: ratings:
paths: paths:
- "css/**.css" - "css/zerobin.css"
- "css/bootstrap/zerobin.css"
- "js/zerobin.js" - "js/zerobin.js"
- "lib/**.php" - "lib/**.php"
- "index.php" - "index.php"