Introduces treverse method #117
Annotations
2 warnings
🐘 Test on PHP 8.0:
src/Config.php#L178
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
$keep = $this->traverseArray($current, $callback, $fullKeyPath);
if (!$keep) {
unset($array[$key]);
- continue;
+ break;
}
}
$callback($current, $key, $this, $fullKeyPath);
|
🐘 Test on PHP 8.1:
src/Config.php#L178
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
$keep = $this->traverseArray($current, $callback, $fullKeyPath);
if (!$keep) {
unset($array[$key]);
- continue;
+ break;
}
}
$callback($current, $key, $this, $fullKeyPath);
|