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 DiffusionCommitReviewerHeraldField extends DiffusionCommitHeraldField..
Decoded Output download
<?php
final class DiffusionCommitReviewerHeraldField
extends DiffusionCommitHeraldField {
const FIELDCONST = 'diffusion.commit.reviewer';
public function getHeraldFieldName() {
return pht('Reviewer (Deprecated)');
}
public function getFieldGroupKey() {
return HeraldDeprecatedFieldGroup::FIELDGROUPKEY;
}
public function getHeraldFieldValue($object) {
return $object->getCommitData()->getCommitDetail('reviewerPHID');
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_NULLABLE;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class DiffusionCommitReviewerHeraldField
extends DiffusionCommitHeraldField {
const FIELDCONST = 'diffusion.commit.reviewer';
public function getHeraldFieldName() {
return pht('Reviewer (Deprecated)');
}
public function getFieldGroupKey() {
return HeraldDeprecatedFieldGroup::FIELDGROUPKEY;
}
public function getHeraldFieldValue($object) {
return $object->getCommitData()->getCommitDetail('reviewerPHID');
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_PHID_NULLABLE;
}
protected function getDatasource() {
return new PhabricatorPeopleDatasource();
}
}
Function Calls
None |
Stats
MD5 | 098d2b1887227047044f0307c09a5195 |
Eval Count | 0 |
Decode Time | 81 ms |