e107inc/e107

View on GitHub
e107_tests/lib/deployers/cPanelDeployer.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to instance property uapi from undeclared class \cpanelAPI
Open

                $cPanel->uapi->Mysql->delete_user(['name' => $user['user']]);

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $this->cPanel->api2->Fileman->fileop(['op' => 'unlink',

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $remote_hosts = $cPanel->api2->MysqlFE->gethosts()->{'cpanelresult'}->{'data'};

Reference to instance property uapi from undeclared class \cpanelAPI
Open

            $cPanel->uapi->Mysql->add_host(['host' => '%']);

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $listdbs = $cPanel->api2->MysqlFE->listdbs()->{'cpanelresult'}->{'data'};

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $cPanel->api2->Fileman

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->Mysql->create_database(['name' => $db_id]);

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->Mysql->create_user(['name' => $db_id, 'password' => $run_id]);

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->Mysql->set_privileges_on_database(['user' => $db_id,

Reference to undeclared constant \APP_PATH
Open

        $app_archive = self::archive_app(APP_PATH, $this->run_id);

Reference to instance property user from undeclared class \cpanelAPI
Open

        $prefix = $cPanel->user."_".self::TEST_PREFIX;

Call to method __construct from undeclared class \cpanelAPI
Open

        $this->cPanel = $cPanel = new cpanelAPI($username, $password, $hostname);

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $domains_data = $cPanel->uapi->DomainInfo->domains_data();

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $acceptance_tests_apiresponse = $cPanel->uapi->Fileman->get_file_content(['dir' => $homedir, 'file' => 'acceptance_tests.status.txt']);

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $target_files_apiresponse = $cPanel->uapi->Fileman->list_files(['dir' => self::TARGET_RELPATH]);

Reference to instance property uapi from undeclared class \cpanelAPI
Open

            $cPanel->uapi->Mysql->delete_host(['host' => '%']);

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $remote_hosts = $cPanel->api2->MysqlFE->gethosts()->{'cpanelresult'}->{'data'};

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->post->Fileman

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $listdbusers = $cPanel->api2->MysqlFE->listusers()->{'cpanelresult'}->{'data'};

Reference to instance property user from undeclared class \cpanelAPI
Open

        $prefix = $cPanel->user."_".self::TEST_PREFIX;

Reference to instance property uapi from undeclared class \cpanelAPI
Open

                $cPanel->uapi->Mysql->delete_database(['name' => $db['db']]);

Reference to instance property api2 from undeclared class \cpanelAPI
Open

                $cPanel->api2->Fileman->fileop(['op' => 'unlink', 'sourcefiles' => self::TARGET_RELPATH.$questionable_filename]);

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->Fileman->save_file_content(['dir' => $homedir, 'file' => 'acceptance_tests.status.txt', 'content' => $acceptance_tests_json]);

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $cPanel->api2->Fileman

There are no issues that match your filters.

Category
Status