#110841Simplify HTML parser skip counter check
Description
The HTML parser checks that its skip counter is positive twice in one
condition. PHPStan reports the second comparison as always true, and the
finding is suppressed in the baseline. The second expression also decrements
the counter, so that decrement must be retained.
Reviews 2
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 96171 status
NewUnder Review 09/29/26, 16:12 -
Gerrit Code Review pushed patch set 1 for 14.3 to change 96199 09/30/26, 06:04
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 96199 09/30/26, 06:04
-
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % 09/30/26, 06:45 -
Gerrit Code Review pushed patch set 2 for main to change 96171 status
ResolvedUnder Review 09/30/26, 06:53 -
Wouter Wolters commented and changed status
Under ReviewResolved 09/30/26, 07:10Applied in changeset commit:918ca0bfec56cf113ae9a6cf5bd3e1916b52b648.
Applied in changeset commit:3f34878c12142e9fd0f67840c4174327871728b4.