Showing 749 of 749 total issues
Assigning bool
to property but \BitFire\UserAgent->whitelist
is string
Open
Open
$this->whitelist = $whitelist;
- Exclude checks
Possible attempt to access missing magic method __invoke
of '\ThreadFin\MaybeI'
Open
Open
if ($cookie && $cookie->extract("wp")() == 2) {
- Exclude checks
Call to undeclared function \plugin_dir_path()
Open
Open
include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
- Exclude checks
Possibly zero references to use statement for classlike/namespace Credentials
(\ThreadFinDB\Credentials)
Open
Open
use ThreadFinDB\Credentials;
- Exclude checks
Reference to undeclared constant \DB_NAME
Open
Open
$db_name = defined( 'DB_NAME' ) ? DB_NAME : '';
- Exclude checks
Saw an @param annotation for dir_without_plugin_name,
but it was not found in the param list of function batch_enrich(mixed $hash_slice, ?\BitFire\ScanConfig $config = null) : array;
Open
Open
* @param mixed $dir_without_plugin_name
- Exclude checks
Call with 1 arg(s) to \BitFire\verify_admin_password()
which only takes 0 arg(s) defined at /code/firewall/src/bitfire.php:336
Open
Open
: verify_admin_password($request);
- Exclude checks
Possibly zero references to use statement for classlike/namespace FileData
(\ThreadFin\FileData)
Open
Open
use ThreadFin\FileData;
- Exclude checks
Call to undeclared function \plugin_dir_path()
Open
Open
include_once \plugin_dir_path(__FILE__) . "bitfire-admin.php";
- Exclude checks
Call to method fetch
from undeclared class \DB\DB
(Did you mean class \ThreadFinDB\DB) Open
Open
$sql = $db->fetch("SELECT {$table}_id FROM $table WHERE name = {name}", array("name" => $hash["name"]));
- Exclude checks
Possibly zero references to use statement for classlike/namespace Result
(\LDAP\Result)
Open
Open
use LDAP\Result;
- Exclude checks
Possibly zero references to use statement for function compact_array
(\ThreadFin\compact_array)
Open
Open
use function ThreadFin\compact_array;
- 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 ($needle < $haystack[$mid]) {
- Exclude checks
Variable $message
is undeclared Open
Open
return $effect->api(false, $message, ["backup_size" => 0, "file" => CFG::str("cms_content_dir") . "no-backup.sql.gz", "store" => "", "status" => "failed - unable to find database credentials"]);
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$updated = preg_replace("/<a[^>]*?{$request->post['link']}.*?>(.*)<\/a>/ims", "", $posts->data()[0]['post_content']);
- 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 \serve_settings()
Open
Open
serve_settings();
- Exclude checks
Possibly zero references to use statement for function debug
(\ThreadFin\debug)
Open
Open
use function ThreadFin\debug;
- Exclude checks
Parameter $sql
has undeclared type \DB\SQL
(Did you mean class \ThreadFinDB\SQL) Open
Open
function find_closest_value_index(SQL $sql, string $search_col, int $search_value) : int {
- Exclude checks
Parameter $db
has undeclared type \DB\DB
(Did you mean class \ThreadFinDB\DB) Open
Open
function enrich_tables(array $hash, \DB\DB $db, string $version) : array {
- Exclude checks