mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Poem
synced 2024-11-14 10:34:41 +00:00
65afffaed8
Additional changes: * Dropped .inc files from .phpcs.xml (T200956). * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). Change-Id: I6c7f15986505db7a64b6dde711f7ce6c4bfef901
24 lines
476 B
JSON
24 lines
476 B
JSON
{
|
|
"require": {
|
|
"php": ">=5.5.9"
|
|
},
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.3",
|
|
"mediawiki/minus-x": "1.1.0",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"scripts": {
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"test": [
|
|
"parallel-lint . --exclude node_modules --exclude vendor",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
]
|
|
}
|
|
}
|