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 PhabricatorFeedConfigOptions extends PhabricatorApplicationConfigOpti..

Decoded Output download

<?php

final class PhabricatorFeedConfigOptions
  extends PhabricatorApplicationConfigOptions {

  public function getName() {
    return pht('Feed');
  }

  public function getDescription() {
    return pht('Feed options.');
  }

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

  public function getGroup() {
    return 'apps';
  }

  public function getOptions() {
    $hooks_help = $this->deformat(pht(<<<EODOC
IMPORTANT: Feed hooks are deprecated and have been replaced by Webhooks.

You can configure Webhooks in Herald. This configuration option will be removed
in a future version of the software.

(This legacy option may be configured with a list of URIs; feed stories will
send to these URIs.)
EODOC
      ));

    return array(
      $this->newOption('feed.http-hooks', 'list<string>', array())
        ->setLocked(true)
        ->setSummary(pht('Deprecated.'))
        ->setDescription($hooks_help),
    );
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorFeedConfigOptions
  extends PhabricatorApplicationConfigOptions {

  public function getName() {
    return pht('Feed');
  }

  public function getDescription() {
    return pht('Feed options.');
  }

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

  public function getGroup() {
    return 'apps';
  }

  public function getOptions() {
    $hooks_help = $this->deformat(pht(<<<EODOC
IMPORTANT: Feed hooks are deprecated and have been replaced by Webhooks.

You can configure Webhooks in Herald. This configuration option will be removed
in a future version of the software.

(This legacy option may be configured with a list of URIs; feed stories will
send to these URIs.)
EODOC
      ));

    return array(
      $this->newOption('feed.http-hooks', 'list<string>', array())
        ->setLocked(true)
        ->setSummary(pht('Deprecated.'))
        ->setDescription($hooks_help),
    );
  }

}

Function Calls

None

Variables

None

Stats

MD5 fe6308635d95fee7597dccbb46ff41ae
Eval Count 0
Decode Time 93 ms