diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 13cad7ad67..6bda560929 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,2 +1,144 @@ - + + + + $count + + + $value + + + $categories + $conf_time + $content + $id + $image + $title + + + ce + + + $node + categories]]> + categories]]> + conf_time]]> + image['link']]]> + image['path']]]> + image['title']]]> + $v + $value + + + $k + + + image['link']]]> + image['link']]]> + image['path']]]> + image['path']]]> + image['title']]]> + + + categories[]]]> + + + self::CATEGORIES[$cat] + self::CATEGORIES[$cat] + + + $cat + $cat + $content + $div + $link + $node + $v + + + string + + + appendChild + appendChild + setAttribute + setAttribute + setAttribute + + + id]]> + + + $content + + + id]]> + + + firstChild->childNodes]]> + + + firstChild->childNodes]]> + + + + + + + image['link'] ?? null]]> + image['path'] ?? '']]> + + + + + 1 - .3 + + + $ageFactor + $ageWeight + $maxAge + $maxVote + $minAge + $minVote + $ratingWeight + $voteFactor + $voteWeight + + + id]]]> + id]]]> + + + id]]]> + + + float + + + ts - $this->minAge]]> + upvotes - $note->downvotes - $this->minVote]]> + ageWeight]]> + calcVotePriority($note) * $this->voteWeight]]> + maxAge]]> + maxAge]]> + maxAge - $this->minAge]]> + maxVote]]> + maxVote]]> + maxVote - $this->minVote]]> + minAge]]> + minVote]]> + ratingWeight]]> + voteWeight]]> + upvotes - $note->downvotes - $this->minVote) * $this->voteFactor]]> + calcVotePriority($note) * $this->voteWeight) + + ($this->calcRatingPriority($note) * $this->ratingWeight)]]> + + + id]]> + id]]> + + + upvotes - $note->downvotes - $this->minVote) * $this->voteFactor + .3]]> + + +