Psalm plugin that makes sure that you don't use too many arguments in functions and methods.
Install this package with Composer:
composer require kafkiansky/reduce-arguments --dev
If you want to use your own threshold, set the
argumentsCountThreshold global variable in
... <globals> <var name="argumentsCountThreshold" type="6" /> </globals> ...
By default, plugin use 5 as threshold.
$ composer test
The MIT License (MIT). See License File for more information.