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": {
|
2021-07-22 13:21:37 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "37.0.0",
|
2021-09-08 20:17:56 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.11.0",
|
2021-01-29 19:49:14 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2020-05-31 09:12:09 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
2021-09-08 20:17:56 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.1"
|
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 ."
|
2021-01-29 19:49:14 +00:00
|
|
|
],
|
|
|
|
"phan": "phan -d . --long-progress-bar"
|
2016-01-19 22:29:19 +00:00
|
|
|
}
|
|
|
|
}
|