Skip to content

Commit abb13dd

Browse files
Merge pull request #87 from edmondscommerce/Tweaks
Tweaks
2 parents 535d2dc + 0180a7b commit abb13dd

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"squizlabs/php_codesniffer": "~3",
2929
"sllh/composer-versions-check": "^2.0",
3030
"phpstan/phpstan-strict-rules": "^0.11",
31-
"infection/infection": "^0.10.0",
31+
"infection/infection": "^0.0",
3232
"funkyproject/reflection-file": "^0.1.0",
3333
"phpunit/php-invoker": "^2.0"
3434
},

includes/generic/infection.inc.bash

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ function runInfection(){
1515
--threads=${infectionThreads} \
1616
--configuration=${infectionConfig} \
1717
--min-msi=${infectionMutationScoreIndicator} \
18-
--min-covered-msi=${infectionCoveredCodeMSI} \
19-
--test-framework-options="--cache-result-file=/tmp/.infection.phpunit.cache"
18+
--min-covered-msi=${infectionCoveredCodeMSI}
2019
else
2120
${phpBinPath} -f ./bin/infection \
2221
"${extraArgs[@]}" \
2322
--threads=${infectionThreads} \
2423
--configuration=${infectionConfig} \
2524
--min-msi=${infectionMutationScoreIndicator} \
26-
--min-covered-msi=${infectionCoveredCodeMSI} \
27-
--test-framework-options="--cache-result-file=/tmp/.infection.phpunit.cache"
25+
--min-covered-msi=${infectionCoveredCodeMSI}
2826
fi
2927
}
3028

includes/generic/messDetector.inc.bash

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ set +e
55
phpMdExitCode=99
66
while (( phpMdExitCode > 0 ))
77
do
8-
set -x
98
phpNoXdebug -f bin/phpmd -- \
109
$pathsString \
1110
text \
@@ -24,5 +23,4 @@ do
2423
tryAgainOrAbort "PHP Mess Detector"
2524
fi
2625
done
27-
set +x
2826
set -e

0 commit comments

Comments
 (0)