File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ composer.lock
77.phpunit.result.cache
88.php-cs-fixer.cache
99.phpbench /
10+ coverage /
1011
1112# script-templates
1213# # Ignore all subdirectories under scripts (script-template folders)
Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ if [ ! -f "tools/phpstan.phar" ]; then
3131 wget https://github.com/phpstan/phpstan/releases/latest/download/phpstan.phar -O tools/phpstan.phar
3232 chmod +x tools/phpstan.phar
3333fi
34+
35+ if [ ! -f " tools/infection.phar" ]; then
36+ wget https://github.com/infection/infection/releases/latest/download/infection.phar -O tools/infection.phar
37+ chmod +x tools/infection.phar
38+ fi
3439# </editor-fold>
3540
3641composer update --no-interaction --no-progress --ansi
@@ -39,9 +44,8 @@ composer validate --no-ansi --strict composer.json
3944php tools/composer-normalize.phar --dry-run
4045php tools/composer-require-checker.phar check
4146PHP_CS_FIXER_IGNORE_ENV=1 php tools/php-cs-fixer.phar fix --dry-run --show-progress=dots --using-cache=no --verbose
42-
4347php tools/phpstan.phar analyse --memory-limit=512M --ansi --no-progress --error-format=table
44-
4548vendor/bin/phpunit
49+ php tools/infection.phar --min-msi=58 --min-covered-msi=69 --threads=4
4650
4751popd > /dev/null
You can’t perform that action at this time.
0 commit comments