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:
parent
8b38e26735
commit
03565a0988
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user