bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Call to undeclared function \get_admin_url()
Open

            $edit_url = _wp_specialchars(get_admin_url() . "user-edit.php?user_id={$user_id}#bitfire_mfa", ENT_QUOTES);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \add_action()
Open

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

Function bitfire_init defined at /code/wordpress-plugin/bitfire-plugin.php:427 was previously defined at /code/custom-plugin/bitfire-plugin.php:324
Open

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

Call to undeclared function \add_filter()
Open

    add_filter("determine_current_user", "BitFirePRO\\verify_user_id", 65535, 1);
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_filter()
Open

add_filter("manage_users_columns", "BitFirePlugin\user_columns");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

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

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

Call to undeclared function \add_action()
Open

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

Expected @param annotation for ver to be before the @param annotation for name
Open

 * @param string $name 
Severity: Info
Found in wordpress-plugin/includes.php by phan

Function dashboard_url defined at /code/wordpress-plugin/bitfire-plugin.php:116 was previously defined at /code/custom-plugin/bitfire-plugin.php:72
Open

function dashboard_url(string $page_name) : string {
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Saw an @param annotation for path, but it was not found in the param list of function package_to_ver(string $carry, string $line) : string;
Open

 * @param mixed $path 
Severity: Info
Found in wordpress-plugin/includes.php by phan

Call to undeclared function \add_action()
Open

            add_action("wp_login", "\BitFirePRO\wp_user_login", 60, 1);
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_get_inline_script_tag()
Open

    $alert_effect->out(wp_get_inline_script_tag($block_effect->read_out()), ENCODE_RAW, true);
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_filter()
Open

    \add_filter("query", "BitFirePRO\query_filter");
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_filter()
Open

        add_filter("wp_script_attributes", BINDL("\BitFirePlugin\add_nonce_attr", $nonce));
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Possibly zero references to use statement for function verify_bot_as (\BitFireBot\verify_bot_as)
Open

use function BitFireBot\verify_bot_as;
Severity: Minor
Found in wordpress-plugin/includes.php by phan

Saw an @param annotation for path, but it was not found in the param list of function path_to_source(string $rel_path, string $type, string $ver, ?string $name = null) : string;
Open

 * @param string $path 
Severity: Info
Found in wordpress-plugin/includes.php by phan

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

function mail(string $subject, string $message) {
Severity: Minor
Found in wordpress-plugin/includes.php by phan

Argument 1 (frequency_table) is ?array but \BitFire\frequency_analysis() takes array defined at /code/firewall/src/cms.php:873
Open

    $frequency = frequency_analysis($freq, $c3);
Severity: Minor
Found in firewall/src/cms.php by phan

Argument 4 (user) is null but \BitFirePlugin\check_user_cap() takes \WP_User defined at /code/wordpress-plugin/bitfire-plugin.php:536
Open

        $used_caps = check_user_cap(null, null, null, null);
Severity: Minor
Found in firewall/src/cms.php by phan

Unused result of a binary '!==' operator
Open

        (@shmop_write($ctx['rid'], $block,    $ctx['mem_start'] + ($x * CUCKOO_EXP_SIZE_BYTES)) !== false);
Severity: Info
Found in firewall/src/cuckoo.php by phan
Severity
Category
Status
Source
Language