mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Blacklist the use of eval()
Summary: Depends on D10686. Test Plan: N/A Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11214
This commit is contained in:
parent
e12f0bb53a
commit
ca0262ef6b
1 changed files with 3 additions and 0 deletions
3
.arclint
3
.arclint
|
@ -90,6 +90,9 @@
|
|||
"16": "advice",
|
||||
"34": "error"
|
||||
},
|
||||
"xhpast.blacklisted.function": {
|
||||
"eval": "The eval() function should be avoided. It is potentially unsafe and makes debugging more difficult."
|
||||
},
|
||||
"xhpast.php-version": "5.2.3",
|
||||
"xhpast.php-version.windows": "5.3.0"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue