mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-28 02:00:01 +00:00
5610142a87
Additional changes: * Added the "composer phan" command to conveniently run phan. Change-Id: I4d39bb3cd56dcbf00f27e4a8fc556d2c0adc3be9
37 lines
801 B
JSON
37 lines
801 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/lua-sandbox": "3.0.1",
|
|
"mediawiki/mediawiki-codesniffer": "34.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
|
"mediawiki/minus-x": "1.1.0",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
}
|
|
}
|