[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * This field doesn't do anything, it just parses the "Conflicts:" field which 5 * `git` can insert after a merge, so we don't squish the field value into 6 * some other field. 7 */ 8 final class DifferentialConflictsField 9 extends DifferentialCustomField { 10 11 public function getFieldKey() { 12 return 'differential:conflicts'; 13 } 14 15 public function getFieldKeyForConduit() { 16 return 'conflicts'; 17 } 18 19 public function getFieldName() { 20 return pht('Conflicts'); 21 } 22 23 public function getFieldDescription() { 24 return pht( 25 'Parses the "Conflicts" field which Git can inject into commit '. 26 'messages.'); 27 } 28 29 public function canDisableField() { 30 return false; 31 } 32 33 public function shouldAppearInCommitMessage() { 34 return true; 35 } 36 37 public function shouldAllowEditInCommitMessage() { 38 return false; 39 } 40 41 public function renderCommitMessageValue(array $handles) { 42 return null; 43 } 44 45 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |