2017-07-17 19:49:49 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2024-03-10 23:28:35 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
2024-02-09 21:20:25 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
2021-03-12 08:16:24 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2022-05-21 12:18:57 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
2023-02-10 20:59:35 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
2017-07-17 19:49:49 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
2017-11-02 16:53:18 +00:00
|
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
2021-09-10 13:26:28 +00:00
|
|
|
"@phpcs",
|
2017-12-16 09:08:31 +00:00
|
|
|
"minus-x check ."
|
2017-07-17 19:49:49 +00:00
|
|
|
],
|
|
|
|
"fix": [
|
2020-06-12 11:31:16 +00:00
|
|
|
"minus-x fix .",
|
|
|
|
"phpcbf"
|
2021-01-09 05:05:56 +00:00
|
|
|
],
|
2023-02-10 20:59:35 +00:00
|
|
|
"test:size": "php ../../vendor/phpunit/phpunit/phpunit -c ../../phpunit.xml.dist tests/phpunit/structure/BundleSizeTest.php",
|
2021-09-10 13:26:28 +00:00
|
|
|
"phan": "phan -d . --long-progress-bar",
|
|
|
|
"phpcs": "phpcs -sp --cache"
|
2024-03-10 23:28:35 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2017-07-17 19:49:49 +00:00
|
|
|
}
|
|
|
|
}
|