Showing 749 of 749 total issues
Call to undeclared function \get_user_meta()
Open
Open
$last_login = get_user_meta($user_id, "bitfire_last_login", true);
- Exclude checks
Function render_mfa_page
defined at /code/wordpress-plugin/bitfire-plugin.php:308
was previously defined at /code/custom-plugin/bitfire-plugin.php:273
Open
Open
function render_mfa_page($msg = "Please enter the access code just sent to the address on record.") {
- Exclude checks
Doc-block of $args
in check_user_cap
is phpdoc param type array
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
Open
* @param array $args 0 - string requested cap, 1 - int user id, 2 - int object id
- Exclude checks
Call to undeclared function \add_action()
Open
Open
\add_action("wp_loaded", "BitFirePlugin\bitfire_init");
- Exclude checks
Call to undeclared function \add_filter()
Open
Open
\add_filter("xmlrpc_enabled", function(){ return false; });
- Exclude checks
Function package_to_ver
defined at /code/wordpress-plugin/includes.php:161
was previously defined at /code/custom-plugin/includes.php:123
Open
Open
function package_to_ver(string $carry, string $line) : string {
- Exclude checks
Possible attempt to access missing magic method __invoke
of '\ThreadFin\MaybeI'
Open
Open
$x = MaybeStr::of(fsockopen("whois.radb.net", 43, $no, $str, 1))
- Exclude checks
Doc-block of offsetGet
has declared return type \BitFire\Malware
which is not a permitted replacement of the nullable return type ?\BitFire\Malware
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @return Malware
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
if ($header['hash1'] !== $key_hashes[0] || $header['hash2'] !== $key_hashes[1]) {
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
if ($header['expires'] > $ctx['now']) {
- Exclude checks
Returning type ?bool
but cuckoo_find_header_for_read()
is declared to return ?array
Open
Open
return debugN("cache entry expired [%s] %d/%d", $key, $header['expires'], $ctx['now']);
- Exclude checks
Saw an @param annotation for key,
but it was not found in the param list of function cuckoo_connect(int $items = 4096, int $chunk_size = 2048, int $mem = 1114112, bool|false $force_init = null) : array;
Open
Open
* @param string $key = the shmem "key" = 'a'
- Exclude checks
Reference to undeclared constant \MYSQLI_OPT_CONNECT_TIMEOUT
Open
Open
mysqli_options($db, MYSQLI_OPT_CONNECT_TIMEOUT, 3);
- Exclude checks
Returning type int
but Closure(?array $data = null) : bool
is declared to return bool
Open
Open
return $this->_qb($sql);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Config
(\BitFire\Config)
Open
Open
use BitFire\Config;
- Exclude checks
Argument 3 (data)
is string
but \ThreadFin\HTTP\http()
takes array
defined at /code/firewall/src/http.php:170
Open
Open
$c = http($method, $url, $data, $optional_headers);
- Exclude checks
Argument 3 (plugin_id)
is 1|2
but \BitFireSvr\hash_file()
takes string
defined at /code/firewall/src/server.php:836
Open
Open
return hash_file($file, $dir, $type, $matches[2]);
- Exclude checks
Argument 2 (pieces)
is ?array
but \join()
takes string[]
when argument 1 is string
Open
Open
file_put_contents($f, join("\n", $log), $mode);
- Exclude checks
Argument 2 (value)
is ?string
but \BitFire\generic()
takes string
defined at /code/firewall/src/webfilter.php:403
Open
Open
return \BitFire\generic((string)$name, $value, $values, $keys);
- Exclude checks
Variable $uuid
is undeclared Open
Open
<p class="nor">If this is an error, please click the request review button below. Reference ID <i><?php echo $uuid; ?></i></p>
- Exclude checks