Files
trueskill/composer.json

62 lines
1.5 KiB
JSON
Raw Normal View History

2016-05-24 13:54:03 +02:00
{
2022-07-05 15:33:34 +02:00
"name": "dnw/php-trueskill",
2025-01-28 09:18:50 +00:00
"description": "Trueskill implementation by Moserware updated for PHP 8.4",
"keywords": [
"trueskill",
"matchmaking",
"ranking",
"skill",
"elo"
],
2016-05-24 13:54:03 +02:00
"require": {
2025-01-28 09:18:50 +00:00
"php": "^8.4"
2016-05-24 13:54:03 +02:00
},
"require-dev": {
"phpmetrics/phpmetrics": "^3.0-dev",
"phpunit/phpunit": "^11.2",
2024-04-30 07:23:28 +00:00
"rector/rector": "^1.0",
"league/csv": "^9.0"
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": {
2025-06-06 14:24:46 +00:00
"test": "tools/phpunit",
"document": "tools/phpdocumentor",
"benchmark": "tools/phpbench run --report=default --output=build-artifact",
2025-06-06 14:24:46 +00:00
"metrics": "phpmetrics --config=phpmetrics.yml",
"lint": [
2025-05-14 09:28:51 +00:00
"tools/phpcbf",
"tools/phpcs",
"tools/phpmd src/,tests/,benchmark/,examples/ text phpmd.ruleset.xml"
],
2024-03-01 12:56:55 +00:00
"analyze": [
"@analyze-phpstan",
"@analyze-psalm",
"@analyze-rector"
2023-08-01 13:35:44 +00:00
],
"analyze-phpstan": "tools/phpstan analyze --error-format=raw",
2025-05-14 09:28:51 +00:00
"analyze-psalm": "tools/psalm --show-info=true",
2025-06-06 14:24:46 +00:00
"analyze-rector": "rector --dry-run",
2024-02-26 09:19:39 +00:00
"html": [
"pandoc -s README.md -o output/README.html",
"pandoc -s docs/index.rst -o output/index.html",
2025-05-14 09:28:51 +00:00
"tools/phpcs --generator=MarkDown | pandoc -o output/CodeStandard.html --metadata title=\"Code Standard\""
2024-02-26 09:19:39 +00:00
],
"all": [
"@test",
"@lint",
2024-03-01 12:56:55 +00:00
"@analyze",
"@document",
2024-07-01 09:31:35 +00:00
"@metrics",
2024-02-26 09:19:39 +00:00
"@html"
]
2016-05-24 13:54:03 +02:00
}
}