]> khamidou — GitHub mirrors - arcanist.git/commit
Replace preg_quote() lint error by warning
authorJakub Vrana <jakubv@fb.com>
Sat, 3 Dec 2011 00:55:02 +0000 (16:55 -0800)
committervrana <jakubv@fb.com>
Wed, 28 Dec 2011 21:09:42 +0000 (13:09 -0800)
commit7af16f42cdf585e630c8262a6341b19ffb1a4b58
treead1e4a82154eb0a9c8fcb04df572733844c03ed1
parent6910fd77a4e34bc9e5b1953ee0a9457dbe3dedb8
Replace preg_quote() lint error by warning

Summary: See http://php.net/regexp.reference.delimiters

Test Plan: arc lint on a file with preg_quote() with one parameter

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley, vrana
Differential Revision: https://secure.phabricator.com/D1163
src/lint/linter/xhpast/ArcanistXHPASTLinter.php
src/lint/linter/xhpast/__tests__/data/preg-quote.lint-test