2019-10-10 13:25:11 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2022-05-20 23:20:25 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "39.0.0",
|
2021-12-20 07:00:27 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.11.1",
|
2021-01-29 07:32:15 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-05-20 23:20:25 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
2020-01-11 21:27:35 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-10-08 23:08:40 +00:00
|
|
|
"@phpcs",
|
2020-06-25 12:23:17 +00:00
|
|
|
"minus-x check ."
|
2019-10-10 13:25:11 +00:00
|
|
|
],
|
2020-01-11 21:27:35 +00:00
|
|
|
"fix": [
|
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2021-01-29 07:32:15 +00:00
|
|
|
],
|
2021-01-30 19:35:44 +00:00
|
|
|
"dbschema": [
|
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/mysql/discussiontools_subscription.sql --type mysql",
|
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/postgres/discussiontools_subscription.sql --type postgres",
|
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/sqlite/discussiontools_subscription.sql --type sqlite"
|
|
|
|
],
|
2021-10-08 23:08:40 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2022-02-18 23:36:20 +00:00
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"ext-json": "*",
|
|
|
|
"ext-dom": "*"
|
2019-10-10 13:25:11 +00:00
|
|
|
}
|
|
|
|
}
|