Showing 749 of 749 total issues
Call to undeclared function \get_home_path()
Open
Open
$home = \get_home_path();
- Exclude checks
Call to undeclared function \get_home_path()
Open
Open
$e = update_ini_value("cms_root", \get_home_path())->run();
- Exclude checks
Call to undeclared function \wp_register_script()
Open
Open
\wp_register_script("bitfire", plugin_dir_url(__FILE__) . "public/plugin-monitor.js", ["jquery"], "1.0", true);
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_enqueue_style("dashkit-vs2015", plugin_dir_url(__FILE__) . "public/vs2015.min.css", [], "1.0");
- Exclude checks
Call to undeclared function \wp_enqueue_style()
Open
Open
\wp_enqueue_style("dashkit-bundle", plugin_dir_url(__FILE__) . "public/theme.bundle.css", [], "1.0");
- Exclude checks
Call to undeclared function \admin_url()
Open
Open
$url = admin_url("admin.php?page=bitfire_advanced");
- Exclude checks
When fetching an array index from a value of type array|array<int default auth verification to off>|array<int>|array<int false>|array<int>>|array<int>,</int></int></int></int></int>
found an array index of type 'malware',
but expected the index to be of type int
Open
Open
if ($malware_data['malware'] == 0) {
- Exclude checks
Possibly zero references to use statement for classlike/namespace MatchType
(\BitFire\MatchType)
Open
Open
use BitFire\MatchType;
- Exclude checks
Possibly zero references to use statement for function icontains
(\ThreadFin\icontains)
Open
Open
use function ThreadFin\icontains;
- Exclude checks
Call to undeclared function \plugin_dir_path()
Open
Open
include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
- Exclude checks
Call to undeclared function \esc_attr()
Open
Open
esc_attr($_POST["log"]),
- Exclude checks
Call to undeclared function \wp_schedule_event()
Open
Open
wp_schedule_event( time(), 'hourly', 'bitfire_plugin_check' );
- Exclude checks
Call to undeclared function \is_user_logged_in()
Open
Open
if (is_user_logged_in()) {
- Exclude checks
Call to undeclared function \add_action()
Open
Open
add_action("user_register", "\BitFirePlugin\user_add");
- Exclude checks
Call to undeclared function \add_action()
Open
Open
\add_action("wp_logout", function() { \ThreadFin\cookie(CFG::str(CONFIG_USER_TRACK_COOKIE), null, -1); });
- Exclude checks
Function malware_scan_dirs
defined at /code/wordpress-plugin/includes.php:168
was previously defined at /code/custom-plugin/includes.php:145
Open
Open
function malware_scan_dirs(string $root) : array {
- Exclude checks
Assigning false
to property but \BitFire\UserAgent->bot
is string
Open
Open
$carry->bot = false;
- Exclude checks
Assigning string
to property but \BitFire\Malware->pre_indent
is int
Open
Open
public $pre_indent = "";
- Exclude checks
Assigning bool
to property but \BitFire\Malware->php_count
is int
Open
Open
$malware->php_count = $php_count;
- Exclude checks
Argument 2 (offset)
is string
but \BitFire\offset_pre_text()
takes int
defined at /code/firewall/src/cms.php:1471
Open
Open
offset_pre_text($c3, $inc[0][1], 512, $size),
- Exclude checks