mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 14:13:54 +00:00
1d74aab5cf
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam * MediaWiki.Commenting.FunctionComment.ObjectTypeHintReturn * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic * PSR2.ControlStructures.SwitchDeclaration.TerminatingComment * PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase Change-Id: Ie2ce904037ef34282f0180ef6f4d8426f5a3fb6a
30 lines
860 B
JSON
30 lines
860 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": "32.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.3",
|
|
"mediawiki/minus-x": "1.1.0",
|
|
"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 ."
|
|
]
|
|
}
|
|
}
|