2015-11-23 20:56:22 +00:00
|
|
|
{
|
2018-03-26 14:27:08 +00:00
|
|
|
"require": {
|
|
|
|
"php": ">=5.5.9"
|
|
|
|
},
|
2016-01-05 18:39:20 +00:00
|
|
|
"require-dev": {
|
2020-05-30 04:55:41 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
2020-06-01 22:56:12 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.10.2",
|
2020-01-30 00:17:58 +00:00
|
|
|
"mediawiki/minus-x": "1.0.0",
|
2020-05-31 10:15:58 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
2016-01-05 18:39:20 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-11-04 01:47:20 +00:00
|
|
|
"fix": [
|
2020-01-14 10:55:29 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2017-11-04 01:47:20 +00:00
|
|
|
],
|
2016-01-05 18:39:20 +00:00
|
|
|
"test": [
|
2017-05-18 16:26:55 +00:00
|
|
|
"parallel-lint . --exclude node_modules --exclude vendor",
|
2017-11-04 01:47:20 +00:00
|
|
|
"phpcs -p -s",
|
|
|
|
"minus-x check ."
|
2016-01-05 18:39:20 +00:00
|
|
|
]
|
|
|
|
}
|
2015-11-23 20:56:22 +00:00
|
|
|
}
|