Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F559951
DifferentialHeraldStateReasons.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
814 B
Referenced Files
None
Subscribers
None
DifferentialHeraldStateReasons.php
View Options
<?php
final
class
DifferentialHeraldStateReasons
extends
HeraldStateReasons
{
const
REASON_DRAFT
=
'differential.draft'
;
const
REASON_UNCHANGED
=
'differential.unchanged'
;
const
REASON_LANDED
=
'differential.landed'
;
public
function
explainReason
(
$reason
)
{
$reasons
=
array
(
self
::
REASON_DRAFT
=>
pht
(
'This revision is still an unsubmitted draft, so mail will not '
.
'be sent yet.'
),
self
::
REASON_UNCHANGED
=>
pht
(
'The update which triggered Herald did not update the diff for '
.
'this revision, so builds will not run.'
),
self
::
REASON_LANDED
=>
pht
(
'The update which triggered Herald was an automatic update in '
.
'response to discovering a commit, so builds will not run.'
),
);
return
idx
(
$reasons
,
$reason
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 10:51 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
125243
Default Alt Text
DifferentialHeraldStateReasons.php (814 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment