bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Reference to undeclared constant \DB_NAME
Open

        $credentials = new Credentials(DB_USER, DB_PASSWORD, DB_HOST, DB_NAME);
Severity: Minor
Found in firewall/src/wordpress.php by phan

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

        $line = str_replace(array("\r","\n",":"), array(" "," ",";"), @sprintf($fmt, ...$args));
Severity: Minor
Found in firewall/src/util.php by phan

mixed $args is not variadic in comment, but variadic in param (...$args)
Open

 * @param mixed $args 
Severity: Info
Found in firewall/src/util.php by phan

Variable $block is undeclared
Open

<?php if (\BitFire\Config::enabled('debug')) { echo(json_encode($block, JSON_PRETTY_PRINT)); } ?>
Severity: Minor
Found in firewall/views/block.php by phan

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

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

Call to undeclared function \msgpack_unpack()
Open

            return \msgpack_unpack($compress);
Severity: Critical
Found in firewall/src/util.php by phan

Call to undeclared function \plugin_dir_url()
Open

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

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

use BitFire\Block;
Severity: Minor
Found in ip_blocking.php by phan

Possibly zero references to use statement for function serve_malware (\BitFire\serve_malware)
Open

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

Call to undeclared function \plugin_dir_url()
Open

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

Variable $archive is undeclared
Open

print_r($archive);
Severity: Minor
Found in recovery.php by phan

Function bf_auth_effect defined at /code/wordpress-plugin/bitfire-admin.php:73 was previously defined at /code/custom-plugin/bitfire-plugin.php:136
Open

function bf_auth_effect() : Effect {
Severity: Minor
Found in wordpress-plugin/bitfire-admin.php by phan

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

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

Call to undeclared function \wp_enqueue_script()
Open

    \wp_enqueue_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 \plugin_dir_url()
Open

    \wp_register_script("dashkit", plugin_dir_url(__FILE__) . "public/dashkit.min.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-feather", plugin_dir_url(__FILE__) . "public/feather.css", [], "1.0");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

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

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

Call to undeclared function \wp_register_script()
Open

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

Call to undeclared function \esc_html()
Open

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

Call to undeclared function \wp_register_script()
Open

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