mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-30 19:14:31 +00:00
3b00441a5b
The following sniffs are failing and were disabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage Additional changes: * Dropped .inc files from .phpcs.xml (T200956). * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). * Removed globals `mw`, `OO`, included via `wikimedia/mediawiki` profile (T262222). * Dropped the emtpy global definition in .eslintrc.json. Change-Id: I01a98843715f98793da99b19b0130aab6f04a7b1
27 lines
580 B
JSON
27 lines
580 B
JSON
{
|
|
"require": {
|
|
"christian-riesen/base32": "1.3.2",
|
|
"jakobo/hotp-php": "1.0.1"
|
|
},
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.3",
|
|
"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": {
|
|
"lint": "parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs": "phpcs -p -s",
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"test": [
|
|
"composer lint",
|
|
"composer phpcs",
|
|
"minus-x check ."
|
|
]
|
|
}
|
|
}
|