2014-01-28 10:32:12 +00:00
|
|
|
{
|
2016-02-08 22:45:39 +00:00
|
|
|
"require-dev": {
|
2022-07-30 21:14:53 +00:00
|
|
|
"mediawiki/lua-sandbox": "4.0.2",
|
2023-03-11 22:02:36 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
2023-04-29 03:36:18 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.12.1",
|
2021-01-30 04:06:49 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-11-11 03:35:41 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
2016-02-08 22:45:39 +00:00
|
|
|
},
|
2018-04-09 04:39:06 +00:00
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": {
|
|
|
|
"name": "mediawiki/lua-sandbox",
|
2022-07-30 21:14:53 +00:00
|
|
|
"version": "4.0.2",
|
2018-04-09 04:39:06 +00:00
|
|
|
"source": {
|
|
|
|
"url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git",
|
|
|
|
"type": "git",
|
2022-07-30 21:14:53 +00:00
|
|
|
"reference": "tags/4.0.2"
|
2018-04-09 04:39:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
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
|
|
|
}
|
|
|
|
}
|