Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/xhpast/rules/ArcanistPHPOpenTagXHPASTLinterRule.php
Context not available. | |||||
} else if ($token->getTypeName() === 'T_OPEN_TAG_WITH_ECHO') { | } else if ($token->getTypeName() === 'T_OPEN_TAG_WITH_ECHO') { | ||||
break; | break; | ||||
} else { | } else { | ||||
if (!preg_match('/^#!/', $token->getValue())) { | if (!@preg_match('/^#!/', $token->getValue())) { | ||||
$this->raiseLintAtToken( | $this->raiseLintAtToken( | ||||
$token, | $token, | ||||
pht( | pht( | ||||
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