@Adnan-cds pointed out that the wikimedia/composer-merge-plugin is potentially not being actively maintained.
See:
wikimedia/composer-merge-plugin#253
When trying to install on php 8.4 he ran into problems with the wikimedia/composer-merge-plugin project.