struggle-for-php/sfp-infection-mutator
Composer 安装命令:
composer require struggle-for-php/sfp-infection-mutator
包简介
Mutator for Infection
README 文档
README
Mutators for infection PHP Mutation Testing Framework
Mutators
PregMatchIsNumeric
- Replaces "preg_match('/\A[0-9]+\z/', '-0.12');" with "is_numeric('-0.12');"
UnwrapStrReplace
Install
composer require --dev struggle-for-php/sfp-infection-mutator
Setting at your infection.json
{
"mutators": {
"@default": true,
"Sfp\\Infection\\Mutator\\Regex\\PregMatchIsNumeric": {},
"Sfp\\Infection\\Mutator\\Unwrap\\UnwrapStrReplace": {}
}
}
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-08-11