2014-01-28 10:32:12 +00:00
|
|
|
{
|
2016-02-08 22:45:39 +00:00
|
|
|
"require-dev": {
|
2018-04-09 04:39:06 +00:00
|
|
|
"mediawiki/lua-sandbox": "3.0.1",
|
2021-10-23 23:12:33 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
2021-09-09 22:24:04 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.11.0",
|
2021-01-30 04:06:49 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2020-05-31 12:41:46 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
2021-09-09 22:24:04 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.1"
|
2016-02-08 22:45:39 +00:00
|
|
|
},
|
2018-04-09 04:39:06 +00:00
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": {
|
|
|
|
"name": "mediawiki/lua-sandbox",
|
|
|
|
"version": "3.0.1",
|
|
|
|
"source": {
|
|
|
|
"url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git",
|
|
|
|
"type": "git",
|
|
|
|
"reference": "tags/3.0.1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2016-02-08 22:45:39 +00:00
|
|
|
"scripts": {
|
|
|
|
"test": [
|
2017-11-11 17:42:26 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-10-04 13:05:45 +00:00
|
|
|
"@phpcs",
|
2017-10-30 16:35:52 +00:00
|
|
|
"minus-x check ."
|
2016-05-28 01:24:16 +00:00
|
|
|
],
|
|
|
|
"fix": [
|
2020-01-10 10:48:45 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2020-12-31 02:25:38 +00:00
|
|
|
],
|
2021-10-04 13:05:45 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2014-01-28 10:32:12 +00:00
|
|
|
}
|
|
|
|
}
|