diff --git a/composer.json b/composer.json index 877af8d1..5796cc34 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "yiisoft/widget": "^2.2" }, "require-dev": { - "infection/infection": "^0.26.21 || ^0.29.14", + "bamarni/composer-bin-plugin": "^1.8.3", "maglnet/composer-require-checker": "^4.7.1", "phpunit/phpunit": "^10.5.45", "rector/rector": "^2.0.10", @@ -41,6 +41,11 @@ } }, "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true, + "target-directory": "tools" + }, "config-plugin-options": { "source-directory": "config" }, @@ -52,7 +57,7 @@ "config": { "sort-packages": true, "allow-plugins": { - "infection/extension-installer": true + "bamarni/composer-bin-plugin": true } }, "scripts": { diff --git a/tools/.gitignore b/tools/.gitignore new file mode 100644 index 00000000..cf452dcf --- /dev/null +++ b/tools/.gitignore @@ -0,0 +1,2 @@ +/*/vendor +/*/composer.lock diff --git a/tools/infection/composer.json b/tools/infection/composer.json new file mode 100644 index 00000000..4190386f --- /dev/null +++ b/tools/infection/composer.json @@ -0,0 +1,10 @@ +{ + "require-dev": { + "infection/infection": "^0.26.21 || ^0.29.14" + }, + "config": { + "allow-plugins": { + "infection/extension-installer": true + } + } +}