mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
33 lines
500 B
PHP
33 lines
500 B
PHP
|
<?php
|
||
|
|
||
|
final class DifferentialCustomFieldDependsOnParser
|
||
|
extends PhabricatorCustomFieldMonogramParser {
|
||
|
|
||
|
protected function getPrefixes() {
|
||
|
return array(
|
||
|
'depends on',
|
||
|
);
|
||
|
}
|
||
|
|
||
|
protected function getInfixes() {
|
||
|
return array(
|
||
|
'diff',
|
||
|
'diffs',
|
||
|
'change',
|
||
|
'changes',
|
||
|
'rev',
|
||
|
'revs',
|
||
|
'revision',
|
||
|
);
|
||
|
}
|
||
|
|
||
|
protected function getSuffixes() {
|
||
|
return array();
|
||
|
}
|
||
|
|
||
|
protected function getMonogramPattern() {
|
||
|
return 'D\d+';
|
||
|
}
|
||
|
|
||
|
}
|