Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
Extract infection config
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jul 4, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 60a6c1e commit d4de735
Showing 3 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@
"cs": "PHP_CS_FIXER_IGNORE_ENV=1 && vendor/bin/php-cs-fixer fix --verbose",
"cs-diff": "PHP_CS_FIXER_IGNORE_ENV=1 && vendor/bin/php-cs-fixer fix --verbose --diff --diff-format=udiff --dry-run",
"deps": "vendor/bin/composer-require-checker check --config-file composer-require.json composer.json",
"infection": "vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=25 --min-msi=18",
"infection": "vendor/bin/infection",
"lint": [
"find ./src \\( -name '*.xml' -or -name '*.xml.dist' -or -name '*.xlf' \\) -type f -exec xmllint --encode UTF-8 --output '{}' --format '{}' \\;",
"find ./src \\( -name '*.yml' -or -name '*.yaml' \\) -not -path '*/vendor/*' | xargs yaml-lint"
21 changes: 12 additions & 9 deletions infection.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"timeout": 10,
"source": {
"directories": [
"src"
]
},
"logs": {
"text": "build/infection/infection-log.txt"
}
"timeout": 10,
"source": {
"directories": [
"src"
]
},
"logs": {
"text": "build/infection/infection-log.txt"
},
"ignoreMsiWithNoMutations": true,
"minMsi": 18,
"minCoveredMsi": 25
}
12 changes: 6 additions & 6 deletions vendor-bin/test/composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"require": {
"infection/infection": "^0.15",
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"phpunit/phpunit": "^9.0",
"symfony/phpunit-bridge": "^5.1"
}
"require": {
"infection/infection": "^0.16",
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"phpunit/phpunit": "^9.0",
"symfony/phpunit-bridge": "^5.1"
}
}

0 comments on commit d4de735

Please sign in to comment.