mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
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
|
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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user