Showing 749 of 749 total issues
Saw an @param annotation for limit,
but it was not found in the param list of function set_check_point(int $offset) : void
Open
Open
* @param int $limit
- Exclude checks
Possibly zero references to use statement for function debug
(\ThreadFin\debug)
Open
Open
use function ThreadFin\debug;
- Exclude checks
Argument 1 (content)
is false
but \ThreadFin\HTTP\http_response()
takes string
defined at /code/firewall/src/http.php:65
Open
Open
return http_response($response, $path, ["http/1.1 200"], 0, false);
- Exclude checks
Doc-block of view_modifier
has declared return type array
which is not a permitted replacement of the nullable return type ?callable
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @return array
- Exclude checks
Possibly zero references to use statement for function contains
(\ThreadFin\contains)
Open
Open
use function ThreadFin\contains;
- Exclude checks
Returning type ?array
but tar_read_header()
is declared to return ?\ThreadFin\TarHeader
Open
Open
if ($uid != '' && !ctype_digit($uid)) { return debug("error reading header file [%d]!", $uid); }
- Exclude checks
Possibly zero references to use statement for function contains
(\ThreadFin\contains)
Open
Open
use function ThreadFin\contains;
- Exclude checks
Possible attempt to access missing magic method __invoke
of '\ThreadFin\MaybeI'
Open
Open
$wp_admin = ($maybe_bot_cookie->extract("wp")() > 1);
- Exclude checks
Possibly zero references to use statement for function decrypt_tracking_cookie
(\ThreadFin\decrypt_tracking_cookie)
Open
Open
use function ThreadFin\decrypt_tracking_cookie;
- Exclude checks
Possible attempt to access missing magic method __invoke
of '\ThreadFin\MaybeI'
Open
Open
$_GET = un_json($maybe_bot_cookie->extract('g', $_POST['_bfg'] ?? "")());
- Exclude checks
Possibly zero references to use statement for function dbg
(\ThreadFin\dbg)
Open
Open
use function ThreadFin\dbg;
- Exclude checks
Call with 5 arg(s) to \BitFireBot\make_js_script()
which only takes 4 arg(s) defined at /code/firewall/src/botfilter.php:1376
Open
Open
$html = make_js_script($ip_data->op1, $ip_data->op2, $ip_data->oper, "bfxa", CFG::str("csp_nonce"));
- Exclude checks
Argument 1 (string)
is true
but \strlen()
takes string
Open
Open
if (strlen($config->extra_regex) > 1) {
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
($header['expires'] < $ctx['now']) ||
- Exclude checks
Reference to undeclared constant \MYSQLI_ASSOC
Open
Open
public function fetch(string $sql, $data = NULL, $mode = MYSQLI_ASSOC) : SQL {
- Exclude checks
Variable $edits
was undeclared, but array fields are being added to it. Open
Open
$edits[] = new FineDiffInsertOp(substr($from, $from_offset, $from_len));
- Exclude checks
@throws type of http
has undeclared type \ThreadFin\HTTP\HttpTimeoutException
Open
Open
function http(string $method, string $path, $data, ?array $optional_headers = []) : HttpResponse {
- Exclude checks
Assigning ?'apcu'|?'shm'|?'shmop'|?string
to property but \ThreadFin\CacheStorage::$_type
is string
Open
Open
self::$_type = $type;
- Exclude checks
Argument 1 (var)
is ?array
but \count()
takes \Countable|array
Open
Open
debug("hash_compare result [%d]", count($result));
- Exclude checks
Argument 2 (needle)
is true
but \stripos()
takes int|string
Open
Open
if ($pos = stripos($c3, $config->extra_regex)) {
- Exclude checks