trueskill/composer.json

36 lines
1.1 KiB
JSON

{
"name": "dnw/php-trueskill",
"description": "Trueskill implementation by Moserware updated for PHP 8.1",
"keywords": ["trueskill", "matchmaking", "ranking", "skill", "elo"],
"require": {
"php": "^8.1"
},
"require-dev": {
"phpunit/phpunit": "^10",
"rector/rector": "^0.17",
"phpstan/phpstan": "^1",
"laravel/pint": "^1",
"squizlabs/php_codesniffer": "*"
},
"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 --path-coverage --testdox-html output/test.html --log-junit output/test.xml ",
"analyze": [
"@analyze-phpstan",
"@analyze-phpcs"
],
"analyze-phpstan":"vendor/bin/phpstan analyze --level=8 --error-format=raw src/",
"analyze-phpcs": "vendor/bin/phpcs --report=emacs --standard=PSR12 --exclude=Generic.Files.LineLength src"
}
}