Showing 749 of 749 total issues
Doc-block of standalone_to_wordpress
contains declared return type \ThreadFin\Effect
which is incompatible with the return type void
declared in the signature Open
Open
* @return Effect
- Exclude checks
Argument 1 (shm_identifier)
is false
but \shm_remove()
takes resource
Open
Open
@shm_remove(self::$ctx);
- Exclude checks
Reference to undeclared constant \DB_HOST
Open
Open
$credentials = new Credentials(DB_USER, DB_PASSWORD, DB_HOST, DB_NAME);
- Exclude checks
Variable $uuid
is undeclared Open
Open
let e=window.event; let data={"uuid":'<?php echo $uuid;?>',"x":e.clientX,"y":e.clientY}; console.log(data);
- Exclude checks
Reference to undeclared constant \XHPROF_FLAGS_MEMORY
Open
Open
xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
- Exclude checks
Possibly zero references to use statement for function BINDR
(\ThreadFin\partial_right)
Open
Open
use function ThreadFin\partial_right as BINDR;
- Exclude checks
Function add_script_inline
defined at /code/wordpress-plugin/bitfire-admin.php:320
was previously defined at /code/custom-plugin/bitfire-plugin.php:178
Open
Open
function add_script_inline(string $handle, string $code) : string {
- Exclude checks
Call to undeclared function \plugin_dir_url()
Open
Open
\wp_enqueue_script("bitfire", plugin_dir_url(__FILE__) . "public/plugin-monitor.js", "1.0", false);
- Exclude checks
Call to undeclared function \wp_enqueue_script()
Open
Open
\wp_enqueue_script("bitfire", plugin_dir_url(__FILE__) . "public/plugin-monitor.js", "1.0", false);
- 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
echo "<div style='border-left: 5px solid #d63638; padding-left: 1rem;'><span class='dashicons dashicons-warning'></span> Malware Scan: <a href='$url' style='float:right'>{$malware_data['malware']} possible malware files detected </a></div>";
- Exclude checks
Possibly zero references to use statement for constant WAF_INI
(\BitFire\WAF_INI)
Open
Open
use const BitFire\WAF_INI;
- Exclude checks
Possibly zero references to use statement for function dbg
(\ThreadFin\dbg)
Open
Open
use function ThreadFin\dbg;
- Exclude checks
Call to undeclared function \get_current_user_id()
Open
Open
$my_id = get_current_user_id();
- Exclude checks
Function activate_bitfire
defined at /code/wordpress-plugin/bitfire-plugin.php:218
was previously defined at /code/custom-plugin/bitfire-plugin.php:204
Open
Open
function activate_bitfire() {
- Exclude checks
Reference to undeclared constant \WP_CONTENT_DIR
Open
Open
if (defined('WP_CONTENT_DIR') && file_exists('WP_CONTENT_DIR') && !file_exists(WP_CONTENT_DIR . "/bitfire")) {
- Exclude checks
Function deactivate_bitfire
defined at /code/wordpress-plugin/bitfire-plugin.php:287
was previously defined at /code/custom-plugin/bitfire-plugin.php:228
Open
Open
function deactivate_bitfire() {
- Exclude checks
Call to undeclared function \esc_url()
Open
Open
esc_url($_GET["redirect_to"])),
- Exclude checks
Call to undeclared function \esc_attr()
Open
Open
esc_attr($_POST["pwd"]),
- Exclude checks
Call to undeclared function \login_footer()
Open
Open
echo \login_footer("bitfire_mfa");
- Exclude checks
Doc-block of $caps
in check_user_cap
is phpdoc param type string[]
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<string> $caps
- Exclude checks