2016-05-24 11:54:03 +00:00
|
|
|
{
|
2022-07-05 13:33:34 +00:00
|
|
|
"name": "dnw/php-trueskill",
|
2022-07-05 14:30:34 +00:00
|
|
|
"description": "Trueskill implementation by Moserware updated for PHP 8.1",
|
2016-06-01 07:49:07 +00:00
|
|
|
"keywords": ["trueskill", "matchmaking", "ranking", "skill", "elo"],
|
2016-05-24 11:54:03 +00:00
|
|
|
"require": {
|
2022-07-05 14:32:18 +00:00
|
|
|
"php": "^8.1"
|
2016-05-24 11:54:03 +00:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2023-08-01 11:26:38 +00:00
|
|
|
"phpunit/phpunit": "^10",
|
|
|
|
"rector/rector": "^0.17",
|
|
|
|
"phpstan/phpstan": "^1",
|
2023-08-01 13:35:44 +00:00
|
|
|
"laravel/pint": "^1",
|
|
|
|
"squizlabs/php_codesniffer": "*"
|
2016-05-24 11:54:03 +00:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2022-07-05 13:33:34 +00:00
|
|
|
"DNW\\Skills\\": "src/"
|
2016-05-24 11:54:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2022-07-05 13:33:34 +00:00
|
|
|
"DNW\\Skills\\Tests\\": "tests/"
|
2016-05-24 11:54:03 +00:00
|
|
|
}
|
2023-08-01 13:35:44 +00:00
|
|
|
},
|
|
|
|
"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 src --report=emacs --standard=PSR12"
|
2016-05-24 11:54:03 +00:00
|
|
|
}
|
2022-07-05 13:55:47 +00:00
|
|
|
}
|