Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/provider/PhabricatorAsanaAuthProvider.php
Context not available. | |||||
$pattern = '(https://app\\.asana\\.com/0/(\\d+)/(\\d+))'; | $pattern = '(https://app\\.asana\\.com/0/(\\d+)/(\\d+))'; | ||||
$matches = null; | $matches = null; | ||||
if (!preg_match($pattern, $uri_string, $matches)) { | if (!@preg_match($pattern, $uri_string, $matches)) { | ||||
return null; | return null; | ||||
} | } | ||||
if (strlen($uri->getFragment())) { | if (@strlen($uri->getFragment())) { | ||||
return null; | return null; | ||||
} | } | ||||
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