Avoid duplicate keys in array literals
Repeated keys in an array literal overwrite earlier entries.
#Metadata
#Why it matters
Silent key replacement hides bugs and can invalidate intended configuration values.
#Remediation
Keep each key unique and merge or rename entries so earlier values are not silently replaced.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/php/php.correctness.duplicate-array-key.rule.yaml.