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 HeraldPreCommitRefAdapter extends HeraldPreCommitAdapter { public fu..

Decoded Output download

<?php

final class HeraldPreCommitRefAdapter extends HeraldPreCommitAdapter {

  public function getAdapterContentName() {
    return pht('Commit Hook: Branches/Tags/Bookmarks');
  }

  public function getAdapterSortOrder() {
    return 2000;
  }

  public function getAdapterContentDescription() {
    return pht(
      "React to branches and tags being pushed to hosted repositories.
".
      "Hook rules can block changes and send push summary mail.");
  }

  public function isPreCommitRefAdapter() {
    return true;
  }

  public function getHeraldName() {
    return pht('Push Log (Ref)');
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class HeraldPreCommitRefAdapter extends HeraldPreCommitAdapter {

  public function getAdapterContentName() {
    return pht('Commit Hook: Branches/Tags/Bookmarks');
  }

  public function getAdapterSortOrder() {
    return 2000;
  }

  public function getAdapterContentDescription() {
    return pht(
      "React to branches and tags being pushed to hosted repositories.\n".
      "Hook rules can block changes and send push summary mail.");
  }

  public function isPreCommitRefAdapter() {
    return true;
  }

  public function getHeraldName() {
    return pht('Push Log (Ref)');
  }

}

Function Calls

None

Variables

None

Stats

MD5 08377fe2f31ee023236f27f0c4144a87
Eval Count 0
Decode Time 100 ms