| 1 | { |
| 2 | "name": "mediawiki/abuse-filter", |
| 3 | "type": "mediawiki-extension", |
| 4 | "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.", |
| 5 | "homepage": "https://www.mediawiki.org/wiki/Extension:AbuseFilter", |
| 6 | "license": "GPL-2.0-or-later", |
| 7 | "require": { |
| 8 | "wikimedia/equivset": "^1.7.0" |
| 9 | }, |
| 10 | "require-dev": { |
| 11 | "mediawiki/mediawiki-codesniffer": "45.0.0", |
| 12 | "mediawiki/mediawiki-phan-config": "0.14.0", |
| 13 | "mediawiki/minus-x": "1.1.3", |
| 14 | "php-parallel-lint/php-console-highlighter": "1.0.0", |
| 15 | "php-parallel-lint/php-parallel-lint": "1.4.0" |
| 16 | }, |
| 17 | "scripts": { |
| 18 | "fix": [ |
| 19 | "minus-x fix .", |
| 20 | "phpcbf" |
| 21 | ], |
| 22 | "test": [ |
| 23 | "parallel-lint . --exclude node_modules --exclude vendor", |
| 24 | "@phpcs", |
| 25 | "minus-x check ." |
| 26 | ], |
| 27 | "phan": "phan -d . --long-progress-bar", |
| 28 | "phpcs": "phpcs -sp --cache" |
| 29 | }, |
| 30 | "config": { |
| 31 | "allow-plugins": { |
| 32 | "dealerdirect/phpcodesniffer-composer-installer": true |
| 33 | } |
| 34 | } |
| 35 | } |