Instead of DefaultSettings.php, we should have config-schema.yaml which for each configuration variable contain the following:
- the type
- the default value
- a merge strategy (optional)
As a first, preliminary step, we could create a partial schema that only contains the bit we need right now, namely, the merge strategies. That schema could be represented as an array returned by a PHP file, to avoid any performance risk.