mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-13 17:57:15 +00:00
7452cf1dd6
The plugin checks and flags potential security issues (XSS, SQLi, etc.) using static analysis. See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more details. Bug: T201219 Change-Id: I6a838ad4fb589d6890120458b03b7d1f3780c5ea
23 lines
437 B
JSON
23 lines
437 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
|
"mediawiki/mediawiki-codesniffer": "21.0.0",
|
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
|
"mediawiki/minus-x": "0.3.1"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"phpcbf",
|
|
"minus-x fix ."
|
|
]
|
|
},
|
|
"extra": {
|
|
"phan-taint-check-plugin": "1.2.0"
|
|
}
|
|
}
|