1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00

Merge pull request #104 from jeffmo/master

Pull request for D2025 (fix phabricator linter regex issue)
This commit is contained in:
Evan Priestley 2012-03-26 16:12:09 -07:00
commit bf2422afc8

View file

@ -216,7 +216,7 @@ final class PhabricatorJavelinLinter extends ArcanistLinter {
$symbols = explode("\n", trim($symbols));
foreach ($symbols as $line) {
$matches = null;
if (!preg_match('/^([?+])([^:]*):(\d+)$/', $line, $matches)) {
if (!preg_match('/^([?+\*])([^:]*):(\d+)$/', $line, $matches)) {
throw new Exception(
"Received malformed output from `javelinsymbols`.");
}