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 DifferentialRevisionWrongBuildsTransaction extends DifferentialRevisi..

Decoded Output download

<?php

final class DifferentialRevisionWrongBuildsTransaction
  extends DifferentialRevisionTransactionType {

  const TRANSACTIONTYPE = 'differential.builds.wrong';

  public function generateOldValue($object) {
    return null;
  }

  public function generateNewValue($object, $value) {
    return $value;
  }

  public function applyInternalEffects($object, $value) {
    $object->setProperty(DifferentialRevision::PROPERTY_WRONG_BUILDS, true);
  }

  public function getIcon() {
    return 'fa-exclamation';
  }

  public function getColor() {
    return 'pink';
  }

  public function getActionStrength() {
    return 400;
  }

  public function getTitle() {
    return pht(
      'This revision was landed with ongoing or failed builds.');
  }

  public function shouldHideForFeed() {
    return true;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class DifferentialRevisionWrongBuildsTransaction
  extends DifferentialRevisionTransactionType {

  const TRANSACTIONTYPE = 'differential.builds.wrong';

  public function generateOldValue($object) {
    return null;
  }

  public function generateNewValue($object, $value) {
    return $value;
  }

  public function applyInternalEffects($object, $value) {
    $object->setProperty(DifferentialRevision::PROPERTY_WRONG_BUILDS, true);
  }

  public function getIcon() {
    return 'fa-exclamation';
  }

  public function getColor() {
    return 'pink';
  }

  public function getActionStrength() {
    return 400;
  }

  public function getTitle() {
    return pht(
      'This revision was landed with ongoing or failed builds.');
  }

  public function shouldHideForFeed() {
    return true;
  }

}

Function Calls

None

Variables

None

Stats

MD5 488aebe94ec644120988d0cd278690e9
Eval Count 0
Decode Time 90 ms