Remove some PHPStan ignores and make others rule-specific.
This commit is contained in:
@@ -115,9 +115,6 @@ class Pref_Filters extends Handler_Protected {
|
||||
$glue = $filter['match_any_rule'] ? " OR " : " AND ";
|
||||
$scope_qpart = join($glue, $scope_qparts);
|
||||
|
||||
/** @phpstan-ignore-next-line */
|
||||
if (!$scope_qpart) $scope_qpart = "true";
|
||||
|
||||
$rv = array();
|
||||
|
||||
//while ($found < $limit && $offset < $limit * 1000 && time() - $started < ini_get("max_execution_time") * 0.7) {
|
||||
|
||||
Reference in New Issue
Block a user