test: add mutation testing with Infection PHP #75

Open
Charon wants to merge 2 commits from feat/add-infection-mutation-testing into dev

2 commits

Author SHA1 Message Date
Claude
17157da2bd
test: add mutation testing with Infection PHP
- Add infection/infection ^0.29 to require-dev
- Create infection.json5 with sensible defaults matching phpstan source dirs
- Add composer mutate script for running mutation tests
- Add infection/extension-installer to allowed plugins
- Update .gitignore for infection output files

Fixes #34

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:49:27 +00:00
Claude
eb90702feb
chore: add PHPStan/Larastan to dev dependencies
Add larastan/larastan ^3.0 to require-dev and create phpstan.neon
config at level 5 covering all source directories. Adds a
`composer analyse` script shortcut.

Fixes #26

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:45:36 +00:00