Skip to content

Commit

Permalink
fix cs & infection
Browse files Browse the repository at this point in the history
  • Loading branch information
danilin-em committed Mar 27, 2024
1 parent 7a4c80f commit 26d6413
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"infection --threads=6 --min-msi=80 --min-covered-msi=80 --log-verbosity=all --show-mutations --only-covered"
],
"phpstan": "phpstan analyse --configuration=phpstan.neon --memory-limit=512M --no-progress --error-format=table --no-interaction --ansi",
"phpcs": ["phpcs --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
"phpcbf": ["phpcbf --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
"phpcs": ["mkdir -p .tmp && phpcs --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
"phpcbf": ["mkdir -p .tmp && phpcbf --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
"phpmd": ["phpmd ./src text ./phpmd.xml"],
"cs": ["@phpcs", "@phpmd"],
"ci": [
Expand Down
7 changes: 4 additions & 3 deletions infection.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"excludes": [
"vendor",
"tests",
"tests"
]
},
"timeout": 25,
Expand All @@ -16,14 +16,15 @@
"summary": ".tmp/infection/summary.log",
"perMutator": ".tmp/infection/per-mutator.md",
"gitlab": ".tmp/infection/gitlab-code-quality.json",
"github": true,
},
"tmpDir": ".tmp/infection/tmp",
"phpUnit": {
"configDir": "./"
},
"mutators": {
"@default": true,
"@function_signature": true,
"@function_signature": true
},
"testFramework": "phpunit",
"testFramework": "phpunit"
}

0 comments on commit 26d6413

Please sign in to comment.