mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 02:03:53 +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 |
||
---|---|---|
.. | ||
parserTests | ||
parserTestsEquivset | ||
phpunit | ||
selenium |