2019-10-10 13:25:11 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2024-08-11 03:46:12 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "44.0.0",
|
2024-02-10 09:27:40 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.14.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": {
|
2022-10-21 19:34:18 +00:00
|
|
|
"php": ">=7.4.3",
|
2022-02-18 23:36:20 +00:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|