2015-03-05 05:47:04 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2024-03-12 19:51:29 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
2024-02-07 13:17:51 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
2021-01-28 21:37:40 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-05-20 10:06:15 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
2015-03-05 05:47:04 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
2017-06-26 17:18:47 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2019-04-06 00:41:33 +00:00
|
|
|
"minus-x check .",
|
2021-10-09 08:59:02 +00:00
|
|
|
"@phpcs"
|
2016-02-17 16:18:02 +00:00
|
|
|
],
|
|
|
|
"fix": [
|
2019-04-06 00:41:33 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2021-01-28 21:37:40 +00:00
|
|
|
],
|
2021-10-09 08:59:02 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
2023-10-12 21:52:22 +00:00
|
|
|
"phpcs": "phpcs -sp --cache --ignore=*/node_modules/"
|
2024-03-12 19:51:29 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2015-03-05 05:47:04 +00:00
|
|
|
}
|
|
|
|
}
|