Showing 749 of 749 total issues
Doc-block of $name
in path_to_source
is phpdoc param type string
which is not a permitted replacement of the nullable param type ?string
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param string $name
- Exclude checks
Returning type bool
but http()
is declared to return string
Open
Open
return debugF("http_resp [%s] fail", $path);
- Exclude checks
Reference to undeclared constant \XHPROF_FLAGS_CPU
Open
Open
xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
- Exclude checks
Possibly zero references to use statement for function serve_settings
(\BitFire\serve_settings)
Open
Open
use function BitFire\serve_settings;
- Exclude checks
Call to undeclared function \content_url()
Open
Open
update_ini_value("cms_content_url", \content_url())->run();
- Exclude checks
Call to undeclared function \wp_add_inline_script()
Open
Open
\wp_add_inline_script($handle, $code);
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_register_script("dashkit-diff", plugin_dir_url(__FILE__) . "public/difflib.js", ["jquery"], "1.0", true);
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_register_script("dashkit-underscore", plugin_dir_url(__FILE__) . "public/underscore.min.js", [], "1.0", false);
- Exclude checks
Call to undeclared function \wp_enqueue_script()
Open
Open
\wp_enqueue_script("dashkit", plugin_dir_url(__FILE__) . "public/dashkit.min.js", ["jquery"], "1.0", true);
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_enqueue_style("dashkit-prism", plugin_dir_url(__FILE__) . "public/prism.css", [], "1.0");
- Exclude checks
Call to undeclared function \wp_enqueue_style()
Open
Open
\wp_enqueue_style("dashkit-feather", plugin_dir_url(__FILE__) . "public/feather.css", [], "1.0");
- Exclude checks
Call to undeclared function \wp_add_dashboard_widget()
Open
Open
wp_add_dashboard_widget('custom_help_widget', 'BitFire Security Notices', 'BitFirePlugin\dashboard_content');
- Exclude checks
Possibly zero references to use statement for function do_for_each
(\ThreadFin\do_for_each)
Open
Open
use function ThreadFin\do_for_each;
- Exclude checks
Call to undeclared function \BitFirePRO\wp_render_user_form()
Open
Open
function mfa_field($user) { echo \BitFirePRO\wp_render_user_form($user); }
- Exclude checks
Call to undeclared function \register_deactivation_hook()
Open
Open
\register_deactivation_hook(__FILE__, 'BitFirePlugin\deactivate_bitfire');
- Exclude checks
Call to undeclared function \BitFirePRO\wp_requirement_check()
Open
Open
if (function_exists('BitFirePRO\wp_requirement_check') && !wp_requirement_check()) {
- Exclude checks
Function file_type
defined at /code/wordpress-plugin/includes.php:49
was previously defined at /code/custom-plugin/includes.php:55
Open
Open
function file_type(string $path) : string {
- Exclude checks
Function path_to_source
defined at /code/wordpress-plugin/includes.php:104
was previously defined at /code/custom-plugin/includes.php:92
Open
Open
function path_to_source(string $rel_path, string $type, string $ver, ?string $name=null) : string {
- Exclude checks
Call to undeclared function \wp_mail()
Open
Open
\wp_mail(CFG::str("email"), $subject, $message);
- Exclude checks
Argument 1 (data)
is ?array
but \ThreadFin\uncompress()
takes array
defined at /code/firewall/src/util.php:2335
Open
Open
$result = un_json(uncompress($decoded));
- Exclude checks