2016-05-24 13:54:03 +02:00
|
|
|
{
|
2022-07-05 15:33:34 +02:00
|
|
|
"name": "dnw/php-trueskill",
|
2023-08-04 06:56:47 +00:00
|
|
|
"description": "Trueskill implementation by Moserware updated for PHP 8.2",
|
2016-06-01 09:49:07 +02:00
|
|
|
"keywords": ["trueskill", "matchmaking", "ranking", "skill", "elo"],
|
2016-05-24 13:54:03 +02:00
|
|
|
"require": {
|
2023-08-04 06:56:47 +00:00
|
|
|
"php": "^8.2"
|
2016-05-24 13:54:03 +02:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2023-08-01 11:26:38 +00:00
|
|
|
"phpunit/phpunit": "^10",
|
|
|
|
"phpstan/phpstan": "^1",
|
2023-08-01 13:35:44 +00:00
|
|
|
"laravel/pint": "^1",
|
2023-08-03 14:26:00 +00:00
|
|
|
"squizlabs/php_codesniffer": "*",
|
|
|
|
"vimeo/psalm": "^5.14"
|
2016-05-24 13:54:03 +02:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2022-07-05 15:33:34 +02:00
|
|
|
"DNW\\Skills\\": "src/"
|
2016-05-24 13:54:03 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2022-07-05 15:33:34 +02:00
|
|
|
"DNW\\Skills\\Tests\\": "tests/"
|
2016-05-24 13:54:03 +02:00
|
|
|
}
|
2023-08-01 13:35:44 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"test": "vendor/bin/phpunit tests --display-warnings",
|
2024-01-12 14:54:04 +00:00
|
|
|
"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",
|
2023-08-01 13:35:44 +00:00
|
|
|
"analyze": [
|
|
|
|
"@analyze-phpstan",
|
2023-08-04 07:30:40 +00:00
|
|
|
"@analyze-psalm",
|
|
|
|
"@analyze-phpcs"
|
2023-08-01 13:35:44 +00:00
|
|
|
],
|
2023-08-04 07:03:28 +00:00
|
|
|
"analyze-phpstan":"vendor/bin/phpstan analyze --error-format=raw",
|
2023-08-04 07:30:40 +00:00
|
|
|
"analyze-psalm": "vendor/bin/psalm --no-cache",
|
|
|
|
"analyze-phpcs": "vendor/bin/phpcs --report=emacs --standard=PSR12 --exclude=Generic.Files.LineLength src tests"
|
2016-05-24 13:54:03 +02:00
|
|
|
}
|
2022-07-05 15:55:47 +02:00
|
|
|
}
|