|
70 | 70 | "scripts": { |
71 | 71 | "cs:diff": "php-cs-fixer fix --dry-run -v --diff --config=vendor-bin/code-style/.php-cs-fixer.dist.php", |
72 | 72 | "cs:fix": "php-cs-fixer fix -v --config=vendor-bin/code-style/.php-cs-fixer.dist.php", |
| 73 | + "infect": [ |
| 74 | + "Composer\\Config::disableProcessTimeout", |
| 75 | + "@putenv XDEBUG_MODE=coverage", |
| 76 | + "@putenv DB_DRIVERS=sqlite", |
| 77 | + "infection --configuration=infection.json --threads=max" |
| 78 | + ], |
| 79 | + "infect:ci": [ |
| 80 | + "Composer\\Config::disableProcessTimeout", |
| 81 | + "@putenv XDEBUG_MODE=coverage", |
| 82 | + "@putenv DB_DRIVERS=sqlite", |
| 83 | + "infection --ansi --configuration=infection.json --logger-github --threads=max --show-mutations=0" |
| 84 | + ], |
73 | 85 | "psalm": "psalm -c vendor-bin/psalm/psalm.xml", |
74 | 86 | "psalm:baseline": "psalm -c vendor-bin/psalm/psalm.xml --set-baseline=vendor-bin/psalm/psalm-baseline.xml", |
75 | 87 | "psalm:ci": "psalm -c vendor-bin/psalm/psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4", |
|
84 | 96 | "test:unit": "testo --suite=Unit" |
85 | 97 | }, |
86 | 98 | "scripts-descriptions": { |
| 99 | + "infect": "Run mutation testing with Infection on the Unit and SQLite suites", |
| 100 | + "infect:ci": "Run mutation testing in CI, failing below the minimum MSI", |
87 | 101 | "test:new-case": "Create a regression case for an issue: composer test:new-case -- <issue>" |
88 | 102 | }, |
89 | 103 | "extra": { |
|
0 commit comments