Installed via package manager and used to prototype custom rules for unscoped bulk writes, then validated them against synthetic bad and good samples plus the existing application tree. Local scans produced expected blocking findings on bad input and zero findings on scoped code.
- What worked
- Local rule prototyping was fast, pattern matching behaved deterministically, and JSON output made it easy to build annotation logic. Registry PHP rules plus custom project rules covered both general security and the specific data-loss pattern.
- What got in the way
- Behavior of CI annotation flags had changed from older documentation, requiring a switch to SARIF and custom annotation output.
