Showing 749 of 749 total issues
Possibly zero references to use statement for classlike/namespace Maybe
(\ThreadFin\Maybe)
Open
Open
use ThreadFin\Maybe;
- Exclude checks
Possibly zero references to use statement for function output_profile
(\ThreadFin\output_profile)
Open
Open
use function ThreadFin\output_profile;
- Exclude checks
Argument 2 (newvalue)
is 245
but \ini_set()
takes string
Open
Open
ini_set("max_execution_time", 245);
- Exclude checks
Possible attempt to access missing magic method __invoke
of '\ThreadFin\MaybeI'
Open
Open
$admin_value = (BitFire::get_instance()->cookie->extract("wp")() > 1);
- Exclude checks
Assigning array
to property but \BitFire\MatchType->_value
is string
Open
Open
$this->_value = $value;
- Exclude checks
Doc-block of $ex
in add_exception_to_list
contains phpdoc param type \Exception
which is incompatible with the param type \BitFire\Exception
declared in the signature Open
Open
* @param Exception $ex
- Exclude checks
Assigning bool
to property but \BitFire\UserAgent->bot
is string
Open
Open
$this->bot = $bot;
- Exclude checks
Saw misspelled annotation @returns.
Did you mean @return?
Open
Open
* @returns a string with the result, or empty string
- Exclude checks
Possible attempt to access missing magic method __invoke
of '\ThreadFin\MaybeI'
Open
Open
$_SERVER['REQUEST_METHOD'] = $maybe_bot_cookie->extract('m', $method)();
- Exclude checks
Argument 3 (expires)
is array{expires:float|int,path:'/',domain:'',secure:false,httponly:true,samesite:'strict'}
but \setcookie()
takes int
Open
Open
if (PHP_VERSION_ID < 70300) { setcookie($name, $value, time() + $exp, '/; samesite=strict', '', false, true); } else { setcookie($name, $value, [ 'expires' => time() + $exp, 'path' => '/', 'domain' => '', 'secure' => false, 'httponly' => true, 'samesite' => 'strict' ]); }
- Exclude checks
Call to undeclared function \login_footer()
Open
Open
echo \login_footer("bitfire_mfa");
- Exclude checks
Possibly zero references to use statement for function dbg
(\ThreadFin\dbg)
Open
Open
use function ThreadFin\dbg;
- Exclude checks
Possibly zero references to use statement for function update_ini_value
(\BitFireSvr\update_ini_value)
Open
Open
use function BitFireSvr\update_ini_value;
- Exclude checks
Call to method fetch
from undeclared class \DB\DB
(Did you mean class \ThreadFinDB\DB) Open
Open
$sql = $db->fetch("SELECT distinct crc_trim, size, tag FROM hash_{$hash['table']} H WHERE crc_path = {crc_path} $and", $hash);
- Exclude checks
Call to undeclared function \brotli_compress()
Open
Open
$final = brotli_compress($json);
- Exclude checks
Reference to undeclared constant \DB_HOST
Open
Open
$db_host = defined( 'DB_HOST' ) ? DB_HOST : '';
- Exclude checks
Saw an @param annotation for ver,
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 $ver
- Exclude checks
Assigning array{path:mixed,code:int,param:string}
to property but \BitFire\Request->post
is array<string></string>
Open
Open
$req->post = [
- Exclude checks
Call to undeclared function \serve_advanced()
Open
Open
serve_advanced();
- Exclude checks
Possibly zero references to use statement for function dbg
(\ThreadFin\dbg)
Open
Open
use function ThreadFin\dbg;
- Exclude checks