TestingTools/composer.json

58 lignes
1.7 KiB
JSON

{
"name": "d3/testingtools",
"type": "library",
"description": "some tools to improve code tests",
"keywords": [
"PHP Unit",
"Tests",
"tools",
"accessibility",
"mockable"
],
"homepage": "https://d3data.de/",
"authors": [
{
"name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com",
"homepage": "https://www.d3data.de",
"role": "Owner"
}
],
"support": {
"email": "support@shopmodule.com"
},
"license": [
"MIT"
],
"require": {
"php": "^8"
},
"require-dev": {
"phpunit/phpunit" : "^9.5",
"friendsofphp/php-cs-fixer": "^3.9",
"phpstan/phpstan": "^1.8",
"infection/infection": "^0.29.5"
},
"autoload": {
"psr-4": {
"D3\\TestingTools\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"D3\\TestingTools\\Tests\\": "Tests"
}
},
"scripts": {
"php-cs-fixer_audit": "./vendor/bin/php-cs-fixer list-files --config=./vendor/d3/testingtools/.php-cs-fixer.php",
"php-cs-fixer_fix": "./vendor/bin/php-cs-fixer fix --config=./vendor/d3/testingtools/.php-cs-fixer.php",
"phpstan": "./vendor/bin/phpstan analyse -c./vendor/d3/testingtools/phpstan.neon",
"phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/testingtools/ --no-coverage",
"phpunit-line-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/testingtools/ --coverage-html=reports/phpunit/d3testingtools",
"phpunit-path-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/testingtools/ --coverage-html=reports/phpunit/d3testingtools --path-coverage",
"infection": "./vendor/bin/infection --configuration=vendor/d3/testingtools/infection.json5"
}
}