mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 10:48:17 +00:00
6d54b83f2c
Use a single function to check parameters amount, avoid duplication between keywordIn and keywordContains, use if...elseif instead of if-else when statements have a return inside, simplify some other logic, add typehinting, and change method visibility according to use of such methods. Change-Id: I22225a5cbbb93679a0e78bf6e15866829167fbf4 |
||
---|---|---|
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
abusefilter.tables.pg.sql | ||
abusefilter.tables.sql | ||
abusefilter.tables.sqlite.sql | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
hooks.txt | ||
package.json |