Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78698562
DifferentialCustomFieldRevertsParser.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 22, 11:39
Size
887 B
Mime Type
text/x-php
Expires
Sat, Aug 24, 11:39 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20087781
Attached To
rPH Phabricator
DifferentialCustomFieldRevertsParser.php
View Options
<?php
final
class
DifferentialCustomFieldRevertsParser
extends
PhabricatorCustomFieldMonogramParser
{
protected
function
getPrefixes
()
{
// NOTE: Git language is "This reverts commit X."
// NOTE: Mercurial language is "Backed out changeset Y".
return
array
(
'revert'
,
'reverts'
,
'reverted'
,
'backout'
,
'backsout'
,
'backedout'
,
'back out'
,
'backs out'
,
'backed out'
,
'undo'
,
'undoes'
,
);
}
protected
function
getInfixes
()
{
return
array
(
'commit'
,
'commits'
,
'change'
,
'changes'
,
'changeset'
,
'changesets'
,
'rev'
,
'revs'
,
'revision'
,
'revisions'
,
'diff'
,
'diffs'
,
);
}
protected
function
getSuffixes
()
{
return
array
();
}
protected
function
getMonogramPattern
()
{
return
'[rA-Z0-9a-f]+'
;
}
}
Event Timeline
Log In to Comment