Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F573527
DifferentialRevisionWrongBuildsTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
815 B
Referenced Files
None
Subscribers
None
DifferentialRevisionWrongBuildsTransaction.php
View Options
<?php
final
class
DifferentialRevisionWrongBuildsTransaction
extends
DifferentialRevisionTransactionType
{
const
TRANSACTIONTYPE
=
'differential.builds.wrong'
;
public
function
generateOldValue
(
$object
)
{
return
null
;
}
public
function
generateNewValue
(
$object
,
$value
)
{
return
$value
;
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setProperty
(
DifferentialRevision
::
PROPERTY_WRONG_BUILDS
,
true
);
}
public
function
getIcon
()
{
return
'fa-exclamation'
;
}
public
function
getColor
()
{
return
'pink'
;
}
public
function
getActionStrength
()
{
return
400
;
}
public
function
getTitle
()
{
return
pht
(
'This revision was landed with ongoing or failed builds.'
);
}
public
function
shouldHideForFeed
()
{
return
true
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 6:00 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
106010
Default Alt Text
DifferentialRevisionWrongBuildsTransaction.php (815 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment