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-11-04 08:07:13 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
2020-09-25 07:31:44 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.10.3",
|
2020-06-09 13:08:24 +00:00
|
|
|
"mediawiki/minus-x": "1.1.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
|
|
|
}
|