Part of #25 (one language per PR). **No code required** — a catalog BEC is a single YAML file using the generic `forbid` check. ## Task Add ready-to-import PHP BECs under `src/becwright/becs/`: - `no-var-dump.bec.yaml` — forbid `var_dump(` / `print_r(` debugging left in `**/*.php`. - `no-error-reporting-all.bec.yaml` — forbid `error_reporting(E_ALL)` / `display_errors` enabled in committed code. ## How 1. Copy the format from `src/becwright/becs/no-debug-go.bec.yaml`. 2. Write a real `intent` and `why_it_matters`. 3. Use `check: "becwright run forbid --pattern '...'"` with paths `**/*.php`. 4. Add the entries to `src/becwright/becs/README.md`. ## Acceptance criteria - `pytest` green (`test_catalog_bundles_are_valid` covers bundle parsing). - `becwright add no-var-dump` installs it in a scratch repo. See `CONTRIBUTING.md` → "Adding a catalog BEC".
Activity