trueskill/composer.json
2024-02-02 11:04:31 +00:00

41 lines
1.4 KiB
JSON

{
"name": "dnw/php-trueskill",
"description": "Trueskill implementation by Moserware updated for PHP 8.2",
"keywords": ["trueskill", "matchmaking", "ranking", "skill", "elo"],
"require": {
"php": "^8.2"
},
"require-dev": {
"phpunit/phpunit": "^10",
"phpstan/phpstan": "^1",
"squizlabs/php_codesniffer": "*",
"vimeo/psalm": "^5.14",
"phpmetrics/phpmetrics": "^3.0-dev"
},
"autoload": {
"psr-4": {
"DNW\\Skills\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DNW\\Skills\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit tests --display-warnings",
"test-coverage": "vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text --testdox-html output/test.html --log-junit output/test.xml",
"document": "phpDocumentor --setting=graphs.enabled=true",
"benchmark": "phpbench run --report=default --output=build-artifact",
"metrics": "vendor/bin/phpmetrics --config=phpmetrics.json",
"analyze": [
"@analyze-phpstan",
"@analyze-psalm",
"@analyze-phpcs"
],
"analyze-phpstan":"vendor/bin/phpstan analyze --error-format=raw",
"analyze-psalm": "vendor/bin/psalm --no-cache",
"analyze-phpcs": "vendor/bin/phpcs --report=emacs --standard=PSR1,PSR2,PSR12 --exclude=Generic.Files.LineLength src tests benchmark"
}
}