mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-27 17:50:06 +00:00
c88d231aed
The following sniffs are failing and were disabled: * MediaWiki.Usage.ForbiddenFunctions.popen * MediaWiki.Usage.ForbiddenFunctions.proc_open * MediaWiki.Usage.ForbiddenFunctions.shell_exec Change-Id: I39e352194565a5526c1a8a34992c028fb305b03b
36 lines
749 B
JSON
36 lines
749 B
JSON
{
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
|
"mediawiki/mediawiki-codesniffer": "20.0.0",
|
|
"mediawiki/lua-sandbox": "3.0.1",
|
|
"mediawiki/minus-x": "0.3.1",
|
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
|
"mediawiki/mediawiki-phan-config": "0.2.0"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": {
|
|
"name": "mediawiki/lua-sandbox",
|
|
"version": "3.0.1",
|
|
"source": {
|
|
"url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git",
|
|
"type": "git",
|
|
"reference": "tags/3.0.1"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"phpcbf",
|
|
"minus-x fix ."
|
|
]
|
|
}
|
|
}
|