2016-01-19 22:29:19 +00:00
|
|
|
{
|
2018-11-02 08:34:44 +00:00
|
|
|
"require": {
|
2020-12-29 20:40:55 +00:00
|
|
|
"christian-riesen/base32": "1.4.0",
|
2020-12-28 03:47:08 +00:00
|
|
|
"jakobo/hotp-php": "2.0.0"
|
2018-11-02 08:34:44 +00:00
|
|
|
},
|
2016-01-19 22:29:19 +00:00
|
|
|
"require-dev": {
|
2020-12-06 19:31:43 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "34.0.0",
|
2020-12-19 23:28:04 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
2020-06-09 09:05:24 +00:00
|
|
|
"mediawiki/minus-x": "1.1.0",
|
2020-05-31 09:12:09 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
2016-01-19 22:29:19 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-06-22 20:45:35 +00:00
|
|
|
"lint": "parallel-lint . --exclude vendor --exclude node_modules",
|
2016-09-16 23:18:35 +00:00
|
|
|
"phpcs": "phpcs -p -s",
|
2017-11-04 01:20:23 +00:00
|
|
|
"fix": [
|
2020-01-14 08:27:29 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2017-11-04 01:20:23 +00:00
|
|
|
],
|
2016-01-19 22:29:19 +00:00
|
|
|
"test": [
|
2016-09-16 23:18:35 +00:00
|
|
|
"composer lint",
|
2017-11-04 01:20:23 +00:00
|
|
|
"composer phpcs",
|
|
|
|
"minus-x check ."
|
2016-01-19 22:29:19 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|