Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Config] Deprecated XML format of bundle configuration #22870

Closed
@lyrixx

Description

@lyrixx
Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? yes
Symfony version 3.4

At the moment, a bundle can be configured in PHP, YAML and XML.
Here, I'm talking only about the bundle configuration. Not about routing
or services. It means I only refer to the app/config/config.xml file.

So basically, I'm talking about this configuration.

I made a quick poll around me (SensioLabs) and nobody have ever seen a
configuration in XML. Some were not even aware that was possible.

Therefore I would like to deprecate and remove the support of XML for the
bundle configuration (only).

YAML is de-facto the standard for it. And the PHP way is mandatory to tweak the
container in a bundle extension, or a compile pass.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions