Skip to content

[DependencyInjection] Trim class & method names (fix #3644) #3646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

[DependencyInjection] Trim class & method names (fix #3644) #3646

wants to merge 2 commits into from

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Mar 20, 2012

Class and method names needs to be trimmed in some cases, see #3644.

Bug fix: no
Feature addition: no
Backwards compatibility break: yes
Symfony2 tests pass: yes (DIC)
Fixes the following tickets: #3644

@fabpot
Copy link
Member

fabpot commented Mar 21, 2012

It does not sounds right to me. The value is everything in the tag. I don't see why we would want to make an exception for some values.

-1

@GromNaN
Copy link
Member Author

GromNaN commented Mar 22, 2012

It's not about trimming a parameter, but the value accepted by Definition as class name or method name.

  • It's more convinient to use
  • No perf impact

The YAML parameters are trimmed when they are not quoted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants