mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-12 08:36:13 +01:00
592591e715
Summary: Ref T2222. - Removes `DifferentialTasksAttacher`, which has had no callsites for a very long time. - Moves `differential.getrevisioncomments` off `DifferentialCommentQuery`. - Moves Releeph churn field off `DifferentialCommentQuery`. - Removes dead code in `DifferentialRevisionViewController`. - Removes `DifferentialException` (no references). - Removes `DifferentialRevision->loadComments()` (no callsites). - Removes `DifferentialRevision->loadReviewedBy()` (all callsites updated). - Removes `DifferentialCommentQuery` (all callsites updated). Test Plan: Mostly a lot of `grep`. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2222 Differential Revision: https://secure.phabricator.com/D8476
32 lines
503 B
PHP
32 lines
503 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 '[Dd]\d+';
|
|
}
|
|
|
|
}
|