Skip to content
Critiq Docs

Search docs

Search documentation pages and rules

quality.testing

markTestSkipped should cite a ticket

Empty markTestSkipped() calls without a tracker note are hard to triage.

#Metadata

Rule ID
php.testing.mark-test-skipped-without-ticket-reference
Severity
medium
Confidence
0.64
Languages
php
Presets
recommended, strict
Stability
experimental
Applies to
block
Tags
php, rules-catalog, testing

#Why it matters

Skips should carry reviewable intent.

#Remediation

Pass a reason string with a tracker id or document the suppression inline.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/php/php.testing.mark-test-skipped-without-ticket-reference.rule.yaml.