mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 22:15:26 +00:00
c00395f6c6
composer: * mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0 The following sniffs are failing and were disabled: * MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals * mediawiki/minus-x: 1.1.0 → 1.1.1 npm: * eslint-config-wikimedia: 0.18.0 → 0.18.1 Additional changes: * Added the "composer phan" command to conveniently run phan. Change-Id: Iaa3a8844fa93040a4f344b62d0d9173574ed3189
31 lines
903 B
JSON
31 lines
903 B
JSON
{
|
|
"name": "mediawiki/abuse-filter",
|
|
"type": "mediawiki-extension",
|
|
"description": "The AbuseFilter extension allows privileged users to set specific controls on actions by users, such as edits, and create automated reactions for certain behaviors.",
|
|
"homepage": "https://www.mediawiki.org/wiki/Extension:AbuseFilter",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"php": ">=7.2.0",
|
|
"wikimedia/equivset": "^1.4"
|
|
},
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "35.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"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 ."
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
}
|
|
}
|