Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/xhpast/rules/ArcanistArraySeparatorXHPASTLinterRule.php
Context not available. | |||||
$original = $value->getConcreteString(); | $original = $value->getConcreteString(); | ||||
$replacement = $value->getConcreteString().','; | $replacement = $value->getConcreteString().','; | ||||
if (strpos($after, "\n") === false) { | if (@strpos($after, "\n") === false) { | ||||
$original .= $after; | $original .= $after; | ||||
$replacement .= $after."\n".$array->getIndentation(); | $replacement .= $after."\n".$array->getIndentation(); | ||||
} | } | ||||
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