bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Reference to undeclared constant \FILEINFO_CONTINUE
Open

            $ctx = finfo_open(FILEINFO_MIME_TYPE | FILEINFO_CONTINUE);
Severity: Minor
Found in firewall/src/webfilter.php by phan

Call to undeclared function \add_filter()
Open

add_filter('manage_users_custom_column', "BitFirePlugin\custom_columns", 10, 3);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Argument 1 (string) is ?string but \strlen() takes string
Open

    if (strlen($value) < 4) {
Severity: Minor
Found in firewall/src/webfilter.php by phan

Function is_admin defined at /code/wordpress-plugin/bitfire-plugin.php:125 was previously defined at /code/custom-plugin/bitfire-plugin.php:88
Open

function is_admin() : bool {
Severity: Minor
Found in wordpress-plugin/bitfire-plugin.php by phan

Assigning false to property but \BitFire\UserAgent->bot is string
Open

                    $parsed_agent->bot = false;
Severity: Minor
Found in firewall/src/botfilter.php by phan

Possibly zero references to use statement for function dbg (\ThreadFin\dbg)
Open

use function ThreadFin\dbg;
Severity: Minor
Found in firewall/src/wordpress.php by phan

Call to undeclared function \add_action()
Open

    add_action("bitfire_plugin_check", "BitFirePlugin\bitfire_plugin_check");
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Argument 1 (frequency_table) is ?array but \BitFire\frequency_analysis() takes array defined at /code/firewall/src/cms.php:873
Open

    $frequency = frequency_analysis($freq, $c3);
Severity: Minor
Found in firewall/src/cms.php by phan

Call to undeclared function \BitFirePRO\site_lock()
Open

            \BitFirePRO\site_lock();
Severity: Critical
Found in startup.php by phan

Call to undeclared function \msgpack_pack()
Open

        $data = \msgpack_pack($item);
Severity: Critical
Found in firewall/src/cuckoo.php by phan

Possibly zero references to use statement for function serve_database (\BitFire\serve_database)
Open

use function BitFire\serve_database;
Severity: Minor
Found in wordpress-plugin/bitfire-admin.php by phan

Call to undeclared function \register_activation_hook()
Open

\register_activation_hook(__FILE__, 'BitFirePlugin\activate_bitfire');
Severity: Critical
Found in wordpress-plugin/bitfire-plugin.php by phan

Suspicious array access to nullable ?array
Open

        ($priority > CUCKOO_LOW && !($header['flags'] & CUCKOO_HIGH))
Severity: Minor
Found in firewall/src/cuckoo.php by phan

Possibly zero references to use statement for function dbg (\ThreadFin\dbg)
Open

use function ThreadFin\dbg;
Severity: Minor
Found in wordpress-plugin/includes.php by phan

Call to undeclared function \add_submenu_page()
Open

    \add_submenu_page(
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Unused result of a binary '!==' operator
Open

        (@shmop_write($ctx['rid'], $header_block, $x * CUCKOO_SLOT_SIZE_BYTES) !== false);
Severity: Info
Found in firewall/src/cuckoo.php by phan

Possibly zero references to use statement for function dbg (\ThreadFin\dbg)
Open

use function ThreadFin\dbg;
Severity: Minor
Found in firewall/src/db.php by phan

Call to undeclared function \wp_register_script()
Open

    \wp_register_script("dashkit-vendor", plugin_dir_url(__FILE__) . "public/vendor.bundle.js", ["jquery"], "1.0", true);
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan

Returning type Closure(array):int but insert_fn() is declared to return callable(array):void
Open

        return function(array $data) use ($table, &$t, $keys, $ignore_duplicate) : int {
Severity: Minor
Found in firewall/src/db.php by phan

Call to undeclared function \wp_register_style()
Open

    \wp_register_style("dashkit-vs2015", plugin_dir_url(__FILE__) . "public/vs2015.min.css", [], "1.0");
Severity: Critical
Found in wordpress-plugin/bitfire-admin.php by phan
Severity
Category
Status
Source
Language