symfony / flex

Composer plugin for Symfony
MIT License
4.15k stars 181 forks source link

ContainerConfigurator does not support xml #949

Closed shyim closed 1 year ago

shyim commented 1 year ago

When your project completely bases on XML files for services.xml (or PHP), and you run now a flex script which tries to add something to the services.yaml it explodes with an exception

image

wouterj commented 1 year ago

Hi!

The error says it cannot find the file at the specified location, nothing is said about supporting xml/yaml.

Please use one of the support channels to ask for community support, this issue tracker is meant for bug reports and feature requests.

shyim commented 1 year ago

I know it cannot fine that file. As Symfony allow so many file formats, the ContainerConfigurator should also support these all

xabbuh commented 1 year ago

If this was meant as a bug report, I think you need to provide more details (especially how to reproduce and how not supported XML is related to a YAML file that could not be found).

shyim commented 1 year ago

Updated the description above