Repository navigation
v4.22.4
Fixes for regressions a third review pass found in the 4.22.2 changes, each now covered by its own test, and a summary that states the gate verdict.
Fixed
review: the score again reads every finding on changed lines. 4.22.2's score budget (at most 5 per file per rule) applied to review as well, so nine findings on nine changed lines scored as five and a failing score policy passed; review never limited changed-line findings.- PHP: when a one-line comment ends at a closing
?>tag, the rest of that line (up to any<?) is template text, not code. 4.22.2 ended the comment at the tag and then read that text as code, so printed example text such asvar_dump($x)after// end ?>failed a gate. - A file-wide
ignore-filedirective covers calls past the 100,000-per-file safety bound too; they were counted as held back and failed--fail-on. - Every deprecated SSE transport declaration in an MCP config is reported (JH715), not the first ten.
- A file name holding a literal backslash followed by
xand two hex digits, which reports show with the backslash doubled, is still matched by a rule'sfilespattern written as the name on disk. map --baseapplies a subfolder-relative--excludewhen the parent folder's name is shown escaped.- Linked files: when
--excludenames a link's target, the allowed link represents the file, as before 4.22.2; a git-ignored link read for its own language is rated and listed as git-ignored whichever order the folder listing gives. scan --summarystates the--fail-onthreshold and verdict, decided once for the summary and the exit status; a line break or other control character in a file name is shown as\xNN, and a summary never runs past 60 lines.scan --score --out FILEwrites the report;--scorewith--summaryis refused (the summary carries the score).
What's Changed
- 4.22.4: fix regressions from the 4.22.2 changes; the summary states the gate verdict by @cloudbustinguk in #50
Full Changelog: v4.22.3...v4.22.4