Skip to content

[WebProfilerBundle] Make Twig bundle an explicit dependency #27417

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
May 30, 2018

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented May 30, 2018

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #26115
License MIT

Let's make Twig bundle an explicit dependency of WebProfilerBundle. That's better for DX and as Silex won't be maintained when 4.2 is out, it's the right time to do so.

@plozmun
Copy link
Contributor

plozmun commented May 30, 2018

Shouldn't it be the WebProfilerBundle composer instead TwigBundle? It's referencing itself

"symfony/http-kernel": "~3.4|~4.0",
"symfony/polyfill-ctype": "~1.8",
"twig/twig": "~1.34|~2.4"
"symfony/twig-bundle": "^3.4.3|^4.0.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

You're looking for troubles by requiring it itself 😅
Should actually be in Symfony/Bundle/WebProfilerBundle/composer.json, not TwigBundle's composer.json.

@fabpot fabpot force-pushed the profiler-twig-dep branch from 0bafa2f to cac37ca Compare May 30, 2018 07:08
@nicolas-grekas nicolas-grekas added this to the next milestone May 30, 2018
@ogizanagi ogizanagi dismissed their stale review May 30, 2018 07:53

deps fixed

@fabpot fabpot merged commit cac37ca into symfony:master May 30, 2018
fabpot added a commit that referenced this pull request May 30, 2018
…dency (fabpot)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[WebProfilerBundle] Make Twig bundle an explicit dependency

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26115
| License       | MIT

Let's make Twig bundle an explicit dependency of WebProfilerBundle. That's better for DX and as Silex won't be maintained when 4.2 is out, it's the right time to do so.

Commits
-------

cac37ca [WebProfilerBundle] made Twig bundle an explicit dependency
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.2 Nov 1, 2018
This was referenced Nov 3, 2018
@fabpot fabpot deleted the profiler-twig-dep branch January 14, 2019 11:01
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.

6 participants