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 PhabricatorCalendarImportICSLogType extends PhabricatorCalendarImport..

Decoded Output download

<?php

final class PhabricatorCalendarImportICSLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'ics';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('ICS Parse Error');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht(
      'Failed to parse ICS data ("%s"): %s',
      $log->getParameter('ics.code'),
      $log->getParameter('ics.message'));
  }


  public function getDisplayIcon(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'fa-file';
  }

  public function getDisplayColor(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'red';
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarImportICSLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'ics';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('ICS Parse Error');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht(
      'Failed to parse ICS data ("%s"): %s',
      $log->getParameter('ics.code'),
      $log->getParameter('ics.message'));
  }


  public function getDisplayIcon(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'fa-file';
  }

  public function getDisplayColor(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'red';
  }

}

Function Calls

None

Variables

None

Stats

MD5 779165629fde2d54f9282539975db2f8
Eval Count 0
Decode Time 78 ms