2015-03-06 18:15:10 +00:00
|
|
|
{
|
2021-11-25 21:35:46 +00:00
|
|
|
"require": {
|
|
|
|
"ext-zlib": "*"
|
|
|
|
},
|
2015-03-06 18:15:10 +00:00
|
|
|
"require-dev": {
|
2024-03-12 19:49:04 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
2024-02-13 01:57:51 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
2021-01-30 08:41:43 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-05-21 08:27:48 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
2015-03-06 18:15:10 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
2017-11-11 23:38:41 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-10-09 00:25:48 +00:00
|
|
|
"@phpcs",
|
2017-11-04 02:49:58 +00:00
|
|
|
"minus-x check ."
|
2016-05-10 00:00:14 +00:00
|
|
|
],
|
|
|
|
"fix": [
|
2020-01-14 12:46:50 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2021-01-30 08:41:43 +00:00
|
|
|
],
|
2021-10-09 00:25:48 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2024-03-12 19:49:04 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2015-03-06 18:15:10 +00:00
|
|
|
}
|
|
|
|
}
|