8000 New lines in service parameters xml · Issue #13137 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
New lines in service parameters xml #13137
Closed
@ghost

Description

I have parameters in the services.xml file:

<parameter key="example.class">Example\Namespace\Class</parameter>

The name of the key and the class name is much longer in my real script.
So my IDE (PHPStorm 8, default settings) breaks it into a new line:

<parameter key="example.class">
    Example\Namespace\Class
</parameter>

But this will not work. It throws an error because the class is not found.
How to use it with new lines in XML service parameters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0