Skip to content

chore(harness): record the type coverage floor (97.9) and tighten the PHPStan baseline floor (56 to 52) - #711

Merged
ogorzalka merged 1 commit into
developfrom
chore/record-type-coverage-floor
Nov 25, 2026
Merged

ogorzalka merged 1 commit into
developfrom
chore/record-type-coverage-floor

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

Records the floors that the ratchet now measures on develop, written by vendor/bin/pollora-qa ratchet --update --metric=type_coverage:97.9 (never by hand).

What changes in .harness.json

  • type_coverage: 97.9 is new: the static measure (CONV-11) on develop is 98.14 % since chore: close the type coverage gaps (stray mutant artefact, contract-bound parameters) #710, so the floor sits 0.24 under it. Until now a change could lower the type coverage without the ratchet noticing.
  • phpstan_baseline: 56 becomes 52: the baseline already holds 52 entries on develop, and the tool tightens a floor that the measure has passed. Nothing is loosened.
  • The tool also rewrites the file with its own key order and formatting; no other value changes (phpstan_level 5, coverage 94, exempted_rules 2 and the mutation scope are as before).

Checked

  • vendor/bin/pollora-qa ratchet measured 98.14 % before the update; composer qa:fast passes.

Not verified

  • The line coverage and the mutation score are not measured locally (no report): their floors are untouched and are checked by the CI.

@ogorzalka
ogorzalka merged commit a63ca4b into develop Nov 25, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant