Introduce more real constants #247
Annotations
2 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run infection tests:
src/AntiSpamBundle.php#L76
Escaped Mutant for Mutator "Foreach_":
@@ @@
foreach (array_keys(self::CONFIG_KEY_TO_VALIDATOR_MAPPING) as $key) {
if (array_key_exists($key, $profile)) {
$newConfig = [];
- foreach ($profile[$key] as $param => $value) {
+ foreach ([] as $param => $value) {
$newConfig[lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $param))))] = $value;
}
$profile[$key] = $newConfig;
|
Loading