summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-04-09 08:58:54 +0200
committerRemi Collet <remi@php.net>2024-04-09 08:58:54 +0200
commit5864824543bf3c190be575256a575a12c3568600 (patch)
tree5052c3398cdfefe80abb344e5b8fe2d6b9a10563 /composer.json
parent4bd389770ff56462fb51e50a7e8760f03213a9b4 (diff)
update to 3.53.0
bump dependency on PHP 8.1
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index b498074..0434e87 100644
--- a/composer.json
+++ b/composer.json
@@ -40,6 +40,7 @@
},
"require-dev": {
"facile-it/paraunit": "^1.3 || ^2.0",
+ "infection/infection": "^0.27.11",
"justinrainbow/json-schema": "^5.2",
"keradus/cli-executor": "^2.1",
"mikey179/vfsstream": "^1.6.11",
@@ -88,6 +89,7 @@
"cs:fix": "@php php-cs-fixer fix",
"cs:fix:parallel": "echo '🔍 Will run in batches of 50 files.'; if [[ -f .php-cs-fixer.php ]]; then FIXER_CONFIG=.php-cs-fixer.php; else FIXER_CONFIG=.php-cs-fixer.dist.php; fi; php php-cs-fixer list-files --config=$FIXER_CONFIG | xargs -n 50 -P 8 php php-cs-fixer fix --config=$FIXER_CONFIG --path-mode intersection 2> /dev/null",
"docs": "@php dev-tools/doc.php",
+ "infection": "@test:mutation",
"install-tools": "@composer --working-dir=dev-tools install",
"mess-detector": "@php dev-tools/vendor/bin/phpmd . ansi dev-tools/mess-detector/phpmd.xml --exclude vendor/*,dev-tools/vendor/*,dev-tools/phpstan/*,tests/Fixtures/*",
"normalize": [
@@ -132,6 +134,10 @@
"Composer\\Config::disableProcessTimeout",
"paraunit run --testsuite integration"
],
+ "test:mutation": [
+ "Composer\\Config::disableProcessTimeout",
+ "infection --threads=max --only-covered --min-covered-msi=80"
+ ],
"test:short-open-tag": [
"Composer\\Config::disableProcessTimeout",
"@php -d short_open_tag=1 ./vendor/bin/phpunit --do-not-cache-result --testsuite short-open-tag"
@@ -152,6 +158,7 @@
"cs:fix": "Fix coding standards",
"cs:fix:parallel": "Fix coding standards in naive parallel mode (using xargs)",
"docs": "Regenerate docs",
+ "infection": "Alias for 'test:mutation'",
"install-tools": "Install DEV tools",
"mess-detector": "Analyse code with Mess Detector",
"normalize": "Run normalization for composer.json files",
@@ -168,6 +175,7 @@
"test:all": "Run Unit and Integration tests (but *NOT* Smoke tests)",
"test:coverage": "Run tests that provide code coverage",
"test:integration": "Run Integration tests",
+ "test:mutation": "Run mutation tests",
"test:short-open-tag": "Run tests with \"short_open_tag\" enabled",
"test:smoke": "Run Smoke tests",
"test:unit": "Run Unit tests",