2016-05-16 00:57:25 +08:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2024-03-10 23:56:38 +08:00
|
|
|
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
2024-02-09 21:26:46 +08:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
2024-05-05 07:53:20 +08:00
|
|
|
"mediawiki/minus-x": "1.1.3",
|
2022-05-21 06:27:16 +08:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
2024-05-05 07:53:20 +08:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.4.0"
|
2016-05-16 00:57:25 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-11-03 09:23:05 +08:00
|
|
|
"fix": [
|
2020-01-14 11:59:41 +08:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2017-11-03 09:23:05 +08:00
|
|
|
],
|
2016-05-16 00:57:25 +08:00
|
|
|
"test": [
|
2017-11-12 01:49:09 +08:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-10-04 15:59:13 +08:00
|
|
|
"@phpcs",
|
2017-11-03 09:23:05 +08:00
|
|
|
"minus-x check ."
|
2021-01-28 01:59:20 +08:00
|
|
|
],
|
2021-10-04 15:59:13 +08:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2024-03-10 23:56:38 +08:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2016-05-16 00:57:25 +08:00
|
|
|
}
|
|
|
|
}
|