Table

php devdoctor env --format=table

Table output includes issue code, severity, location, hints, and suggested commands.

JSON

php devdoctor ci --format=json

JSON includes schema_version, summaries, module statuses, issue metadata, hints, fix suggestions, and suppression flags.

SARIF

php devdoctor ci --format=sarif > devdoctor.sarif

SARIF 2.1.0 maps issue codes to rules, warning/error/info to SARIF levels, and stable fingerprints to devdoctorFingerprint/v1.

Output Shaping

php devdoctor health --only=error,warning --no-hints
php devdoctor ci --summary-only --format=json

--only, --summary-only, and --no-hints change rendered output only. Exit codes are still based on the full diagnostic result.