403Webshell
Server IP : 104.21.14.103  /  Your IP : 18.222.161.187
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/cwd/wp-content/plugins/duplicator-pro/classes/utilities/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/cwd/wp-content/plugins/duplicator-pro/classes/utilities/tests/class.u.test.abstract.php
<?php
defined("ABSPATH") or die("");

/**
 * Test abstract class
 *
 * Standard: PSR-2
 * @link http://www.php-fig.org/psr/psr-2
 *
 * @package DUP_PRO
 * @subpackage classes/utilities/test
 * @copyright (c) 2017, Snapcreek LLC
 * @license	https://opensource.org/licenses/GPL-3.0 GNU Public License
 * @since 3.7.9
 *
 */

require_once(DUPLICATOR_PRO_PLUGIN_PATH.'/classes/utilities/tests/class.u.test.result.php');

abstract class DUP_PRO_U_Test_abstract
{

    /**
     * Return test desc html section
     *
     * @param string $title
     * @param string $content // html string
     * @return string // html formatted
     */
    protected function getDescSection($title, $content)
    {
        ob_start();
        ?>
        <fieldset class="d_section" >
            <legend><?php echo esc_html($title) ?></legend>
            <?php echo $content; ?>
        </fieldset>
        <?php
        return ob_get_clean();
    }

    /**
     *
     * @param string $title
     * @param string $left
     * @param string $right
     * @param array $args // see wp_text_diff args
     * @return string
     */
    protected function getDescDiffSection($title, $left, $right, $args)
    {
        return $this->getDescSection($title, wp_text_diff($left, $right, $args));
    }

    abstract public function inizialize();

    abstract public function clear();

    /**
     * @param string $scope
     * @return [DUP_PRO_Test_result]
     */
    abstract public function test($scope);
}

Youez - 2016 - github.com/yon3zu
LinuXploit