mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
60cbc3b464
Regarding array building: Instead of adding to array with $array[] = 'foo' and then doing array_flip(), simply do $array['foo'] = true; Regarding tests: I originally wanted to create a unit test but I ended up mocking so many things that it wasn't worth it and the config variable is globaly which first we need to clean up after deployment is done. Bug: T337431 Change-Id: Iac8dca7078668ee3441d19b6aafe499c1aa0d732 |
||
---|---|---|
.phan | ||
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json |