bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Doc-block of $all_caps in check_user_cap is phpdoc param type bool[] which is not a permitted replacement of the nullable param type ?array declared in the signature ('?T' should be documented as 'T|null' or '?T')
Open

 * @param array<bool> $all_caps 
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Possibly zero references to use statement for function bf_deactivation_effect (\BitFireSvr\bf_deactivation_effect)
Open

use function BitFireSvr\bf_deactivation_effect;
Severity: Minor
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

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

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

Reference to undeclared constant \WP_CONTENT_DIR
Open

        mkdir(WP_CONTENT_DIR . "/bitfire", 0775, false);
Severity: Minor
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_action()
Open

        add_action("personal_options_update", "\BitFirePlugin\user_edit");
Severity: Critical
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
Severity
Category
Status
Source
Language