mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-13 17:48:59 +00:00
220cf0d82b
We cannot set this in the normal "require-dev" because the plugin depends on exactly PHP 7.0, preventing running tests on any other PHP version. Instead, CI will read the version number out of the "extra" field to figure out what version to install. Bug: T187497 Change-Id: I17c52102998e3308806bad11bfc1b9dbd44dd490
23 lines
437 B
JSON
23 lines
437 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "0.9.2",
|
|
"mediawiki/mediawiki-codesniffer": "16.0.0",
|
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
|
"mediawiki/minus-x": "0.2.1"
|
|
},
|
|
"scripts": {
|
|
"fix": [
|
|
"phpcbf",
|
|
"minus-x fix ."
|
|
],
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
]
|
|
},
|
|
"extra": {
|
|
"phan-taint-check-plugin": "1.1.0"
|
|
}
|
|
}
|