Mutators for infection PHP Mutation Testing Framework
- Replaces "preg_match('/\A[0-9]+\z/', '-0.12');" with "is_numeric('-0.12');"
composer require --dev struggle-for-php/sfp-infection-mutator
{
"mutators": {
"@default": true,
"Sfp\\Infection\\Mutator\\Regex\\PregMatchIsNumeric": {},
"Sfp\\Infection\\Mutator\\Unwrap\\UnwrapStrReplace": {}
}
}