Changeset View
Changeset View
Standalone View
Standalone View
src/repository/remote/ArcanistGitRepositoryRemoteQuery.php
Context not available. | |||||
$lines = phutil_split_lines($lines, false); | $lines = phutil_split_lines($lines, false); | ||||
foreach ($lines as $line) { | foreach ($lines as $line) { | ||||
$matches = null; | $matches = null; | ||||
if (!preg_match($pattern, $line, $matches)) { | if (!@preg_match($pattern, $line, $matches)) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'Failed to match remote pattern against line "%s".', | 'Failed to match remote pattern against line "%s".', | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0