-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
symfony/config does not have ext-xml requirements #24046
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
Comments
@oleg-andreyev thanks for reporting this issue! Just asking: if I use the Config component but never use an XML config file (imagine I only use YAML) ... is this PHP extension still required? Is used internally by the component no matter what? Thanks! |
@javiereguiluz as @xabbuh pointed in PR it's a valid case to use component without XML, so I've removed ext-dom from composer in favor of validation in XmlUtils |
…yev) This PR was merged into the 2.7 branch. Discussion ---------- Added check for ext-dom to XmlUtil::loadFile | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no, minor enhancement to gracefully suggest to install `ext-dom` if missing when trying to use `XmlUtil::loadFile` | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | ? | Fixed tickets | #24046 | License | MIT Commits ------- 2f292c2 #24046 added check for ext-dom to XmlUtil::loadFile
* origin/2.7: #24046 added check for ext-dom to XmlUtil::loadFile
* 2.8: #24046 added check for ext-dom to XmlUtil::loadFile
* 3.3: [DI] Minor fix in dumped code #24046 added check for ext-dom to XmlUtil::loadFile
* 3.4: [3.4][DI] Inline trivial services sync upgrade file for Symfony 4.0 between branches Fix ability to deprecate a config node [DI] Minor fix in dumped code [Console] Display file and line on Exception Fix deprecations regarding core commands registered as services #24046 added check for ext-dom to XmlUtil::loadFile
Uh oh!
There was an error while loading. Please reload this page.
It's possible to install symfony/config without ext-dom, and
\Symfony\Component\Config\Util\XmlUtils
will not workSimilar issue #22676
The text was updated successfully, but these errors were encountered: