Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100729351
ManiphestCustomFieldStatusParser.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
Sun, Feb 2, 06:31
Size
948 B
Mime Type
text/x-php
Expires
Tue, Feb 4, 06:31 (2 d)
Engine
blob
Format
Raw Data
Handle
24022720
Attached To
rPH Phabricator
ManiphestCustomFieldStatusParser.php
View Options
<?php
final
class
ManiphestCustomFieldStatusParser
extends
PhabricatorCustomFieldMonogramParser
{
protected
function
getPrefixes
()
{
return
array
(
'resolve'
,
'resolves'
,
'resolved'
,
'fix'
,
'fixes'
,
'fixed'
,
'wontfix'
,
'wontfixes'
,
'wontfixed'
,
'spite'
,
'spites'
,
'spited'
,
'invalidate'
,
'invalidates'
,
'invalidated'
,
'close'
,
'closes'
,
'closed'
,
'ref'
,
'refs'
,
'references'
,
'cf.'
,
);
}
protected
function
getInfixes
()
{
return
array
(
'task'
,
'tasks'
,
'issue'
,
'issues'
,
'bug'
,
'bugs'
,
);
}
protected
function
getSuffixes
()
{
return
array
(
'as resolved'
,
'as fixed'
,
'as wontfix'
,
'as spite'
,
'out of spite'
,
'as invalid'
,
);
}
protected
function
getMonogramPattern
()
{
return
'[tT]
\d
+'
;
}
}
Event Timeline
Log In to Comment