2017-07-17 19:49:49 +00:00
|
|
|
{
|
|
|
|
"require-dev": {
|
2022-04-15 19:41:54 +00:00
|
|
|
"johnkary/phpunit-speedtrap": "^3.1",
|
2021-11-13 17:58:14 +00:00
|
|
|
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
2022-04-15 19:41:54 +00:00
|
|
|
"mediawiki/mediawiki-phan-config": "0.11.1",
|
2021-03-12 08:16:24 +00:00
|
|
|
"mediawiki/minus-x": "1.1.1",
|
2020-06-12 11:31:16 +00:00
|
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
2021-11-23 13:52:50 +00:00
|
|
|
"php-parallel-lint/php-parallel-lint": "1.3.1",
|
2022-04-15 19:41:54 +00:00
|
|
|
"phpunit/phpunit": "^8.5.0"
|
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
|
|
|
],
|
2021-11-23 13:52:50 +00:00
|
|
|
"test:size": "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"
|
2017-07-17 19:49:49 +00:00
|
|
|
}
|
|
|
|
}
|