bitslip6/bitfire

View on GitHub
custom-plugin/bitfire-plugin.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to undeclared function \esc_attr()
Open

        esc_attr($_POST["redirect_to"]));
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \your_auth_function()
Open

    if (function_exists('your_auth_function') && your_auth_function($_COOKIE['your_auth_token'])) {
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \login_footer()
Open

    echo \login_footer("bitfire_mfa");
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \esc_attr()
Open

        esc_attr($_POST["password"]),
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \esc_attr()
Open

        esc_attr($_POST["login"]),
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Possible attempt to access missing magic method __invoke of '\ThreadFin\MaybeI'
Open

    if ($c->extract("wp")() != $value) {
Severity: Info
Found in custom-plugin/bitfire-plugin.php by phan

Possibly zero references to use statement for constant STATUS_EACCES (\BitFire\STATUS_EACCES)
Open

use const BitFire\STATUS_EACCES;
Severity: Minor
Found in custom-plugin/bitfire-plugin.php by phan

Reference to undeclared constant \MY_CMS_ROOT
Open

    if (defined("MY_CMS_ROOT") && file_exists(\MY_CMS_ROOT)) { return \MY_CMS_ROOT; }
Severity: Minor
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_add_inline_script()
Open

    wp_add_inline_script("bitfire_mfa_focus", "document.getElementById('bitfire_mfa').focus();");
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

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

use function ThreadFin\contains;
Severity: Minor
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \plugin_dir_path()
Open

    include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_login_url()
Open

        \wp_login_url(filter_input(INPUT_GET, "redirect_to", FILTER_SANITIZE_URL)),
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \esc_attr()
Open

        esc_attr($_POST["login"]),
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Possible attempt to access missing magic method __invoke of '\ThreadFin\MaybeI'
Open

    if ($cookie && $cookie->extract("wp")() == 2) {
Severity: Info
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \esc_attr()
Open

        esc_attr($_POST["password"]),
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \plugin_dir_path()
Open

        include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Possibly zero references to use statement for classlike/namespace Exception (\Exception)
Open

use Exception;
Severity: Minor
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \add_menu_page()
Open

    \add_menu_page(
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

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

use function ThreadFin\partial as BINDL;
Severity: Minor
Found in custom-plugin/bitfire-plugin.php by phan

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

use function ThreadFin\debug;
Severity: Minor
Found in custom-plugin/bitfire-plugin.php by phan

Possibly zero references to use statement for classlike/namespace RuntimeException (\RuntimeException)
Open

use RuntimeException;
Severity: Minor
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \plugin_dir_path()
Open

    include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \login_header()
Open

    echo \login_header("MFA Code Required", "<p class='message'>$msg</p>");
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

There are no issues that match your filters.

Category
Status