mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-12-01 03:17:04 +00:00
9bc2d0b806
* https://npmjs.com/advisories/1589 Additional changes: * Added the "composer phan" command to conveniently run phan. Change-Id: Id34df14f5370ef8b76993a7d749a97b419bc166b
23 lines
514 B
JSON
23 lines
514 B
JSON
{
|
|
"license": "GPL-2.0-or-later",
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.2",
|
|
"mediawiki/minus-x": "1.1.0",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"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"
|
|
}
|
|
}
|