mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Description2
synced 2024-12-18 09:11:33 +00:00
0b426797b5
* https://npmjs.com/advisories/1002401 (CVE-2021-3807) Additional changes: * composer.json: Updated phpcs command in composer test (T280592). * composer.json: Added phpcs command to scripts (T280592). Change-Id: I9ec4b8dc87755d2dcbb84bcb2907efdb1dcd81ec
21 lines
419 B
JSON
21 lines
419 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "37.0.0",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.3.0"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"minus-x check .",
|
|
"@phpcs"
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phpcs": "phpcs -sp --cache"
|
|
}
|
|
}
|