mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-30 17:54:20 +00:00
2e0792a0dd
One of the most significant changes is when I noticed that the $group can never be null. We set it to DEFAULT_GROUP before. That's an empty string. I'm not very happy with the two @phan-suppress-next-line. Is there a better way to fix these lines? Change-Id: I33c1681e2f3857cb6701da71f4ed8893caff4d1e
24 lines
483 B
JSON
24 lines
483 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
|
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.9.0",
|
|
"mediawiki/minus-x": "0.3.2"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude node_modules --exclude vendor",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"phpcbf",
|
|
"minus-x fix ."
|
|
]
|
|
},
|
|
"extra": {
|
|
"phan-taint-check-plugin": "2.0.1"
|
|
}
|
|
}
|