bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Call to undeclared function \wp_register_script()
Open

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

Reference to undeclared constant \ABSPATH
Open

    require_once ABSPATH . "/wp-admin/includes/file.php";
Severity: Minor
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \wp_register_script()
Open

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

Call to undeclared function \get_home_path()
Open

        debug("sync cms_root [%s] / [%s] - [%d] (%s)", \get_home_path(), CFG::str("cms_root"), $e->read_status(), $e->read_errors());
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Reference to undeclared constant \WP_CONTENT_DIR
Open

        debug("sync cms_content_dir [%s] / [%s] - [%d] (%s)", \WP_CONTENT_DIR, CFG::str("cms_content_dir"), $e->read_status(), $e->read_errors());
Severity: Minor
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \wp_register_style()
Open

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

Call to undeclared function \add_submenu_page()
Open

    \add_submenu_page(
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \wp_enqueue_script()
Open

    \wp_enqueue_script("dashkit-underscore", plugin_dir_url(__FILE__) . "public/underscore.min.js", "1.0", false);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \plugin_dir_url()
Open

    \wp_enqueue_script("dashkit-underscore", plugin_dir_url(__FILE__) . "public/underscore.min.js", "1.0", false);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \plugin_dir_url()
Open

    \wp_enqueue_script("dashkit-diff", plugin_dir_url(__FILE__) . "public/difflib.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_script("dashkit-internal", plugin_dir_url(__FILE__) . "public/internal.js", [], "1.0", false);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

array to false comparison
Open

                if ($this->lines === false) {
Severity: Info
Found in firewall/src/util.php by phan

Call to undeclared function \wp_enqueue_script()
Open

    \wp_enqueue_script("dashkit-internal", plugin_dir_url(__FILE__) . "public/internal.js", [], "1.0", false);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \wp_get_current_user()
Open

        $user = wp_get_current_user();
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_enqueue_style()
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

Argument 1 (str) is ?string but \trim() takes string
Open

    $d = trim($data, "\n\r,"); $j = json_decode($d, true, 32); $r = []; if (is_array($j)) { $r = $j; }
Severity: Minor
Found in firewall/src/util.php by phan

Call to undeclared function \wp_login_url()
Open

        \wp_login_url(
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_enqueue_style()
Open

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

Argument 2 (vars) is array but \sprintf() takes float|int|string
Open

        $line = sprintf($fmt, ...$args);
Severity: Minor
Found in firewall/src/util.php by phan

Function get_cms_version defined at /code/wordpress-plugin/includes.php:33 was previously defined at /code/custom-plugin/includes.php:37
Open

function get_cms_version(string $root_dir): string
Severity: Minor
Found in wordpress-plugin/includes.php by phan
Severity
Category
Status
Source
Language