Go to file
Daimona Eaytoy 71730f7d44 Warn if a function has been given too many parameters
While this is not as important as throwing for too few parameters, IMHO
it's still important to fail in this case. Mostly because if a function
receives too many parameters, chances are that who wrote the filter
didn't do that intendedly, and thus there may be a hidden bug.
Bonus: fix a few docblocks.

Bug: T230803
Change-Id: Iac2931f17b50ace8c8f4c2faa44b3f54ca134c54
2019-08-26 20:29:49 +02:00
.phan Migrate to new phan 2019-03-16 09:41:23 +00:00
db_patches Drop afl_log_id 2019-06-28 17:55:55 +00:00
i18n Warn if a function has been given too many parameters 2019-08-26 20:29:49 +02:00
includes Warn if a function has been given too many parameters 2019-08-26 20:29:49 +02:00
maintenance Don't hardcode blockautopromote duration 2019-08-24 11:40:11 +02:00
modules Merge "Restyle edit box dimensions" 2019-08-20 16:33:16 +00:00
tests Warn if a function has been given too many parameters 2019-08-26 20:29:49 +02:00
.eslintrc.json build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 15:44:45 -07:00
.gitignore build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 15:44:45 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml Merge "Don't use wgLang and wgContLang" 2019-03-17 09:53:16 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Add aliases for Serbian language 2018-12-24 02:16:55 +00:00
abusefilter.tables.pg.sql Drop afl_log_id 2019-06-28 17:55:55 +00:00
abusefilter.tables.sql Drop afl_log_id 2019-06-28 17:55:55 +00:00
abusefilter.tables.sqlite.sql Drop afl_log_id 2019-06-28 17:55:55 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1 2019-07-10 15:30:52 +00:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Add a new class for the CachingParser's AST 2019-08-25 17:29:16 +00:00
Gruntfile.js build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-06 13:56:54 -07:00
hooks.txt Add a hook to determine whether the current action should be filtered 2019-08-13 10:31:29 +02:00
package-lock.json build: Updating eslint-utils to 1.4.2 2019-08-24 04:08:38 +00:00
package.json build: Update npm dependencies 2019-07-31 17:29:00 +00:00