@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class DifferentialCustomFieldDependsOnParser
4 extends PhabricatorCustomFieldMonogramParser {
5
6 protected function getPrefixes() {
7 return array(
8 'depends on',
9 );
10 }
11
12 protected function getInfixes() {
13 return array(
14 'diff',
15 'diffs',
16 'change',
17 'changes',
18 'rev',
19 'revs',
20 'revision',
21 );
22 }
23
24 protected function getSuffixes() {
25 return array();
26 }
27
28 protected function getMonogramPattern() {
29 return '[Dd]\d+';
30 }
31
32}