Problem
make web-smoke lints and VM-smokes flat examples/00x-*/example.php (#304 closed). Once #246 lands examples/003-MiniWebApp/, contributors need a single command that reports all unsupported syntax in the project tree (not just public/index.php).
phpc lint --all exists (#286 closed) but is not wired into Makefile smoke targets.
Goal
Extend Makefile web-smoke (or script/web-smoke.sh if split) to:
if [[ -d examples/003-MiniWebApp/public ]]; then
./phpc lint --all examples/003-MiniWebApp --json | tee /tmp/miniwebapp-lint.json
# exit 0 while lint-first (documented blockers); exit 1 when README says "should pass"
fi
Document expected non-zero lint during skeleton phase vs green gate before #67 completion.
Scope
Acceptance criteria
make web-smoke
# prints lint summary for 003 when directory exists
Verification (local / Docker only)
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev make web-smoke
Dependencies
Related
Problem
make web-smokelints and VM-smokes flatexamples/00x-*/example.php(#304 closed). Once #246 landsexamples/003-MiniWebApp/, contributors need a single command that reports all unsupported syntax in the project tree (not justpublic/index.php).phpc lint --allexists (#286 closed) but is not wired into Makefile smoke targets.Goal
Extend
Makefileweb-smoke(orscript/web-smoke.shif split) to:Document expected non-zero lint during skeleton phase vs green gate before #67 completion.
Scope
examples/README.mdrow for 003Acceptance criteria
make web-smoke # prints lint summary for 003 when directory existsVerification (local / Docker only)
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev make web-smokeDependencies
phpc lint --all(closed)Related