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 abstract class DiffusionPreCommitRefHeraldField extends HeraldField { public fun..

Decoded Output download

<?php

abstract class DiffusionPreCommitRefHeraldField extends HeraldField {

  public function supportsObject($object) {
    if (!($object instanceof PhabricatorRepositoryPushLog)) {
      return false;
    }

    if (!$this->getAdapter()->isPreCommitRefAdapter()) {
      return false;
    }

    return true;
  }

  public function getFieldGroupKey() {
    return DiffusionPreCommitRefHeraldFieldGroup::FIELDGROUPKEY;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class DiffusionPreCommitRefHeraldField extends HeraldField {

  public function supportsObject($object) {
    if (!($object instanceof PhabricatorRepositoryPushLog)) {
      return false;
    }

    if (!$this->getAdapter()->isPreCommitRefAdapter()) {
      return false;
    }

    return true;
  }

  public function getFieldGroupKey() {
    return DiffusionPreCommitRefHeraldFieldGroup::FIELDGROUPKEY;
  }

}

Function Calls

None

Variables

None

Stats

MD5 4aee4ab98b15bcf1b6c6edb7d95ee700
Eval Count 0
Decode Time 83 ms