Showing 749 of 749 total issues
Returning type 0
but quote()
is declared to return string
Open
Open
if (is_bool($input)) { return $input ? 1 : 0; }
- Exclude checks
Parameter $mysqli
has undeclared type \mysqli
Open
Open
public static function from(?\mysqli $mysqli) : DB {
- Exclude checks
Saw an @param annotation for table,
but it was not found in the param list of function set_check_point(int $offset) : void
Open
Open
* @param string $table
- Exclude checks
Variable $edits
was undeclared, but array fields are being added to it. Open
Open
$edits[] = new FineDiffCopyOp($from_len);
- Exclude checks
Doc-block of $modifier_name
in view_modifier
contains phpdoc param type null
which is incompatible with the param type string
declared in the signature Open
Open
* @param null|string $modifier_name
- Exclude checks
array to false
comparison Open
Open
if ($new_config != false && $x1 > 10 && $x2 >= $x1) {
- 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->exit(false, STATUS_FAIL, "an error occurred updating $filename, [$x1/$x2] (is: $is) please repair with original file");
- Exclude checks
Returning type ?bool
but tar_read_header()
is declared to return ?\ThreadFin\TarHeader
Open
Open
return debugN("unable to read header block, end of archive");
- Exclude checks
@throws type of http
has undeclared type \ThreadFin\HttpTimeoutException
Open
Open
function http(string $method, string $path, $data, ?array $optional_headers = []) {
- Exclude checks
Argument 2 (vars)
is bool
but \sprintf()
takes float|int|string
Open
Open
$line = sprintf($fmt, ...$args);
- Exclude checks
Argument 2 (value)
is ?string
but \setcookie()
takes string
Open
Open
setcookie($name, $value, time() + $exp, '/; samesite=strict', '', false, true);
- Exclude checks
Call to undeclared function \BitFire\lock_site_dir()
Open
Open
\BitFire\lock_site_dir($content_path, true);
- Exclude checks
Reference to undeclared constant \DB_PASSWORD
Open
Open
$credentials = new Credentials(DB_USER, DB_PASSWORD, DB_HOST, DB_NAME);
- Exclude checks
Argument 2 (newvalue)
is true
but \ini_set()
takes string
Open
Open
@ini_set('zend.assertions', ASSERT);
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_register_script("dashkit-internal", plugin_dir_url(__FILE__) . "public/internal.js", [], "1.0", false);
- Exclude checks
Call to undeclared function \wp_register_script()
Open
Open
\wp_register_script("dashkit-internal", plugin_dir_url(__FILE__) . "public/internal.js", [], "1.0", false);
- Exclude checks
Call to undeclared function \esc_html()
Open
Open
$name = esc_html(strtolower($plugin["name"]));
- Exclude checks
Call to undeclared function \esc_html()
Open
Open
$vendor = esc_html(strtolower($plugin["vendor"]));
- Exclude checks
Call to undeclared function \esc_html()
Open
Open
$type = esc_html($plugin["cvss_type"]??"unknown");
- Exclude checks
Reference to undeclared constant \DISABLE_NAG_NOTICES
Open
Open
if (defined("DISABLE_NAG_NOTICES") && DISABLE_NAG_NOTICES) { return; }
- Exclude checks