cli/pkg
Snider d1b8954578
feat(php): add --json and --sarif flags to QA commands (#69)
* feat(github): add issue templates and auto-labeler

- Add bug_report.yml and feature_request.yml templates
- Add config.yml for issue creation options
- Add auto-label.yml workflow to label issues based on content

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(php): add --json and --sarif flags to QA commands

Adds machine-readable output support to PHP quality assurance commands:

- test: --json flag for JUnit XML output
- fmt: --json flag for JSON formatted output from Pint
- stan: --json and --sarif flags for PHPStan output
- psalm: --json and --sarif flags for Psalm output
- qa: --json flag for JSON summary output

SARIF output enables integration with GitHub Security tab for
static analysis results.

Closes #51

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(php): address CodeRabbit review feedback

- Guard progress messages when JSON/SARIF output is enabled
- Guard success messages when JSON/SARIF output is enabled
- Guard QA results display when JSON output is enabled
- Rename misleading JSON field to JUnit in TestOptions (outputs JUnit XML)
- Add mutual exclusion validation for --json and --sarif flags
- Remove empty conditional block in auto-label workflow
- Add i18n translation for json_sarif_exclusive error

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(php): additional CodeRabbit fixes

- Rename test --json flag to --junit (outputs JUnit XML, not JSON)
- Add actual JSON marshaling for QA command JSON output
- Add JSON tags to QARunResult and QACheckRunResult structs
- Add i18n translation for junit flag

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 06:32:35 +00:00
..
agentic feat(framework): add QUERY/QUERYALL/PERFORM dispatch patterns 2026-01-30 10:18:54 +00:00
ai refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
build fix(vm): use double-dash flags for linuxkit build command (#57) 2026-02-01 01:49:00 +00:00
cache refactor: flatten CLI to root, simplify pkg/mcp for CLI-only use 2026-01-29 18:13:51 +00:00
ci refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
cli fix(release): add proper release workflow with version injection 2026-02-01 06:21:29 +00:00
container fix(container): fix flaky test temp directory cleanup race 2026-02-01 04:06:03 +00:00
dev feat(dev): add safe git operations for AI agents (#71) 2026-02-01 06:11:24 +00:00
devops refactor: flatten CLI to root, simplify pkg/mcp for CLI-only use 2026-01-29 18:13:51 +00:00
docs fix(i18n): restore missing translation keys for health command (#65) 2026-02-01 03:55:01 +00:00
doctor refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
errors feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +00:00
framework fix(docs): respect workspace.yaml packages_dir setting (fixes #46) (#55) 2026-02-01 01:59:27 +00:00
git feat(framework): add QUERY/QUERYALL/PERFORM dispatch patterns 2026-01-30 10:18:54 +00:00
go refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
i18n feat(php): add --json and --sarif flags to QA commands (#69) 2026-02-01 06:32:35 +00:00
log feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +00:00
mcp refactor: flatten CLI to root, simplify pkg/mcp for CLI-only use 2026-01-29 18:13:51 +00:00
monitor feat(monitor): add security findings aggregation command (#68) 2026-02-01 05:44:46 +00:00
php feat(php): add --json and --sarif flags to QA commands (#69) 2026-02-01 06:32:35 +00:00
pkgcmd refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
process test(process): add concurrency tests and global function wrappers 2026-01-30 19:55:37 +00:00
qa feat(qa,dev): add issues, health, and workflow commands (#67) 2026-02-01 05:20:46 +00:00
release fix(docs): respect workspace.yaml packages_dir setting (fixes #46) (#55) 2026-02-01 01:59:27 +00:00
repos feat(workspace): implement workspace.yaml support 2026-02-01 02:18:19 +00:00
sdk fix(sdk): run Docker containers as current user to fix CI cleanup 2026-02-01 04:01:40 +00:00
security feat(security): add core security command for vulnerability alerts (#66) 2026-02-01 06:04:21 +00:00
setup fix(i18n): restore missing translation keys for health command (#65) 2026-02-01 03:55:01 +00:00
test refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
updater feat(php): add quality commands and split cmd/php for maintainability 2026-01-29 23:58:03 +00:00
vm refactor: migrate all pkg/* to cli abstraction 2026-01-31 23:54:01 +00:00
workspace fix(i18n): restore missing translation keys for health command (#65) 2026-02-01 03:55:01 +00:00