Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93948408
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
Mon, Dec 2, 18:36
Size
887 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 18:36 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22727731
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