Add comprehensive PHP quality assurance tooling: **New tools:** - roave/security-advisories - Blocks packages with known CVEs - infection/infection - Mutation testing for test quality - rector/rector - Automated refactoring and PHP upgrades - psalm/plugin-laravel - Better Laravel support in Psalm **New config files:** - qa.yaml - QA pipeline definition for `core php qa` command - infection.json5 - Mutation testing configuration - rector.php - Automated refactoring rules **QA Pipeline stages:** 1. Quick: security audit, code style, PHPStan 2. Standard: Psalm, tests 3. Full: Rector dry-run, mutation testing **Current status:** - Security: No vulnerabilities - Pint: Pass - PHPStan: Level 1, 0 errors - Psalm: Level 8, 0 errors, 93% type inference - Tests: 197 passing - Rector: 225 files with potential improvements Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
457 B
Text
20 lines
457 B
Text
{
|
|
"$schema": "https://raw.githubusercontent.com/infection/infection/0.29.0/resources/schema.json",
|
|
"source": {
|
|
"directories": ["src"]
|
|
},
|
|
"logs": {
|
|
"text": "infection.log",
|
|
"summary": "infection-summary.log"
|
|
},
|
|
"mutators": {
|
|
"@default": true
|
|
},
|
|
"phpUnit": {
|
|
"configDir": "."
|
|
},
|
|
"testFramework": "phpunit",
|
|
"tmpDir": ".infection",
|
|
"minMsi": 50,
|
|
"minCoveredMsi": 70
|
|
}
|