kafkiansky/reduce-arguments
最新稳定版本:v1.0.0
Composer 安装命令:
composer require kafkiansky/reduce-arguments
包简介
Psalm plugin that makes sure that you don't use too many arguments in functions and methods.
README 文档
README
Contents:
Installation
Install this package with Composer:
composer require kafkiansky/reduce-arguments --dev
Configuration
If you want to use your own threshold, set the argumentsCountThreshold global variable in psalm.xml configuration:
... <globals> <var name="argumentsCountThreshold" type="6" /> </globals> ...
By default, plugin use 5 as threshold.
Testing
$ composer test
License
The MIT License (MIT). See License File for more information.
统计信息
- 总下载量: 4.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-07