Snider
6806b20651
fix(dx): fix build error, replace os.* with go-io, add scanner tests
...
- Fix RegisterCommands call to match single-arg signature; register
locales separately via i18n.RegisterLocales
- Replace os.Stat/os.ReadDir with coreio.Local equivalents in
detect.go, format.go, main.go, cmd_docblock.go
- Add tests for languagesFromRules, IsExcludedDir, ScanFile edge cases
- Coverage: pkg/lint 71.0% → 72.9%, pkg/detect 100%, pkg/php 68.7%
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 09:02:06 +00:00
Snider
471266200e
refactor: pass locales via RegisterCommands
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 01:38:32 +00:00
Snider
e7d469cc8d
feat: embed and load locale translations on init
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 00:45:18 +00:00
Snider
f1aae0055f
feat(lint): add PHP QA commands to core qa
...
Add 8 PHP subcommands to the qa parent command: fmt, stan, psalm,
audit, security, rector, infection, and test. Each command detects
the PHP project and delegates to the pkg/php library functions.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 13:17:30 +00:00
Snider
bf06489806
feat: add cmd/qa from go-devops
...
QA commands (watch, review, health, issues, docblock) now live
alongside the lint library they depend on.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:28:24 +00:00