v3.5.1 — First-class PHP in the quality harness
Patch — PHP joins the harness (KJC-TSK-0563)
PHP becomes a first-class kj harden language, alongside JS/TS, Python and Go:
- Detection:
detectStackRootsrecognisescomposer.json→php(aligned withdetectProjectStack). - Native hooks:
vendor/bin/phpstan analyse(lint),php-cs-fixer fix --dry-run(format),vendor/bin/phpunit(test) — no npm/Node imposed at commit time. - Config:
phpstan.neon(level 6) seeded as akj:managedblock. - CI: a
setup-phpQuality workflow (composer + phpstan + phpunit). kj checkinherits the PHP config drift checks automatically.
The PHP RAG AST grammar (tree-sitter) is intentionally out of scope.
Builds on v3.5.0's quality harness (kj harden + kj check). Clean install verified (verify-pack). Full notes in CHANGELOG.md.