Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/xhpast/rules/ArcanistCommentSpacingXHPASTLinterRule.php
Context not available. | |||||
if ($value[0] !== '#') { | if ($value[0] !== '#') { | ||||
$match = null; | $match = null; | ||||
if (preg_match('@^(/[/*]+)[^/*\s]@', $value, $match)) { | if (@preg_match('@^(/[/*]+)[^/*\s]@', $value, $match)) { | ||||
$this->raiseLintAtOffset( | $this->raiseLintAtOffset( | ||||
$comment->getOffset(), | $comment->getOffset(), | ||||
pht('Put space after comment start.'), | pht('Put space after comment start.'), | ||||
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