bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Call to undeclared function \get_home_path()
Open

    $home = \get_home_path();
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \get_home_path()
Open

        $e = update_ini_value("cms_root", \get_home_path())->run();
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \wp_register_script()
Open

        \wp_register_script("bitfire", plugin_dir_url(__FILE__) . "public/plugin-monitor.js", ["jquery"], "1.0", true);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \plugin_dir_url()
Open

    \wp_enqueue_style("dashkit-vs2015", plugin_dir_url(__FILE__) . "public/vs2015.min.css", [], "1.0");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \wp_enqueue_style()
Open

    \wp_enqueue_style("dashkit-bundle", plugin_dir_url(__FILE__) . "public/theme.bundle.css", [], "1.0");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \admin_url()
Open

            $url = admin_url("admin.php?page=bitfire_advanced");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

When fetching an array index from a value of type array|array<int default auth verification to off>|array<int>|array<int false>|array<int>&gt;|array<int>,</int></int></int></int></int> found an array index of type 'malware', but expected the index to be of type int
Open

        if ($malware_data['malware'] == 0) {
Severity: Minor
Found in wordpress-plugin/bitfire-admin.php by phan

Possibly zero references to use statement for classlike/namespace MatchType (\BitFire\MatchType)
Open

use BitFire\MatchType;
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Possibly zero references to use statement for function icontains (\ThreadFin\icontains)
Open

use function ThreadFin\icontains;
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \plugin_dir_path()
Open

    include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \esc_attr()
Open

            esc_attr($_POST["log"]),
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_schedule_event()
Open

        wp_schedule_event( time(), 'hourly', 'bitfire_plugin_check' );
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \is_user_logged_in()
Open

    if (is_user_logged_in()) {
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_action()
Open

        add_action("user_register", "\BitFirePlugin\user_add");
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_action()
Open

\add_action("wp_logout", function() { \ThreadFin\cookie(CFG::str(CONFIG_USER_TRACK_COOKIE), null, -1); });
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Function malware_scan_dirs defined at /code/wordpress-plugin/includes.php:168 was previously defined at /code/custom-plugin/includes.php:145
Open

function malware_scan_dirs(string $root) : array {
Severity: Minor
Found in wordpress-plugin/includes.php by phan

Assigning false to property but \BitFire\UserAgent->bot is string
Open

                    $carry->bot = false;
Severity: Minor
Found in firewall/src/botfilter.php by phan

Assigning string to property but \BitFire\Malware->pre_indent is int
Open

    public $pre_indent = "";
Severity: Minor
Found in firewall/src/cms.php by phan

Assigning bool to property but \BitFire\Malware->php_count is int
Open

        $malware->php_count = $php_count;
Severity: Minor
Found in firewall/src/cms.php by phan

Argument 2 (offset) is string but \BitFire\offset_pre_text() takes int defined at /code/firewall/src/cms.php:1471
Open

                        offset_pre_text($c3, $inc[0][1], 512, $size),
Severity: Minor
Found in firewall/src/cms.php by phan
Severity
Category
Status
Source
Language