Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php final class ProjectReplyHandler extends PhabricatorApplicationTransactionReplyHan..
Decoded Output download
<?php
final class ProjectReplyHandler
extends PhabricatorApplicationTransactionReplyHandler {
public function validateMailReceiver($mail_receiver) {
if (!($mail_receiver instanceof PhabricatorProject)) {
throw new Exception(
pht('Mail receiver is not a %s.', 'PhabricatorProject'));
}
}
public function getObjectPrefix() {
return PhabricatorProjectProjectPHIDType::TYPECONST;
}
protected function shouldCreateCommentFromMailBody() {
return false;
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class ProjectReplyHandler
extends PhabricatorApplicationTransactionReplyHandler {
public function validateMailReceiver($mail_receiver) {
if (!($mail_receiver instanceof PhabricatorProject)) {
throw new Exception(
pht('Mail receiver is not a %s.', 'PhabricatorProject'));
}
}
public function getObjectPrefix() {
return PhabricatorProjectProjectPHIDType::TYPECONST;
}
protected function shouldCreateCommentFromMailBody() {
return false;
}
}
Function Calls
None |
Stats
MD5 | 6546baf6f1d922ebc9bbd93c70651c62 |
Eval Count | 0 |
Decode Time | 112 ms |