mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
fbe2f875c4
Use the same PHP library as UrlShortener (endroid/qr-code) to generate QR codes, rather than the out-of-date JS library. Bug: T348590 Change-Id: I560ac1b384e249aad1866752deac753c764ec553
29 lines
654 B
JSON
29 lines
654 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": "42.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.12.1",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
|
},
|
|
"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 ."
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
}
|
|
}
|