mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-23 15:56:59 +00:00
723636a8bb
Faster run of phpcs on developer machine by using results from previous runs Change-Id: I15aaaa981d607c0244a0bb96e6c3c6eacae9197a
34 lines
762 B
JSON
34 lines
762 B
JSON
{
|
|
"require": {
|
|
"christian-riesen/base32": "^1.4.0",
|
|
"endroid/qr-code": "4.5.2",
|
|
"jakobo/hotp-php": "2.0.0"
|
|
},
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "44.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
|
"mediawiki/minus-x": "1.1.3",
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.4.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs": "phpcs -p -s --cache",
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"test": [
|
|
"composer lint",
|
|
"composer phpcs",
|
|
"minus-x check ."
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|