Skip to content

Commit cacbfba

Browse files
author
vrana
committed
Prefill "<?php" in XHPAST view form
Test Plan: /xhpast/ Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5176
1 parent 507a961 commit cacbfba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function processRequest() {
3737
id(new AphrontFormTextAreaControl())
3838
->setLabel('Source')
3939
->setName('source')
40+
->setValue("<?php\n\n")
4041
->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_TALL))
4142
->appendChild(
4243
id(new AphrontFormSubmitControl())

0 commit comments

Comments
 (0)