2014-01-28 10:32:12 +00:00
|
|
|
{
|
2016-02-08 22:45:39 +00:00
|
|
|
"require-dev": {
|
2024-04-17 15:10:11 +00:00
|
|
|
"mediawiki/lua-sandbox": "4.1.2",
|
2024-08-12 03:58:40 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "44.0.0",
|
2024-02-09 17:58:45 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
2024-05-10 05:26:01 +00:00
|
|
|
"mediawiki/minus-x": "1.1.3",
|
2022-11-11 03:35:41 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
2024-04-23 11:30:14 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.4.0"
|
2016-02-08 22:45:39 +00:00
|
|
|
},
|
2018-04-09 04:39:06 +00:00
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": {
|
|
|
|
"name": "mediawiki/lua-sandbox",
|
2024-04-17 15:10:11 +00:00
|
|
|
"version": "4.1.2",
|
2018-04-09 04:39:06 +00:00
|
|
|
"source": {
|
|
|
|
"url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git",
|
|
|
|
"type": "git",
|
2024-04-17 15:10:11 +00:00
|
|
|
"reference": "tags/4.1.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"
|
2024-03-10 22:46:30 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2014-01-28 10:32:12 +00:00
|
|
|
}
|
|
|
|
}
|