]> khamidou — GitHub mirrors - arcanist.git/commit
Decrease severity of preg_quote() warning
authorvrana <jakubv@fb.com>
Fri, 5 Oct 2012 23:32:06 +0000 (16:32 -0700)
committervrana <jakubv@fb.com>
Sat, 6 Oct 2012 01:05:11 +0000 (18:05 -0700)
commitd0ed67ab1dcaaa6c28df7ae4ebc06fc6640683bc
treeca75c4bdaf7aedbee25ff413319cdc2154f5eba5
parentd0425fc238c3255f1436f311424121255adfab62
Decrease severity of preg_quote() warning

Summary: I use it more often without second parameter than with it.

Test Plan:
Lint of:

  preg_quote('');
  preg_quote('', '/');

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3647
src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/xhpast/preg-quote.lint-test