mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
bdf882e1c9
This includes the declaration of a class property from 7ec7813b2e to avoid phan issue and avoids use of dynamic properties as deprecated in php8.2 Change-Id: I192d3a6716c400487fe534809197c0d2b42a439d
43 lines
928 B
JSON
43 lines
928 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/lua-sandbox": "4.1.2",
|
|
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": {
|
|
"name": "mediawiki/lua-sandbox",
|
|
"version": "4.1.2",
|
|
"source": {
|
|
"url": "https://gerrit.wikimedia.org/r/mediawiki/php/luasandbox.git",
|
|
"type": "git",
|
|
"reference": "tags/4.1.2"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"@phpcs",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar",
|
|
"phpcs": "phpcs -sp --cache"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|