Showing 749 of 749 total issues
Reference to undeclared constant \DB_PASSWORD
Open
Open
$db_password = defined( 'DB_PASSWORD' ) ? DB_PASSWORD : '';
- Exclude checks
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
$effect->api(true, "renamed {$quarantine_path}{$f} ($r)");
- Exclude checks
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
$effect->api(true, "deleted {$src} ($r)");
- Exclude checks
Argument 1 (str)
is int
but \md5()
takes string
Open
Open
$boundary = "---------------------".substr(md5(mt_rand(0,32000)), 0, 10);
- Exclude checks
Possibly zero references to use statement for function is_admin
(\BitFirePlugin\is_admin)
Open
Open
use function BitFirePlugin\is_admin;
- Exclude checks
Call to undeclared function \serve_malware()
Open
Open
serve_malware();
- Exclude checks
Argument 2 (ip)
is int
but \BitFireBot\make_challenge_cookie()
takes string
defined at /code/firewall/src/botfilter.php:1422
Open
Open
->cookie(json_encode(make_challenge_cookie($answer, $ip_data->ip_crc, $request->agent)), "bot_challenge")
- Exclude checks
Call with 2 arg(s) to \ThreadFin\Pair::__construct()
which only takes 0 arg(s) defined at /code/firewall/src/util.php:62
Open
Open
return new Pair($file, filectime($file));
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
if ($header['hash1'] == 0) {
- Exclude checks
Possibly zero references to use statement for classlike/namespace Attribute
(\Attribute)
Open
Open
use Attribute;
- Exclude checks
Doc-block of insert
contains declared return type bool
which is incompatible with the return type int
declared in the signature Open
Open
* @return bool
- Exclude checks
Call to undeclared function \wp_login_url()
Open
Open
\wp_login_url(filter_input(INPUT_GET, "redirect_to", FILTER_SANITIZE_URL)),
- Exclude checks
Saw an @param annotation for db_dump_file,
but it was not found in the param list of function dump_table(\ThreadFinDB\DB $db, callable $write_fn, array $row) : ?\ThreadFinDB\Offset|int;
Open
Open
* @param string $db_dump_file
- Exclude checks
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 the plugin/theme/module name for the file
- Exclude checks
mixed $args
is not variadic in comment, but variadic in param (...$args)
Open
Open
* @param mixed $args
- Exclude checks
Call to undeclared function \TF\partial_right()
(Did you mean \ThreadFin\partial_right()) Open
Open
$hash2 = array_map(\TF\partial_right("enrich_tables", $db, $version), array_filter($files));
- Exclude checks
Possibly zero references to use statement for function machine_date
(\ThreadFin\machine_date)
Open
Open
use function ThreadFin\machine_date;
- Exclude checks
Possibly zero references to use statement for function contains
(\ThreadFin\contains)
Open
Open
use function ThreadFin\contains;
- Exclude checks
When fetching an array index from a value of type array,
found an array index of type float,
but expected the index to be of type int|string
Open
Open
if($haystack[$mid] == $needle) {
- Exclude checks
Returning type ?bool
but upload_file()
is declared to return ?string
Open
Open
return debugN("unable to upload file to $url");
- Exclude checks