2019-10-10 13:25:11 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2024-11-02 01:22:27 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "45.0.0",
|
2024-12-14 01:07:31 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.15.0",
|
2024-05-06 01:04:30 +00:00
|
|
|
"mediawiki/minus-x": "1.1.3",
|
2022-05-20 23:20:25 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
2024-05-06 01:04:30 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.4.0"
|
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",
|
2022-02-16 23:29:10 +00:00
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_persistent.json --sql sql/mysql/discussiontools_persistent.sql --type mysql",
|
2021-01-30 19:35:44 +00:00
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/postgres/discussiontools_subscription.sql --type postgres",
|
2022-02-16 23:29:10 +00:00
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_persistent.json --sql sql/postgres/discussiontools_persistent.sql --type postgres",
|
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_subscription.json --sql sql/sqlite/discussiontools_subscription.sql --type sqlite",
|
|
|
|
"php ../../maintenance/generateSchemaSql.php --json sql/discussiontools_persistent.json --sql sql/sqlite/discussiontools_persistent.sql --type sqlite"
|
2021-01-30 19:35:44 +00:00
|
|
|
],
|
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": "*"
|
2024-03-10 16:36:18 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2019-10-10 13:25:11 +00:00
|
|
|
}
|
|
|
|
}
|