Skip to content

require the XML PHP extension #23421

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
merged 1 commit into from
Jul 6, 2017
Merged

require the XML PHP extension #23421

merged 1 commit into from
Jul 6, 2017

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jul 6, 2017

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #22676 (comment), symfony/symfony-standard#1099
License MIT
Doc PR

I suggest to either revert #22676 or to be consistent and require the XML extension in all bundles as well as in the symfony/symfony package.

@@ -17,6 +17,7 @@
],
"require": {
"php": ">=5.3.9",
"ext-xml": "*",
Copy link
Member

Choose a reason for hiding this comment

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

This should be removed as DI is an optional dep.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure about this. Which part of the DebugBundle would you use without the DI extension?

Copy link
Member

Choose a reason for hiding this comment

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

Ok, let's keep it

@@ -17,6 +17,7 @@
],
"require": {
"php": ">=5.3.9",
"ext-xml": "*",
Copy link
Member

Choose a reason for hiding this comment

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

I would keep it as using the bundle without DI is probably not a use case anyway.

@@ -17,6 +17,7 @@
],
"require": {
"php": ">=5.3.9",
"ext-xml": "*",
Copy link
Member

Choose a reason for hiding this comment

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

This should be removed as DI is an optional dep.

@@ -17,6 +17,7 @@
],
"require": {
"php": ">=5.3.9",
"ext-xml": "*",
Copy link
Member

Choose a reason for hiding this comment

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

This should be removed as DI is an optional dep.

@Tobion
Copy link
Contributor

Tobion commented Jul 6, 2017

Why exclude TwigBundle and WebProfilerBundle?

@Tobion
Copy link
Contributor

Tobion commented Jul 6, 2017

Nvm, meant to be optional apparently.

@fabpot
Copy link
Member

fabpot commented Jul 6, 2017

@Tobion TwigBundle and WebProfilerBundle are used by Silex without the Symfony container.

@fabpot
Copy link
Member

fabpot commented Jul 6, 2017

Thank you @xabbuh.

@fabpot fabpot merged commit 032e654 into symfony:2.7 Jul 6, 2017
fabpot added a commit that referenced this pull request Jul 6, 2017
This PR was merged into the 2.7 branch.

Discussion
----------

require the XML PHP extension

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #22676 (comment), symfony/symfony-standard#1099
| License       | MIT
| Doc PR        |

I suggest to either revert #22676 or to be consistent and require the XML extension in all bundles as well as in the `symfony/symfony` package.

Commits
-------

032e654 require the XML PHP extension
@xabbuh xabbuh deleted the pr-22676 branch July 6, 2017 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants