a5d1a7587a
* 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: I126d963eaa0aa6064630eedd47cb38529fa9761f
21 lines
419 B
JSON
21 lines
419 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "35.0.0",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"minus-x check .",
|
|
"@phpcs"
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phpcs": "phpcs -sp --cache"
|
|
}
|
|
}
|