fix: extend Services class with CodeIgniter's BaseService #232
infection.yml
on: pull_request
infection
/
Mutation Testing
25s
Annotations
2 warnings
|
infection / Mutation Testing:
src/RunResolver.php#L154
Escaped Mutant for Mutator "UnwrapTrim":
@@ @@
protected function isInList($value, string $list): bool
{
$list = explode(',', $list);
- return in_array(trim((string) $value), $list, true);
+ return in_array((string) $value, $list, true);
}
/**
* Determines if the $value is one of the increments.
|
|
infection / Mutation Testing:
src/RunResolver.php#L150
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
*
* @param int|string $value
*/
- protected function isInList($value, string $list): bool
+ private function isInList($value, string $list): bool
{
$list = explode(',', $list);
return in_array(trim((string) $value), $list, true);
|