Showing 749 of 749 total issues
Suspicious type bool
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
trace("file2:".count($files).":".$block->empty());
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_register_script("bitfire", plugin_dir_url(__FILE__) . "public/plugin-monitor.js", ["jquery"], "1.0", true);
- Exclude checks
Call to undeclared function \get_user_meta()
Open
Open
$mfa = get_user_meta($user_id, "bitfire_mfa_tel", true);
- Exclude checks
Possibly zero references to use statement for function find_const_arr
(\ThreadFin\find_const_arr)
Open
Open
use function ThreadFin\find_const_arr;
- Exclude checks
Function find_cms_root
defined at /code/wordpress-plugin/bitfire-plugin.php:177
was previously defined at /code/custom-plugin/bitfire-plugin.php:166
Open
Open
function find_cms_root() : ?string {
- Exclude checks
Call to undeclared function \get_home_path()
Open
Open
if (function_exists('get_home_path')) { trace("HOME_PATH"); $root = \get_home_path(); }
- Exclude checks
Call to undeclared function \esc_html()
Open
Open
echo \login_header("MFA Code Required", "<p class='message'>".esc_html($msg)."</p>");
- Exclude checks
Call to undeclared function \login_header()
Open
Open
echo \login_header("MFA Code Required", "<p class='message'>".esc_html($msg)."</p>");
- Exclude checks
Parameter $user
has undeclared type \WP_User
Open
Open
function check_user_cap(?array $all_caps = null, ?array $caps = null, ?array $args = null, $user = null) : array {
- Exclude checks