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": {
|
2024-02-02 13:42:48 +00:00
|
|
|
"phpstan/phpstan": "^1.0",
|
2024-07-23 10:04:02 +00:00
|
|
|
"vimeo/psalm": "dev-master",
|
2024-02-02 13:42:48 +00:00
|
|
|
"phpmetrics/phpmetrics": "^3.0-dev",
|
2024-07-23 10:04:02 +00:00
|
|
|
"phpunit/phpunit": "^11.2",
|
2024-02-20 14:21:44 +00:00
|
|
|
"psalm/plugin-phpunit": "^0.18.4",
|
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": {
|
2024-02-02 13:42:48 +00:00
|
|
|
"test": "phpunit",
|
2024-07-04 09:38:03 +00:00
|
|
|
"document": "phpDocumentor",
|
2024-02-02 11:04:31 +00:00
|
|
|
"benchmark": "phpbench run --report=default --output=build-artifact",
|
2024-09-12 13:36:35 +00:00
|
|
|
"metrics": "vendor/bin/phpmetrics --config=phpmetrics.yml",
|
2024-02-02 13:42:48 +00:00
|
|
|
"lint": [
|
|
|
|
"phplint",
|
2024-07-04 09:38:03 +00:00
|
|
|
"phpcs",
|
2024-09-13 07:26:48 +00:00
|
|
|
"phpcbf src/ tests/ benchmark/ examples/",
|
2024-07-04 09:38:03 +00:00
|
|
|
"phpmd src/,tests/,benchmark/,examples/ text phpmd.ruleset.xml"
|
2024-02-02 13:42:48 +00:00
|
|
|
],
|
2024-03-01 12:56:55 +00:00
|
|
|
"analyze": [
|
2023-08-01 13:35:44 +00:00
|
|
|
"@analyze-phpstan",
|
2024-02-29 10:42:31 +00:00
|
|
|
"@analyze-psalm",
|
|
|
|
"@analyze-rector"
|
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",
|
2024-03-01 12:56:55 +00:00
|
|
|
"analyze-psalm": "vendor/bin/psalm --no-cache --show-info=true",
|
2024-02-29 10:42:31 +00:00
|
|
|
"analyze-rector": "vendor/bin/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"
|
|
|
|
],
|
2024-02-02 13:42:48 +00:00
|
|
|
"all": [
|
|
|
|
"@test",
|
|
|
|
"@lint",
|
2024-03-01 12:56:55 +00:00
|
|
|
"@analyze",
|
2024-07-04 09:38:03 +00:00
|
|
|
"@document",
|
2024-07-01 09:31:35 +00:00
|
|
|
"@metrics",
|
2024-02-26 09:19:39 +00:00
|
|
|
"@html"
|
2024-02-02 13:42:48 +00:00
|
|
|
]
|
2016-05-24 13:54:03 +02:00
|
|
|
}
|
2022-07-05 15:55:47 +02:00
|
|
|
}
|