-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] Add support for key-type
in XmlFileLoader
#58035
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
Outdated
Show resolved
Hide resolved
d3f0395
to
fe4500c
Compare
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd
Outdated
Show resolved
Hide resolved
fe4500c
to
bf2b02e
Compare
nicolas-grekas
approved these changes
Aug 20, 2024
fabpot
approved these changes
Aug 27, 2024
Thank you @alexandre-daubois. |
Merged
javiereguiluz
added a commit
to symfony/symfony-docs
that referenced
this pull request
Nov 27, 2024
This PR was merged into the 6.4 branch. Discussion ---------- [Routing] Add example of Requirement enum [Requirement Enum](https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/Routing/Requirement/Requirement.php) values are not cases but constants. So in YAML routing format we must use `!php/const` instead of `!php/enum`. This PR add examples to how to use the "Requirement enum" Can you confirm constants are not supported in XML format for routing ? (if not, maybe we can make PR like symfony/symfony#58035 cc `@alexandre`-daubois) Commits ------- ebfa5e2 [Routing] Add example of Requirement enum
javiereguiluz
added a commit
to symfony/symfony-docs
that referenced
this pull request
Jan 13, 2025
…e (phansys) This PR was merged into the 7.2 branch. Discussion ---------- [Doctrine] Use PDO constants in XML configuration example Follows #20557, in this case for XML. See symfony/symfony#58035. I guess this PR should be merged after merging the 7.1 branch. Commits ------- c880a88 [Doctrine] Use PDO constants in XML configuration example
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Quoting the tests to show how this works:
Makes the following pass: