8000 [DependencyInjection] Test constants by gnugat · Pull Request #8663 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DependencyInjection] Test constants #8663

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 4 commits into from
Closed

[DependencyInjection] Test constants #8663

wants to merge 4 commits into from

Conversation

gnugat
Copy link
Contributor
@gnugat gnugat commented Aug 4, 2013
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

Added a test for constant support in XML configuration files.
Related PR: #8661

Loïc Chardonnet added 3 commits August 4, 2013 11:39
In order to make more readable future diffs, expected values have been
indented.

This means that if someone adds a new value at the end of the array, the
diff will only print the new line with only the new addition, instead of
of deletion of the whole array and addition with the whole array with
the new value.
Added a test with a fixture for parameters with 'constant' as type.
'float' => 1.3,
1000.3,
'a string',
array('foo', 'bar',)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not what I had in mind. I was thinking about adding a comma at the end of the line: array('foo', 'bar'),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, I totally missed these two. I just fixed it, if it's alright with you I'll squash the last two commits into the first one. Or I could squash everything into one commit.

@fabpot fabpot closed this in 5cbfe30 Aug 8, 2013
@gnugat gnugat deleted the dic-test-constants branch August 8, 2013 12:26
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
0