Skip to content

Commit 7e442a1

Browse files
committed
Bump to infection v0.30
1 parent 3fee4ae commit 7e442a1

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
],
8282
"cs:check": "tools/vendor/bin/php-cs-fixer check --ansi --verbose --diff --using-cache=no",
8383
"cs:fix": "tools/vendor/bin/php-cs-fixer fix --ansi --verbose --diff --using-cache=no",
84-
"mutation:check": "tools/vendor/bin/infection --threads=max --ansi",
84+
"mutation:check": "tools/vendor/bin/infection --static-analysis-tool=phpstan --ansi",
8585
"mutation:filter": "@mutation:check --git-diff-filter=AM --git-diff-base=origin/1.x",
8686
"phpstan:baseline": "phpstan analyse --ansi --generate-baseline=phpstan-baseline.php",
8787
"phpstan:check": "phpstan analyse --ansi --verbose",

infection.json5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
]
1010
},
1111
"timeout": 10,
12+
"threads": "max",
1213
"logs": {
1314
"text": "build/logs/infection/infection.log",
1415
"html": "build/logs/infection/infection.html",

tools/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"require": {
33
"php": "^8.3",
44
"friendsofphp/php-cs-fixer": "^3.76",
5-
"infection/infection": "^0.29.6",
5+
"infection/infection": "^0.30.0",
66
"kubawerlos/php-cs-fixer-custom-fixers": "^3.28",
77
"nexusphp/cs-config": "^3.26",
88
"nexusphp/framework": "1.x-dev"

tools/src/InfectionConfigBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public static function build(): array
115115
'excludes' => ['PHPStan'],
116116
],
117117
'timeout' => 10,
118+
'threads' => 'max',
118119
'logs' => [
119120
'text' => 'build/logs/infection/infection.log',
120121
'html' => 'build/logs/infection/infection.html',

0 commit comments

Comments
 (0)